3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo number_format("0xBEEF");
Output for 7.0.0 - 7.1.0
Notice: A non well formed numeric value encountered in /in/6EhO0 on line 2 0
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.2, 5.3.0 - 5.6.28
48,879
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.2.17
0