3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(b3); var_dump((int) '3'); var_dump((integer) '3'); var_dump((int) '1000'); var_dump((integer) '1000');
Output for 7.2.0
Warning: Use of undefined constant b3 - assumed 'b3' (this will throw an Error in a future version of PHP) in /in/58ifs on line 3 string(2) "b3" int(3) int(3) int(1000) int(1000)
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant b3 - assumed 'b3' in /in/58ifs on line 3 string(2) "b3" int(3) int(3) int(1000) int(1000)