3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(~0); $item = new stdclass; var_dump($item->propertyName); $array = (array) $item; var_dump($array['index']); var_dump($variable);
Output for 5.3.0 - 7.1.0
Notice: Undefined property: stdClass::$propertyName in /in/fURWI on line 7 NULL Notice: Undefined index: index in /in/fURWI on line 11 NULL Notice: Undefined variable: variable in /in/fURWI on line 13 NULL
Output for 5.2.6 - 5.2.17
Notice: Undefined property: stdClass::$propertyName in /in/fURWI on line 7 NULL Notice: Undefined index: index in /in/fURWI on line 11 NULL Notice: Undefined variable: variable in /in/fURWI on line 13 NULL
Output for 5.0.4 - 5.2.5
Notice: Undefined property: stdClass::$propertyName in /in/fURWI on line 7 NULL Notice: Undefined index: index in /in/fURWI on line 11 NULL Notice: Undefined variable: variable in /in/fURWI on line 13 NULL
Output for 5.0.0 - 5.0.3
Notice: Undefined property: stdClass::$propertyName in /in/fURWI on line 7 NULL Notice: Undefined index: index in /in/fURWI on line 11 NULL Notice: Undefined variable: variable in /in/fURWI on line 13 NULL
Output for 4.3.0 - 4.4.9
Notice: Undefined property: propertyName in /in/fURWI on line 7 NULL Notice: Undefined index: index in /in/fURWI on line 11 NULL Notice: Undefined variable: variable in /in/fURWI on line 13 NULL