3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (!function_exists('curl_version')) { function curl_version() { return array( 'version' => 'test', ); } } echo var_dump((object)curl_version());
Output for 5.0.0 - 7.1.0
object(stdClass)#1 (1) { ["version"]=> string(4) "test" }
Output for 4.3.0 - 4.4.9
object(stdClass)(1) { ["version"]=> string(4) "test" }