3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $te = (object) array( 'tset' => 'adfda', 'daf' => 1, 'dafadf' => 'adfda' ); var_dump($te);
Output for 5.0.0 - 7.1.0
object(stdClass)#1 (3) { ["tset"]=> string(5) "adfda" ["daf"]=> int(1) ["dafadf"]=> string(5) "adfda" }
Output for 4.3.0 - 4.4.9
object(stdClass)(3) { ["tset"]=> string(5) "adfda" ["daf"]=> int(1) ["dafadf"]=> string(5) "adfda" }