3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(78+'456A'); var_dump(78-'456A'); var_dump(78<'456A'); var_dump(78>'456A'); var_dump('78'<'456A'); var_dump('78'>'456A');
based on OIAOk
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/suUJN on line 2 int(534) Notice: A non well formed numeric value encountered in /in/suUJN on line 3 int(-378) bool(true) bool(false) bool(false) bool(true)
Output for 5.3.19 - 7.0.20
int(534) int(-378) bool(true) bool(false) bool(false) bool(true)