fork download
  1. <?php
  2.  
  3. $arrayObject = new ArrayObject($a = []);
  4.  
  5. var_dump($a); // Imprime: array(0) {}
  6.  
  7. is_file($b = 'index.php');
  8.  
  9. print_r($b); // Imprime: "index.php";
  10.  
  11. $object = new stdClass($c = []);
  12.  
  13. print_r($c);
Success #stdin #stdout #stderr 0.02s 52472KB
stdin
Standard input is empty
stdout
array(0) {
}
index.php
stderr
PHP Notice:  Undefined variable: c in /home/XXA94h/prog.php on line 13