3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bigbig = []; foreach (range(0, 100000) as $_) { $bigbig[] = new StdClass(); } $start = microtime(true); if ($bigbig) { echo "bigbig\n"; } echo microtime(true) - $start;
Output for 7.3.1
bigbig 2.4795532226562E-5
Output for 7.3.0
bigbig 2.5033950805664E-5
Output for 7.0.20, 7.2.13
bigbig 2.8848648071289E-5
Output for 5.6.28, 7.1.6, 7.2.11 - 7.2.12
bigbig 3.0994415283203E-5
Output for 7.2.3, 7.2.10
bigbig 3.3855438232422E-5
Output for 7.2.9
bigbig 3.6001205444336E-5
Output for 7.1.7, 7.2.8
bigbig 3.0040740966797E-5
Output for 7.2.2, 7.2.7
bigbig 3.1948089599609E-5
Output for 7.2.6
bigbig 2.3126602172852E-5
Output for 7.2.5
bigbig 2.2172927856445E-5
Output for 7.2.4
bigbig 2.598762512207E-5
Output for 7.2.1
bigbig 3.504753112793E-5
Output for 7.2.0
bigbig 3.2901763916016E-5
Output for 7.1.25
bigbig 3.3140182495117E-5
Output for 7.1.5
bigbig 2.0980834960938E-5
Output for 7.1.0
bigbig 2.7894973754883E-5
Output for 7.0.6
bigbig 5.9127807617188E-5
Output for 7.0.5
bigbig 0.00012707710266113
Output for 5.5.22, 7.0.4
bigbig 6.0081481933594E-5
Output for 5.5.21, 5.5.27, 5.6.3, 5.6.18, 7.0.3
bigbig 6.7949295043945E-5
Output for 7.0.2
bigbig 0.00015091896057129
Output for 5.5.9, 7.0.1
bigbig 6.1988830566406E-5
Output for 7.0.0
bigbig 6.6995620727539E-5
Output for 5.6.21
bigbig 8.2015991210938E-5
Output for 5.6.6, 5.6.20
bigbig 7.5101852416992E-5
Output for 5.6.19
bigbig 0.00016403198242188
Output for 5.5.11, 5.5.20, 5.5.30, 5.6.17
bigbig 6.6041946411133E-5
Output for 5.5.6, 5.6.16
bigbig 7.3909759521484E-5
Output for 5.6.15
bigbig 0.00016093254089355
Output for 5.6.14
bigbig 9.1075897216797E-5
Output for 5.6.13
bigbig 7.4148178100586E-5
Output for 5.6.12
bigbig 0.0001521110534668
Output for 5.6.11
bigbig 7.7009201049805E-5
Output for 5.5.34, 5.6.10
bigbig 6.8902969360352E-5
Output for 5.6.9
bigbig 0.00014710426330566
Output for 5.6.8
bigbig 0.00013899803161621
Output for 5.6.7
bigbig 0.0001370906829834
Output for 5.6.5
bigbig 8.7976455688477E-5
Output for 5.6.4
bigbig 0.00016188621520996
Output for 5.6.2
bigbig 6.8187713623047E-5
Output for 5.6.1
bigbig 8.9883804321289E-5
Output for 5.6.0
bigbig 8.4877014160156E-5
Output for 5.5.35
bigbig 5.8174133300781E-5
Output for 5.5.33
bigbig 0.00014591217041016
Output for 5.5.32
bigbig 5.8889389038086E-5
Output for 5.5.31
bigbig 0.00015020370483398
Output for 5.5.29
bigbig 0.0001528263092041
Output for 5.5.28
bigbig 0.00016498565673828
Output for 5.5.26
bigbig 0.00013303756713867
Output for 5.5.25
bigbig 0.00014281272888184
Output for 5.5.24
bigbig 8.1062316894531E-5
Output for 5.5.4, 5.5.23
bigbig 0.00014400482177734
Output for 5.5.19
bigbig 0.00013399124145508
Output for 5.5.18
bigbig 8.6069107055664E-5
Output for 5.5.16
bigbig 6.2942504882812E-5
Output for 5.5.15
bigbig 8.0108642578125E-5
Output for 5.5.10, 5.5.14
bigbig 7.0095062255859E-5
Output for 5.5.13
bigbig 0.00017309188842773
Output for 5.5.12
bigbig 0.00014114379882812
Output for 5.5.8
bigbig 0.0001378059387207
Output for 5.5.7
bigbig 6.103515625E-5
Output for 5.5.5
bigbig 7.4863433837891E-5
Output for 5.5.0, 5.5.3
bigbig 6.9141387939453E-5
Output for 5.5.2
bigbig 0.00012898445129395
Output for 5.5.1
bigbig 0.00014185905456543

preferences:
60.99 ms | 498 KiB | 5 Q