3v4l.org

run code in 300+ PHP versions simultaneously
<?php $className = 'SimpleClass'; try { $instance = new $className(); } catch (EngineException $e) { var_dump($e); }

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.0100.01016.63
8.3.50.0090.00921.02
8.3.40.0100.00718.88
8.3.30.0070.00718.84
8.3.20.0040.00420.22
8.3.10.0040.00423.64
8.3.00.0000.00723.47
8.2.180.0070.00716.50
8.2.170.0100.01022.96
8.2.160.0100.00720.53
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00317.78
8.2.120.0040.00426.35
8.2.110.0070.00420.92
8.2.100.0030.00717.84
8.2.90.0040.00419.01
8.2.80.0030.00517.97
8.2.70.0040.00417.75
8.2.60.0000.00817.92
8.2.50.0030.00518.10
8.2.40.0040.00420.45
8.2.30.0040.00419.42
8.2.20.0050.00217.66
8.2.10.0030.00617.93
8.2.00.0040.00418.10
8.1.280.0100.01025.92
8.1.270.0050.00323.71
8.1.260.0090.00328.09
8.1.250.0040.00428.09
8.1.240.0080.00023.80
8.1.230.0070.00417.83
8.1.220.0000.00817.79
8.1.210.0060.00318.77
8.1.200.0070.00317.35
8.1.190.0050.00317.23
8.1.180.0090.00018.10
8.1.170.0000.00818.55
8.1.160.0000.00722.05
8.1.150.0070.00018.73
8.1.140.0040.00419.51
8.1.130.0000.00717.50
8.1.120.0000.00717.40
8.1.110.0040.00417.30
8.1.100.0040.00417.43
8.1.90.0000.00717.27
8.1.80.0030.00417.41
8.1.70.0070.00017.27
8.1.60.0050.00317.55
8.1.50.0070.00317.53
8.1.40.0000.00817.53
8.1.30.0080.00017.55
8.1.20.0050.00317.59
8.1.10.0040.00417.59
8.1.00.0080.00017.44
8.0.300.0000.00818.77
8.0.290.0070.00016.88
8.0.280.0070.00018.29
8.0.270.0030.00317.09
8.0.260.0000.00717.18
8.0.250.0060.00316.93
8.0.240.0030.00316.96
8.0.230.0040.00416.91
8.0.220.0070.00016.93
8.0.210.0050.00316.95
8.0.200.0000.00616.99
8.0.190.0080.00016.84
8.0.180.0060.00316.83
8.0.170.0030.00516.97
8.0.160.0040.00416.80
8.0.150.0050.00316.89
8.0.140.0000.00716.71
8.0.130.0030.00313.33
8.0.120.0040.00416.83
8.0.110.0050.00216.80
8.0.100.0050.00316.93
8.0.90.0000.00716.95
8.0.80.0030.01416.86
8.0.70.0040.00416.78
8.0.60.0000.00716.93
8.0.50.0030.00516.78
8.0.30.0100.00817.07
8.0.20.0100.00817.40
8.0.10.0050.00316.86
8.0.00.0070.01216.81
7.4.330.0050.00016.74
7.4.320.0060.00016.51
7.4.300.0000.00716.51
7.4.290.0070.00016.50
7.4.280.0030.00616.58
7.4.270.0030.00316.45
7.4.260.0030.00316.55
7.4.250.0060.00316.47
7.4.240.0020.00516.55
7.4.230.0050.00216.40
7.4.220.0030.01416.45
7.4.210.0030.01116.49
7.4.200.0030.00316.62
7.4.160.0060.00916.61
7.4.150.0120.00917.40
7.4.140.0060.01217.86
7.4.130.0090.01216.51
7.4.120.0060.01016.44
7.4.110.0170.00316.56
7.4.100.0070.01016.39
7.4.90.0030.01616.48
7.4.80.0130.00319.39
7.4.70.0090.00916.54
7.4.60.0120.00416.64
7.4.50.0120.00316.45
7.4.40.0100.00616.26
7.4.30.0130.00316.57
7.4.00.0080.00614.88
7.3.330.0000.00613.16
7.3.320.0040.00413.20
7.3.310.0040.00416.32
7.3.300.0030.00316.37
7.3.290.0130.00616.32
7.3.280.0070.01116.27
7.3.270.0120.00617.40
7.3.260.0090.00916.50
7.3.250.0090.00816.50
7.3.240.0110.00616.36
7.3.230.0040.01216.61
7.3.210.0030.01316.58
7.3.200.0120.00619.39
7.3.190.0120.00916.32
7.3.180.0120.00616.49
7.3.170.0030.01316.50
7.3.160.0120.00616.47
7.3.10.0070.00716.54
7.3.00.0100.00716.33
7.2.330.0140.00316.60
7.2.320.0100.00716.59
7.2.310.0070.01316.66
7.2.300.0100.00716.68
7.2.290.0100.00716.52
7.2.130.0080.00816.63
7.2.120.0000.01616.82
7.2.110.0030.01016.91
7.2.100.0100.00016.64
7.2.90.0030.01016.58
7.2.80.0060.00916.84
7.2.70.0000.00916.87
7.2.60.0060.01216.67
7.2.50.0030.00716.75
7.2.40.0000.01416.92
7.2.30.0000.00916.93
7.2.20.0120.00616.90
7.2.10.0030.01216.93
7.2.00.0050.00917.88
7.1.250.0040.00415.81
7.1.200.0260.00015.65
7.1.100.0030.00718.20
7.1.70.0030.00617.13
7.1.60.0030.01319.30
7.1.50.0090.01316.90
7.1.00.0000.08022.54
7.0.200.0040.00416.80
7.0.60.0270.06321.84
7.0.50.0030.04317.82
7.0.40.0100.08720.02
7.0.30.0330.07020.34
7.0.20.0430.05320.18
7.0.10.0100.07720.30
7.0.00.0100.07320.30
5.6.280.0070.06020.98
5.6.210.0000.07020.51
5.6.200.0070.07718.13
5.6.190.0100.04320.60
5.6.180.0470.07320.77
5.6.170.0230.08020.50
5.6.160.0000.09320.50
5.6.150.0000.05718.15
5.6.140.0170.06718.14
5.6.130.0100.08018.21
5.6.120.0100.07320.96
5.6.110.0100.09020.96
5.6.100.0130.07321.11
5.6.90.0100.08020.97
5.6.80.0030.03720.39
5.5.350.0270.07720.43
5.5.340.0070.08018.02
5.5.330.0000.06320.21
5.5.320.0230.04020.51
5.5.310.0230.05020.16
5.5.300.0030.08017.96
5.5.290.0070.07018.02
5.5.280.0030.09320.76
5.5.270.0000.04720.86
5.5.260.0130.08020.79
5.5.250.0100.06020.79
5.5.240.0170.03720.07

preferences:
35.84 ms | 401 KiB | 5 Q