3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = 3 + "15%" + "$s25"; var_dump($x);
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/NP3mG on line 3 Notice: Undefined variable: s25 in /in/NP3mG on line 3 Warning: A non-numeric value encountered in /in/NP3mG on line 3 int(18)
Output for 5.0.4 - 7.0.14
Notice: Undefined variable: s25 in /in/NP3mG on line 3 int(18)
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: s25 in /in/NP3mG on line 3 int(18)