3v4l.org

run code in 300+ PHP versions simultaneously
<?php $agent = 'test+agent'; $agent = split('\+', $agent); $first = substr($agent,0,1); $last= $agent[1]; $agent= $first.$last;

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.3.70.0170.00316.50
8.3.60.0110.00716.63
8.3.50.0140.00522.11
8.3.40.0160.00018.81
8.3.30.0110.00318.86
8.3.20.0080.00020.18
8.3.10.0040.00423.66
8.3.00.0090.00317.75
8.2.190.0110.00416.58
8.2.180.0100.01018.41
8.2.170.0100.00322.96
8.2.160.0130.00622.13
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0060.00317.50
8.2.110.0070.00422.26
8.2.100.0080.00317.90
8.2.90.0040.00418.97
8.2.80.0040.00417.97
8.2.70.0000.00917.63
8.2.60.0040.00417.92
8.2.50.0060.00318.07
8.2.40.0040.00419.28
8.2.30.0030.00520.55
8.2.20.0080.00017.55
8.2.10.0040.00418.03
8.2.00.0000.00818.13
8.1.280.0080.01125.92
8.1.270.0040.00423.97
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0060.00322.52
8.1.230.0060.00617.54
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0050.00317.38
8.1.180.0000.00818.10
8.1.170.0070.00018.84
8.1.160.0000.00822.00
8.1.150.0000.00718.75
8.1.140.0040.00419.51
8.1.130.0000.00717.45
8.1.120.0050.00217.31
8.1.110.0040.00417.36
8.1.100.0000.00717.44
8.1.90.0070.00017.32
8.1.80.0000.00717.43
8.1.70.0040.00417.35
8.1.60.0080.00417.36
8.1.50.0070.00017.53
8.1.40.0000.00917.46
8.1.30.0000.00717.63
8.1.20.0000.00717.66
8.1.10.0070.00017.62
8.1.00.0040.00417.44
8.0.300.0000.00818.77
8.0.290.0060.00316.75
8.0.280.0030.00318.38
8.0.270.0000.00717.20
8.0.260.0030.00316.86
8.0.250.0070.00016.96
8.0.240.0000.00716.99
8.0.230.0030.00316.92
8.0.220.0070.00016.86
8.0.210.0050.00316.79
8.0.200.0030.00317.02
8.0.190.0000.00716.87
8.0.180.0000.00716.96
8.0.170.0050.00216.93
8.0.160.0030.00316.86
8.0.150.0030.00616.75
8.0.140.0030.00316.80
8.0.130.0000.00813.32
8.0.120.0000.00716.86
8.0.110.0030.00616.80
8.0.100.0000.00716.77
8.0.90.0000.00716.86
8.0.80.0070.00716.94
8.0.70.0040.00416.73
8.0.60.0000.00816.91
8.0.50.0000.00716.96
8.0.30.0090.01417.04
8.0.20.0140.00717.40
8.0.10.0050.00316.81
8.0.00.0060.01216.66
7.4.330.0050.00015.08
7.4.320.0030.00316.39
7.4.300.0030.00316.65
7.4.290.0030.00316.59
7.4.280.0080.00016.60
7.4.270.0030.00316.59
7.4.260.0000.00716.42
7.4.250.0030.00516.36
7.4.240.0000.00716.63
7.4.230.0000.00716.39
7.4.220.0100.01116.54
7.4.210.0070.01216.62
7.4.200.0050.00316.62
7.4.160.0040.01116.64
7.4.150.0100.00717.40
7.4.140.0130.02517.86
7.4.130.0100.01116.42
7.4.120.0070.01216.42
7.4.110.0070.01016.46
7.4.100.0100.00916.45
7.4.90.0130.00416.68
7.4.80.0070.01019.39
7.4.70.0090.01016.61
7.4.60.0090.01316.45
7.4.50.0030.00616.58
7.4.40.0030.01716.57
7.4.30.0160.00616.56
7.4.00.0030.01315.04
7.3.330.0020.00213.14
7.3.320.0000.00513.09
7.3.310.0000.00716.46
7.3.300.0030.00316.16
7.3.290.0000.00716.14
7.3.280.0080.00716.24
7.3.270.0180.00317.40
7.3.260.0100.00716.27
7.3.250.0070.01116.41
7.3.240.0090.00916.36
7.3.230.0130.00416.39
7.3.210.0060.01016.40
7.3.200.0110.00716.35
7.3.190.0070.01416.29
7.3.180.0030.01416.34
7.3.170.0130.00316.36
7.3.160.0130.00316.32
7.2.330.0110.01416.68
7.2.320.0070.01716.29
7.2.310.0030.01616.33
7.2.300.0080.00816.61
7.2.290.0080.00816.32
7.2.60.0040.00416.75
7.2.00.0040.01119.38
7.1.200.0000.01315.50
7.1.100.0080.00418.13
7.1.70.0000.00816.82
7.1.60.0180.00619.43
7.1.50.0140.00716.72
7.1.00.0070.07022.24
7.0.200.0050.00514.39
7.0.60.0030.06019.93
7.0.50.0030.06717.88
7.0.40.0030.08720.07
7.0.30.0130.04720.16
7.0.20.0300.07020.16
7.0.10.0030.06320.21
7.0.00.0100.06020.16
5.6.280.0000.05020.88
5.6.210.0030.06320.74
5.6.200.0130.08318.18
5.6.190.0130.08020.39
5.6.180.3270.04020.39
5.6.170.0200.03720.41
5.6.160.0130.05720.38
5.6.150.0030.04718.19
5.6.140.0070.08318.15
5.6.130.0070.04718.17
5.6.120.0070.08321.11
5.6.110.0070.05020.95
5.6.100.0030.08721.00
5.6.90.0030.08720.99
5.6.80.0070.08720.30
5.5.350.0330.06020.46
5.5.340.0130.07717.98
5.5.330.0030.05020.36
5.5.320.0300.05320.30
5.5.310.0270.07720.23
5.5.300.0100.04018.02
5.5.290.0130.07717.91
5.5.280.0230.07320.68
5.5.270.0130.04320.77
5.5.260.0030.07020.66
5.5.250.0130.08320.55
5.5.240.0000.03320.11
5.4.450.0430.05719.32
5.4.440.0700.07019.57
5.4.430.0630.05319.61
5.4.420.0500.06319.09
5.4.410.0700.04019.33
5.4.400.0130.05718.77
5.4.390.0200.05019.17
5.4.380.0200.08018.80
5.4.370.0170.05019.13
5.4.360.0230.05718.99
5.4.350.0330.05319.26
5.4.340.0230.05719.14
5.4.320.0270.05019.16
5.4.310.0800.04319.13
5.4.300.0730.05718.89
5.4.290.0370.06319.15
5.4.280.0030.06318.98
5.4.270.0130.05018.79
5.4.260.0200.05019.07
5.4.250.0200.07018.75
5.4.240.0130.06718.98
5.4.230.0530.04018.75
5.4.220.0570.05018.93
5.4.210.0570.04718.89
5.4.200.0630.04319.28
5.4.190.0770.06019.09
5.4.180.0530.05719.18
5.4.170.0470.05318.89
5.4.160.0600.07719.10
5.4.150.0300.05719.26
5.4.140.0230.04716.22
5.4.130.0270.05716.42
5.4.120.0300.05716.25
5.4.110.0200.05716.34
5.4.100.0300.05016.52
5.4.90.0170.04716.59
5.4.80.0200.05016.46
5.4.70.0100.05316.51
5.4.60.0070.06316.43
5.4.50.0170.05016.41
5.4.40.0130.05016.42
5.4.30.0170.06316.41
5.4.20.0370.06316.42
5.4.10.0200.05716.43
5.4.00.0270.06315.60

preferences:
53.95 ms | 401 KiB | 5 Q