3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ('php' == TRUE) { echo "$string rules!"; }
based on EvBKO
Output for 5.0.4 - 7.2.6
Notice: Undefined variable: string in /in/2932u on line 4 rules!
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: string in /in/2932u on line 4 rules!