3v4l.org

run code in 200+ 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 - 7.2.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 - 7.0.20
int(1) string(1) "1" bool(true)