3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array(); $test[0] = ; $test_count = count($test[0]); echo $test_count; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.5.120.0030.06717.32
5.5.110.0070.08017.36
5.5.100.0100.06017.34
5.5.90.0100.07717.30
5.5.80.0030.05717.17
5.5.70.0030.08317.23
5.5.60.0070.04017.23
5.5.50.0100.05317.32
5.5.40.0130.04017.16
5.5.30.0070.07017.27
5.5.20.0130.07017.16
5.5.10.0070.07717.16
5.5.00.0100.06717.18
5.4.280.0070.06719.03
5.4.270.0030.07719.05
5.4.260.0100.04318.88
5.4.250.0100.06019.11
5.4.240.0000.08019.08
5.4.230.0070.08019.05
5.4.220.0030.07719.00
5.4.210.0070.04719.05
5.4.200.0070.06318.88
5.4.190.0070.07719.00
5.4.180.0070.07719.04
5.4.170.0070.03719.13
5.4.160.0100.07319.04
5.4.150.0070.03719.02
5.4.140.0030.04016.41
5.4.130.0070.07016.40
5.4.120.0030.03716.59
5.4.110.0100.05716.48
5.4.100.0130.06716.46
5.4.90.0070.04016.43
5.4.80.0130.04316.47
5.4.70.0070.03716.46
5.4.60.0100.03716.42
5.4.50.0000.04016.52
5.4.40.0070.05716.43
5.4.30.0070.06716.27
5.4.20.0070.06016.38
5.4.10.0000.08316.52
5.4.00.0030.07015.83
5.3.280.0130.05714.56
5.3.270.0030.05014.46
5.3.260.0000.05714.56
5.3.250.0070.03714.38
5.3.240.0170.06714.39
5.3.230.0070.05014.56
5.3.220.0200.05314.56
5.3.210.0070.08014.51
5.3.200.0070.07714.50
5.3.190.0130.03714.48
5.3.180.0070.04714.39
5.3.170.0000.08314.42
5.3.160.0030.07314.48
5.3.150.0130.06714.38
5.3.140.0100.05314.49
5.3.130.0030.08014.52
5.3.120.0030.08014.50
5.3.110.0030.07014.37
5.3.100.0030.05313.81
5.3.90.0070.04714.03
5.3.80.0100.07013.96
5.3.70.0100.07313.95
5.3.60.0130.06313.96
5.3.50.0170.06713.90
5.3.40.0030.08013.89
5.3.30.0000.07713.88
5.3.20.0130.04313.78
5.3.10.0030.07313.59
5.3.00.0030.05013.39
5.2.170.0070.06011.14
5.2.160.0070.05310.93
5.2.150.0000.05710.98
5.2.140.0030.06310.92
5.2.130.0000.06311.09
5.2.120.0030.04011.00
5.2.110.0030.05311.02
5.2.100.0070.03711.02
5.2.90.0000.04011.07
5.2.80.0130.02711.07
5.2.70.0030.06311.09
5.2.60.0030.06311.00
5.2.50.0030.06710.82
5.2.40.0000.04710.97
5.2.30.0100.05710.79
5.2.20.0030.04310.79
5.2.10.0130.06010.81
5.2.00.0070.05710.75
5.1.60.0100.03710.02
5.1.50.0000.05010.03
5.1.40.0100.04310.12
5.1.30.0070.05310.25
5.1.20.0100.05310.36
5.1.10.0100.05310.21
5.1.00.0070.05010.13
5.0.50.0030.0378.86
5.0.40.0030.0438.86
5.0.30.0030.0508.86
5.0.20.0000.0308.86
5.0.10.0000.0408.86
5.0.00.0170.0538.86
4.4.90.0070.0308.86
4.4.80.0030.0208.86
4.4.70.0070.0208.86
4.4.60.0000.0408.86
4.4.50.0030.0338.86
4.4.40.0070.0508.86
4.4.30.0000.0378.86
4.4.20.0000.0378.86
4.4.10.0030.0378.86
4.4.00.0030.0508.86
4.3.110.0070.0238.86
4.3.100.0030.0138.86
4.3.90.0000.0378.86
4.3.80.0000.0578.86
4.3.70.0000.0408.86
4.3.60.0000.0338.86
4.3.50.0000.0278.86
4.3.40.0000.0538.86
4.3.30.0000.0238.86
4.3.20.0000.0408.86
4.3.10.0030.0308.86
4.3.00.0000.0378.86

preferences:
142.72 ms | 1394 KiB | 7 Q