3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $obj = new StdClass(); $obj->data .= 'neat'; var_dump($obj);
Output for 5.5.0 - 7.1.0
Notice: Undefined property: stdClass::$data in /in/AOAYW on line 5 object(stdClass)#1 (1) { ["data"]=> string(4) "neat" }
Output for 5.0.0 - 5.4.45
object(stdClass)#1 (1) { ["data"]=> string(4) "neat" }
Output for 4.3.0 - 4.4.9
Notice: Undefined property: data in /in/AOAYW on line 5 object(stdClass)(1) { ["data"]=> string(4) "neat" }