3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo floatval("1.".str_repeat("1", 300000));
based on NO3ia
Output for 7.0.0 - 7.2.0
1.1111111111111
Output for hhvm-3.11.1 - 3.17.3
Fatal error: Uncaught Error: Balloc() allocation exceeds list boundary in /in/sa9fI:2 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.4.0 - 5.6.30, hhvm-3.10.1
Fatal error: Balloc() allocation exceeds list boundary in /in/sa9fI on line 2
Process exited with code 255.