3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bigbig = []; foreach (range(0, 100000) as $_) { $bigbig[] = new StdClass(); } $start = microtime(true); (bool)$bigbig; echo microtime(true) - $start;
Output for 7.1.15, 7.1.33, 7.3.7, 7.3.11, 7.4.0
1.9073486328125E-6
Output for 7.0.16, 7.0.26, 7.0.32, 7.1.4, 7.2.17, 7.2.20, 7.2.22, 7.2.24, 7.3.0, 7.3.9, 7.3.12
1.0013580322266E-5
Output for 7.3.10
1.2874603271484E-5
Output for 7.0.13, 7.0.25, 7.1.2, 7.1.7, 7.1.19, 7.1.32, 7.2.10, 7.3.8
8.1062316894531E-6
Output for 7.3.6
1.8119812011719E-5
Output for 7.0.6 - 7.0.7, 7.0.15, 7.0.18, 7.0.31, 7.0.33, 7.1.6, 7.1.8 - 7.1.9, 7.1.11, 7.1.13, 7.1.18, 7.1.22 - 7.1.25, 7.1.29, 7.1.31, 7.3.3, 7.3.5
9.5367431640625E-7
Output for 7.0.12, 7.0.23, 7.1.0, 7.1.28, 7.2.5, 7.2.12, 7.2.18, 7.3.4
9.0599060058594E-6
Output for 7.0.0, 7.0.17, 7.2.1, 7.2.23, 7.3.2
8.8214874267578E-6
Output for 7.3.1
2.1457672119141E-6
Output for 7.1.26, 7.2.25
1.0967254638672E-5
Output for 7.0.2 - 7.0.3, 7.0.9, 7.0.28, 7.0.30, 7.1.10, 7.1.20, 7.2.2, 7.2.21
7.8678131103516E-6
Output for 7.0.1, 7.0.10, 7.0.19 - 7.0.22, 7.1.14, 7.1.21, 7.2.4, 7.2.19
7.1525573730469E-6
Output for 7.0.24, 7.1.5, 7.2.13
6.9141387939453E-6
Output for 7.2.11
9.7751617431641E-6
Output for 7.2.7 - 7.2.9
5.0067901611328E-6
Output for 7.2.6
1.3113021850586E-5
Output for 7.1.17, 7.2.0, 7.2.3
5.9604644775391E-6
Output for 7.0.8, 7.1.16, 7.1.30
0
Output for 7.0.11, 7.0.14, 7.0.27, 7.0.29, 7.1.3, 7.1.12, 7.1.27
1.1920928955078E-6
Output for 7.1.1
0.00059795379638672
Output for 7.0.5
0.013405084609985
Output for 7.0.4
6.1988830566406E-6
Output for 5.6.38
0.015768051147461
Output for 5.6.37
0.019881963729858
Output for 5.6.36
0.015254020690918
Output for 5.6.35
0.017035961151123
Output for 5.6.34
0.015779972076416
Output for 5.6.33
0.01666784286499
Output for 5.6.32
0.016204118728638
Output for 5.6.31
0.015850782394409
Output for 5.6.30
0.018234014511108
Output for 5.6.29
0.02009105682373
Output for 5.6.28
0.017420053482056
Output for 5.6.27
0.01512885093689
Output for 5.6.26
0.020132064819336
Output for 5.6.25
0.018965005874634
Output for 5.6.24
0.015181064605713
Output for 5.6.23
0.015624046325684
Output for 5.6.22
0.017866134643555
Output for 5.6.21
0.016966104507446
Output for 5.6.20
0.015244960784912
Output for 5.6.19
0.016565084457397
Output for 5.6.18
0.016263008117676
Output for 5.6.17
0.01556396484375
Output for 5.6.16
0.01553201675415
Output for 5.6.15
0.01565408706665
Output for 5.6.14
0.019863128662109
Output for 5.6.13
0.016008138656616
Output for 5.6.12
0.016247034072876
Output for 5.6.11
0.015852928161621
Output for 5.6.10
0.015526056289673
Output for 5.6.9
0.015132904052734
Output for 5.6.8
0.014425039291382
Output for 5.6.7
0.016228914260864
Output for 5.6.6
0.014456987380981
Output for 5.6.5
0.016768932342529
Output for 5.6.4
0.028291940689087
Output for 5.6.3
0.016139030456543
Output for 5.6.2
0.017058849334717
Output for 5.6.1
0.015000820159912
Output for 5.6.0
0.017411947250366
Output for 5.5.38
0.01627516746521
Output for 5.5.37
0.015379190444946
Output for 5.5.36
0.01836109161377
Output for 5.5.35
0.01700496673584
Output for 5.5.34
0.018374919891357
Output for 5.5.33
0.015823841094971
Output for 5.5.32
0.015064001083374
Output for 5.5.31
0.015682935714722
Output for 5.5.30
0.016937017440796
Output for 5.5.29
0.015886068344116
Output for 5.5.28
0.016450166702271
Output for 5.5.27
0.015635967254639
Output for 5.5.26
0.015442132949829
Output for 5.5.25
0.014217138290405
Output for 5.5.24
0.014557838439941
Output for 5.5.23
0.016417980194092
Output for 5.5.22
0.015381097793579
Output for 5.5.21
0.015876054763794
Output for 5.5.20
0.016624212265015
Output for 5.5.19
0.017957925796509
Output for 5.5.18
0.015215158462524
Output for 5.5.17
0.019536018371582
Output for 5.5.16
0.016073942184448
Output for 5.5.15
0.015319108963013
Output for 5.5.14
0.016806125640869
Output for 5.5.13
0.014871120452881
Output for 5.5.12
0.020471096038818
Output for 5.5.11
0.022357225418091
Output for 5.5.10
0.015285968780518
Output for 5.5.9
0.017782926559448
Output for 5.5.8
0.017529010772705
Output for 5.5.7
0.016436100006104
Output for 5.5.6
0.016910076141357
Output for 5.5.5
0.015866994857788
Output for 5.5.4
0.016055822372437
Output for 5.5.3
0.017586946487427
Output for 5.5.2
0.016384840011597
Output for 5.5.1
0.015991926193237
Output for 5.5.0
0.015374183654785

preferences:
57.72 ms | 548 KiB | 5 Q