3v4l.org

run code in 200+ 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 - 7.2.0
123 < 456A 456A < 78 45678 < 123