3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test1 = "Test".NULL."ing"; $test2 = "Testing"; if(strcmp($test1, $test2) == 0){ echo "The strings are the same"; } else{ echo "They are different."; } if(strcmp($test2, $test1) == 0){ echo "The strings are the same"; } else{ echo "They are different."; }
Output for 4.3.0 - 7.1.0
The strings are the sameThe strings are the same