3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if ("123" < "456A") { print "123 < 456A\n"; } if ("456A" < "78") { print "456A < 78\n"; print (int) "456A"; } if ("78" < "123") { print "78 < 123\n"; }
based on BtVfX
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
123 < 456A 456A < 78 45678 < 123