3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php strtr("a", array("a" => "b", "c" => new stdclass));
Output for 4.3.0 - 5.4.11, 7.0.0 - 7.1.0
Output for 5.4.12 - 5.6.28
Catchable fatal error: Object of class stdClass could not be converted to string in /in/3oflt on line 2
Process exited with code 255.