3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i=0;$i<1000;$i+=25) { print log($i+1, 5) . PHP_EOL; }
based on nTKkU
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.0
0 2.0243691992405 2.4429806222086 2.6908359165819 2.8675356043163 3.0049509021675 3.1174112390747 3.2126023346986 3.2951286079986 3.3679677590509 3.4331569403477 3.4921514040992 3.5460269828722 3.5956015057547 3.641511224625 3.6842608823735 3.7242576311884 3.7618346750094 3.7972681594531 3.8307894989915 3.8625945450004 3.8928505190126 3.9217013346027 3.9492717374123 3.9756705649229 4.0009933414339 4.0253243645855 4.048738398481 4.071302059192 4.0930749573693 4.1141106473315 4.1344574206777 4.1541589740214 4.1732549740691 4.1917815384193 4.2097716467294 4.2272554940121 4.2442607955688 4.2608130512933 4.2769357756725
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 0PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 2.0243691992405PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 2.4429806222086PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 2.6908359165819PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 2.8675356043163PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.0049509021675PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.1174112390747PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.2126023346986PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.2951286079986PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.3679677590509PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.4331569403477PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.4921514040992PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.5460269828722PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.5956015057547PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.641511224625PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.6842608823735PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.7242576311884PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.7618346750094PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.7972681594531PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.8307894989915PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.8625945450004PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.8928505190126PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.9217013346027PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.9492717374123PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 3.9756705649229PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.0009933414339PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.0253243645855PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.048738398481PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.071302059192PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.0930749573693PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.1141106473315PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.1344574206777PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.1541589740214PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.1732549740691PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.1917815384193PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.2097716467294PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.2272554940121PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.2442607955688PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.2608130512933PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/p7Wp2 on line 4 4.2769357756725PHP_EOL