3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test; define('test\true', 'abc'); var_dump(true);

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.60.0070.00716.48
8.3.50.0160.00621.02
8.3.40.0120.00318.54
8.3.30.0110.00718.59
8.3.20.0070.00020.22
8.3.10.0050.00323.39
8.3.00.0070.00023.64
8.2.180.0170.00318.17
8.2.170.0110.00418.67
8.2.160.0080.00822.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0070.00719.64
8.2.120.0000.00826.35
8.2.110.0130.00321.12
8.2.100.0120.00017.80
8.2.90.0040.00419.14
8.2.80.0050.00317.97
8.2.70.0110.00017.50
8.2.60.0090.00017.91
8.2.50.0050.00318.07
8.2.40.0040.00420.43
8.2.30.0090.00019.36
8.2.20.0040.00417.46
8.2.10.0020.00517.98
8.2.00.0030.00517.79
8.1.280.0070.00725.92
8.1.270.0100.01023.88
8.1.260.0110.00028.09
8.1.250.0030.00528.09
8.1.240.0030.00622.35
8.1.230.0050.00519.18
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00717.23
8.1.190.0040.00417.00
8.1.180.0050.00318.10
8.1.170.0000.00818.51
8.1.160.0030.00520.69
8.1.150.0040.00418.62
8.1.140.0050.00319.35
8.1.130.0000.00717.62
8.1.120.0070.00017.34
8.1.110.0040.00417.22
8.1.100.0040.00417.26
8.1.90.0040.00417.20
8.1.80.0030.00317.35
8.1.70.0040.00417.17
8.1.60.0060.00317.47
8.1.50.0050.00317.41
8.1.40.0050.00517.34
8.1.30.0030.00617.53
8.1.20.0050.00317.39
8.1.10.0040.00417.27
8.1.00.0040.00417.30
8.0.300.0000.00818.77
8.0.290.0040.00416.58
8.0.280.0070.00018.24
8.0.270.0050.00217.18
8.0.260.0070.00017.11
8.0.250.0030.00316.79
8.0.240.0000.00716.81
8.0.230.0030.00316.91
8.0.220.0030.00516.64
8.0.210.0000.00716.74
8.0.200.0070.00016.80
8.0.190.0060.00316.83
8.0.180.0040.00416.72
8.0.170.0000.00816.67
8.0.160.0040.00416.75
8.0.150.0000.00716.75
8.0.140.0040.00416.75
8.0.130.0030.00313.14
8.0.120.0000.00816.67
8.0.110.0030.00516.75
8.0.100.0000.00816.77
8.0.90.0000.00716.64
8.0.80.0090.00616.72
8.0.70.0030.00516.81
8.0.60.0070.00016.65
8.0.50.0040.00416.55
8.0.30.0180.00316.83
8.0.20.0120.00917.40
8.0.10.0000.00716.68
8.0.00.0100.00816.45
7.4.330.0020.00216.84
7.4.320.0030.00316.36
7.4.300.0080.00016.46
7.4.290.0030.00316.25
7.4.280.0040.00416.35
7.4.270.0030.00316.39
7.4.260.0000.00716.48
7.4.250.0050.00216.34
7.4.240.0060.00216.29
7.4.230.0000.00716.17
7.4.220.0150.00716.39
7.4.210.0040.01216.55
7.4.200.0020.00516.44
7.4.160.0040.01116.48
7.4.150.0150.00917.40
7.4.140.0070.01217.86
7.4.130.0080.01216.30
7.4.120.0080.01116.35
7.4.110.0070.01016.44
7.4.100.0110.00616.28
7.4.90.0170.00016.31
7.4.80.0060.00919.39
7.4.70.0090.01216.21
7.4.60.0070.01016.11
7.4.50.0110.00716.06
7.4.40.0030.01316.49
7.4.30.0030.01316.45
7.4.00.0090.00314.89
7.3.330.0000.00513.01
7.3.320.0000.00513.00
7.3.310.0030.00316.08
7.3.300.0030.00315.93
7.3.290.0000.00716.11
7.3.280.0070.01116.15
7.3.270.0150.00917.40
7.3.260.0120.00616.21
7.3.240.0090.01216.28
7.3.230.0130.00716.39
7.3.210.0040.01316.36
7.3.200.0170.00319.39
7.3.190.0090.00916.27
7.3.180.0040.01116.13
7.3.170.0070.01016.27
7.3.160.0120.00916.40
7.3.10.0090.00616.58
7.3.00.0090.00316.59
7.2.330.0160.00316.44
7.2.320.0030.01616.51
7.2.310.0030.01116.50
7.2.300.0130.00316.48
7.2.290.0140.00916.33
7.2.130.0040.01116.75
7.2.120.0030.00916.77
7.2.110.0100.00316.85
7.2.100.0070.00716.84
7.2.90.0070.01016.60
7.2.80.0040.00716.84
7.2.70.0030.01016.77
7.2.60.0060.00716.57
7.2.50.0000.01016.57
7.2.40.0060.00916.89
7.2.30.0030.00716.92
7.2.20.0000.01316.54
7.2.10.0070.00716.66
7.2.00.0090.00517.83
7.1.250.0070.00415.68
7.1.200.0030.01015.62
7.1.100.0060.00917.93
7.1.70.0080.00016.60
7.1.60.0100.01419.27
7.1.50.0110.01116.95
7.1.00.0000.07722.44
7.0.200.0000.01016.71
7.0.100.0070.06319.91
7.0.90.0100.06319.91
7.0.80.0030.04719.94
7.0.70.0030.04019.84
7.0.60.0070.04019.91
7.0.50.0230.03720.34
7.0.40.0030.04020.00
7.0.30.0000.04720.10
7.0.20.0070.05020.09
7.0.10.0030.04320.08
7.0.00.0070.04020.13
5.6.280.0030.03020.77
5.6.250.0030.04720.59
5.6.240.0070.05720.59
5.6.230.0070.03720.71
5.6.220.0070.04020.49
5.6.210.0070.04320.77
5.6.200.0070.05021.05
5.6.190.0070.04021.03
5.6.180.0070.04721.00
5.6.170.0000.05020.93
5.6.160.0070.04021.10
5.6.150.0030.04321.01
5.6.140.0000.04321.00
5.6.130.0030.04320.94
5.6.120.0070.04021.10
5.6.110.0070.04021.12
5.6.100.0000.04321.09
5.6.90.0100.05021.05
5.6.80.0070.07720.48
5.6.70.0070.03720.39
5.6.60.0000.08320.38
5.6.50.0100.07720.55
5.6.40.0100.06720.31
5.6.30.0070.04020.43
5.6.20.0100.07720.29
5.6.10.0100.03720.48
5.6.00.0100.07320.34
5.5.380.0070.04020.35
5.5.370.0030.07020.39
5.5.360.0100.03720.35
5.5.350.0000.04720.36
5.5.340.0030.04320.85
5.5.330.0000.04720.78
5.5.320.0030.04020.87
5.5.310.0030.05720.88
5.5.300.0070.06020.82
5.5.290.0070.04020.78
5.5.280.0000.04320.77
5.5.270.0030.04320.87
5.5.260.0030.04320.90
5.5.250.0000.04320.73
5.5.240.0100.07320.02
5.5.230.0030.06720.17
5.5.220.0000.04320.20
5.5.210.0130.07320.17
5.5.200.0070.03720.24
5.5.190.0170.07020.22
5.5.180.0100.07320.21
5.5.160.0170.07019.98
5.5.150.0100.07720.10
5.5.140.0030.04020.17
5.5.130.0030.07020.22
5.5.120.0030.05720.10
5.5.110.0100.07320.10
5.5.100.0100.06719.98
5.5.90.0100.07320.00
5.5.80.0070.05320.08
5.5.70.0200.06319.99
5.5.60.0100.08020.13
5.5.50.0100.07019.99
5.5.40.0070.07720.03
5.5.30.0130.06720.04
5.5.20.0200.06720.04
5.5.10.0130.05720.01
5.5.00.0170.03320.05

preferences:
42.85 ms | 401 KiB | 5 Q