3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo=''; $foo[]='test'; print_r($foo);

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)
8.4.10.0160.00319.65
8.3.140.0090.00917.08
8.3.130.0060.00318.71
8.3.120.0040.01120.73
8.3.110.0040.00416.88
8.3.100.0060.00316.58
8.3.90.0030.00626.77
8.3.80.0060.00316.88
8.3.70.0120.00618.41
8.3.60.0140.00018.43
8.3.50.0130.00317.03
8.3.40.0100.01018.57
8.3.30.0070.01418.80
8.3.20.0070.00021.94
8.3.10.0000.00820.40
8.3.00.0080.00019.24
8.2.260.0090.00916.68
8.2.250.0040.00416.70
8.2.240.0080.00816.83
8.2.230.0160.00620.94
8.2.220.0070.00337.54
8.2.210.0180.00026.77
8.2.200.0070.00316.88
8.2.190.0090.00618.66
8.2.180.0120.00325.92
8.2.170.0070.01418.91
8.2.160.0100.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0000.00826.16
8.2.120.0000.00821.07
8.2.110.0060.00322.23
8.2.100.0030.00917.65
8.2.90.0100.00019.22
8.2.80.0000.00817.97
8.2.70.0050.00317.75
8.2.60.0000.00917.50
8.2.50.0090.00017.50
8.2.40.0090.00017.75
8.2.30.0030.00517.97
8.2.20.0070.00018.10
8.2.10.0000.00719.48
8.2.00.0040.00418.04
8.1.310.0080.00016.04
8.1.300.0070.01018.29
8.1.290.0060.00330.84
8.1.280.0060.00925.92
8.1.270.0040.00424.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.83
8.1.230.0040.00817.89
8.1.220.0050.00317.76
8.1.210.0060.00318.77
8.1.200.0000.00917.36
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0030.00518.55
8.1.160.0070.00022.01
8.1.150.0000.00718.82
8.1.140.0040.00420.20
8.1.130.0000.00817.39
8.1.120.0000.00717.35
8.1.110.0030.00517.27
8.1.100.0040.00417.40
8.1.90.0040.00417.39
8.1.80.0000.00817.24
8.1.70.0000.00817.37
8.1.60.0060.00317.50
8.1.50.0050.00317.59
8.1.40.0040.00417.41
8.1.30.0030.00617.67
8.1.20.0050.00317.54
8.1.10.0000.00817.58
8.1.00.0030.00617.51
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00818.38
8.0.270.0040.00416.80
8.0.260.0050.00216.73
8.0.250.0030.00317.00
8.0.240.0030.00316.99
8.0.230.0070.00016.84
8.0.220.0040.00416.80
8.0.210.0070.00016.81
8.0.200.0000.00716.93
8.0.190.0040.00416.92
8.0.180.0000.01116.79
8.0.170.0080.00016.88
8.0.160.0000.00716.81
8.0.150.0020.00516.82
8.0.140.0070.00016.82
8.0.130.0030.00313.30
8.0.120.0000.00716.83
8.0.110.0070.00016.79
8.0.100.0090.00016.93
8.0.90.0040.00416.84
8.0.80.0070.01416.93
8.0.70.0000.00716.88
8.0.60.0040.00416.90
8.0.50.0050.00216.90
8.0.30.0080.01116.98
8.0.20.0140.00516.93
8.0.10.0070.01417.01
8.0.00.0120.01116.71
7.4.330.0000.00415.55
7.4.320.0040.00416.46
7.4.300.0060.00016.58
7.4.290.0050.00316.55
7.4.280.0030.00316.61
7.4.270.0030.00616.57
7.4.260.0000.00716.34
7.4.250.0030.00316.55
7.4.240.0000.00716.61
7.4.230.0000.00816.53
7.4.220.0000.00716.34
7.4.210.0070.00816.52
7.4.200.0070.00016.50
7.4.160.0090.00716.51
7.4.150.0100.01016.61
7.4.140.0070.01017.42
7.4.130.0100.01016.55
7.4.120.0160.01016.46
7.4.110.0150.01116.45
7.4.100.0130.01216.52
7.4.90.0130.01016.46
7.4.80.0150.01016.92
7.4.70.0160.00716.45
7.4.60.0160.00716.43
7.4.50.0130.01116.41
7.4.40.0130.01116.34
7.4.30.0110.01216.47
7.4.20.0170.01916.40
7.4.10.0130.01215.94
7.4.00.0110.01015.89
7.3.330.0030.00313.14
7.3.320.0030.00313.13
7.3.310.0070.00016.18
7.3.300.0030.00316.25
7.3.290.0000.00716.25
7.3.280.0050.00916.26
7.3.270.0110.00616.20
7.3.260.0090.01016.37
7.3.250.0150.01116.42
7.3.240.0120.01116.37
7.3.230.0150.01016.35
7.3.220.0160.00816.30
7.3.210.0150.00816.31
7.3.200.0130.01016.13
7.3.190.0140.01016.35
7.3.180.0180.00716.32
7.3.170.0150.00816.25
7.3.160.0170.00816.27
7.3.150.0150.00916.21
7.3.140.0160.00816.30
7.3.130.0100.01415.70
7.3.120.0130.00715.62
7.3.110.0110.01015.60
7.3.100.0110.00915.56
7.3.90.0100.00915.62
7.3.80.0120.00815.53
7.3.70.0080.01015.53
7.3.60.0100.00815.66
7.3.50.0100.00815.48
7.3.40.0090.00915.53
7.3.30.0080.01115.46
7.3.20.0610.00615.52
7.3.10.0240.00715.60
7.3.00.0210.00815.55
7.2.340.0160.01216.43
7.2.330.0130.01016.34
7.2.320.0180.00716.26
7.2.310.0140.01116.33
7.2.300.0150.00916.41
7.2.290.0140.01016.38
7.2.280.0160.00716.28
7.2.270.0130.01416.32
7.2.260.0130.00915.73
7.2.250.0130.01015.88
7.2.240.0120.00815.65
7.2.230.0110.01215.68
7.2.220.0100.01215.68
7.2.210.0100.01115.76
7.2.200.0130.01015.74
7.2.190.0120.01015.73
7.2.180.0110.01115.54
7.2.170.0120.00815.66
7.2.160.0150.00615.60
7.2.150.0230.00815.75
7.2.140.0230.00815.76
7.2.130.0310.00615.79
7.2.120.0310.00615.80
7.2.110.0310.00715.73
7.2.100.0420.00815.78
7.2.90.0440.00815.77
7.2.80.0410.00915.82
7.2.70.0580.00715.75
7.2.60.0380.00815.74
7.2.50.0670.00915.69
7.2.40.0640.00715.74
7.2.30.0780.00815.72
7.2.20.0650.00915.75
7.2.10.0530.01015.71
7.2.00.0580.00915.78
7.1.330.0110.01115.45
7.1.320.0120.01015.56
7.1.310.0110.00915.57
7.1.300.0110.01015.50
7.1.290.0120.00915.45
7.1.280.0140.00815.29
7.1.270.0200.01015.24
7.1.260.0110.01015.27
7.1.250.0370.00614.61
7.1.240.0170.00915.45
7.1.230.0110.01015.40
7.1.220.0150.00715.46
7.1.210.0170.00615.41
7.1.200.0160.01015.43
7.1.190.0130.01015.41
7.1.180.0160.01015.39
7.1.170.0170.00515.37
7.1.160.0150.00815.37
7.1.150.0160.00715.38
7.1.140.0160.01115.45
7.1.130.0130.00715.38
7.1.120.0160.00715.43
7.1.110.0110.01015.48
7.1.100.0130.00915.44
7.1.90.0150.00815.49
7.1.80.0140.00815.46
7.1.70.0160.01015.41
7.1.60.0110.01015.32
7.1.50.0140.00715.56
7.1.40.0150.00615.39
7.1.30.0100.00915.44
7.1.20.0170.00715.46
7.1.10.0180.00515.39
7.1.00.0110.01115.38

preferences:
69.9 ms | 403 KiB | 5 Q