3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo PHP_INT_SIZE, PHP_EOL, floatval(str_pad('1', 100, '0'));
Output for 5.2.2 - 7.1.0
8 1.0E+99
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.2.1
8 1E+99
Output for 4.3.10 - 4.3.11, 5.0.2 - 5.0.4
Notice: Use of undefined constant PHP_INT_SIZE - assumed 'PHP_INT_SIZE' in /in/08KgK on line 2 PHP_INT_SIZE 1E+99
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_INT_SIZE - assumed 'PHP_INT_SIZE' in /in/08KgK on line 2 PHP_INT_SIZE Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/08KgK on line 2 PHP_EOL1E+99