<?php
class Foo { public $bar; }
$blanks = array("", " ", FALSE, TRUE, array(), NULL, "0", 0, 0.0, new stdClass, new Foo->bar, "\0");
foreach($blanks as $blank){ var_dump($blank); }
- Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.30, 5.6.8 - 5.6.14
- Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ')' in /in/stMbT on line 5
Process exited with code 255.
preferences:
196.82 ms | 1395 KiB | 66 Q