3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if ("123" < "456A") { print "123 < 456A"; } if ("456A" < "78") { print "456A < 78"; } if ("78" < "123") { print "78 < 123"; }
based on IA6Ke
Output for 4.3.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
123 < 456A456A < 7878 < 123