3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = ""; $a = "userinput"; // This was passed as a command line argument to the script so it can be changed. if (!empty($a)) { // nothing here } if (!empty($value)) { print "Goodbye"; } // Can the value of $a on line 4 be altered in order to print Goodbye?
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.28 - 7.3.1