3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(123+'456A'); var_dump(123-'456A');
based on n5dnQ
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/H9ZW9 on line 2 int(579) Notice: A non well formed numeric value encountered in /in/H9ZW9 on line 3 int(-333)
Output for 5.3.19 - 7.0.20
int(579) int(-333)