3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $incoming = "0;--delete from users"; $real = "1"; $incoming = $incoming + 1; var_dump($incoming); var_dump($real); var_dump($incoming == $real);
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/UQDv4 on line 4 int(1) string(1) "1" bool(true)
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.14
int(1) string(1) "1" bool(true)