3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo($test){ echo $test; } foo(isset($test) ? 'set' : 'not set'); $test = 'foo'; foo(isset($test) ? 'set foo' : 'not set foo');
Output for 4.3.0 - 7.2.6
not setset foo