3v4l.org

run code in 300+ PHP versions simultaneously
<?php $className = 'SimpleClass'; try { $instance = new $className(); } catch (BaseException $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.40.0070.01018.84
8.3.30.0110.00418.72
8.3.20.0070.00020.02
8.3.10.0050.00323.66
8.3.00.0000.00823.66
8.2.170.0070.00722.96
8.2.160.0100.00720.53
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0030.00619.76
8.2.120.0020.00526.35
8.2.110.0090.00022.20
8.2.100.0030.00917.68
8.2.90.0040.00419.17
8.2.80.0040.00418.05
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0080.00022.38
8.2.30.0000.00719.40
8.2.20.0040.00417.55
8.2.10.0070.00318.09
8.2.00.0080.00017.93
8.1.270.0000.00823.83
8.1.260.0030.00728.09
8.1.250.0040.00428.09
8.1.240.0090.00023.79
8.1.230.0050.00519.16
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0030.00517.13
8.1.180.0050.00318.10
8.1.170.0040.00418.46
8.1.160.0050.00220.62
8.1.150.0000.00718.73
8.1.140.0030.00519.50
8.1.130.0020.00517.62
8.1.120.0030.00317.37
8.1.110.0000.00817.37
8.1.100.0030.00517.38
8.1.90.0040.00417.42
8.1.80.0000.00717.44
8.1.70.0000.00717.45
8.1.60.0040.00417.52
8.1.50.0030.00717.48
8.1.40.0040.00417.37
8.1.30.0030.00517.63
8.1.20.0000.00817.61
8.1.10.0040.00417.44
8.1.00.0080.00017.49
8.0.300.0060.00318.77
8.0.290.0040.00416.63
8.0.280.0030.00518.37
8.0.270.0000.00717.18
8.0.260.0030.00317.18
8.0.250.0000.00716.86
8.0.240.0030.00316.82
8.0.230.0000.00716.84
8.0.220.0000.00716.94
8.0.210.0000.00716.95
8.0.200.0060.00016.85
8.0.190.0000.00716.96
8.0.180.0090.00316.92
8.0.170.0040.00416.88
8.0.160.0040.00416.91
8.0.150.0030.00516.88
8.0.140.0040.00416.74
8.0.130.0060.00013.35
8.0.120.0060.00316.93
8.0.110.0040.00416.82
8.0.100.0030.00516.70
8.0.90.0040.00416.77
8.0.80.0070.00716.77
8.0.70.0000.00716.71
8.0.60.0000.00716.78
8.0.50.0040.00416.73
8.0.30.0080.01017.08
8.0.20.0080.01317.40
8.0.10.0040.00416.82
8.0.00.0110.00916.70
7.4.330.0000.00516.71
7.4.320.0000.00616.58
7.4.300.0070.00016.50
7.4.290.0030.00316.48
7.4.280.0050.00516.49
7.4.270.0040.00416.50
7.4.260.0040.00416.50
7.4.250.0070.00016.53
7.4.240.0070.00016.57
7.4.230.0000.00716.52
7.4.220.0060.01316.67
7.4.210.0130.00716.45
7.4.200.0000.00716.25
7.4.160.0080.00816.50
7.4.150.0060.01117.40
7.4.140.0110.01417.86
7.4.130.0090.01116.62
7.4.120.0100.00816.48
7.4.110.0130.00316.54
7.4.100.0120.00616.43
7.4.90.0100.00716.54
7.4.80.0070.01519.39
7.4.70.0100.00616.73
7.4.60.0130.00316.54
7.4.50.0050.00816.52
7.4.40.0090.00616.55
7.4.30.0100.00716.57
7.4.00.0100.00315.07
7.3.330.0020.00213.25
7.3.320.0040.00413.17
7.3.310.0000.00716.18
7.3.300.0030.00316.19
7.3.290.0100.00716.36
7.3.280.0070.01016.36
7.3.270.0100.01017.40
7.3.260.0100.00616.28
7.3.250.0110.00616.56
7.3.240.0030.01316.48
7.3.230.0090.00816.46
7.3.210.0100.00716.63
7.3.200.0100.00719.39
7.3.190.0070.01016.33
7.3.180.0050.01016.48
7.3.170.0100.00716.35
7.3.160.0100.00716.27
7.2.330.0110.00716.37
7.2.320.0140.00316.46
7.2.310.0030.01416.55
7.2.300.0110.01416.50
7.2.290.0070.01016.55
7.2.60.0070.00316.81
7.2.00.0000.01419.23
7.1.200.0000.00915.40
7.1.100.0060.00918.03
7.1.70.0030.00617.00
7.1.60.0130.01019.30
7.1.50.0040.01916.63
7.1.00.0070.07322.48
7.0.200.0040.00416.72
7.0.60.0300.07321.72
7.0.50.0070.07717.78
7.0.40.0100.07020.40
7.0.30.0300.06320.30
7.0.20.0300.06320.04
7.0.10.0070.05320.00
7.0.00.0170.03320.20
5.6.280.0000.04021.12
5.6.210.0070.06720.55
5.6.200.0030.06018.21
5.6.190.0100.07320.60
5.6.180.0500.06020.57
5.6.170.0330.07320.61
5.6.160.0070.09020.61
5.6.150.0030.08318.20
5.6.140.0030.07318.15
5.6.130.0100.07718.14
5.6.120.0130.07321.00
5.6.110.0070.07320.89
5.6.100.0070.06020.98
5.6.90.0070.07720.98
5.6.80.0100.04020.53
5.5.350.0200.07720.33
5.5.340.0070.07317.98
5.5.330.0100.07720.40
5.5.320.0330.04320.32
5.5.310.0370.07020.27
5.5.300.0030.07717.95
5.5.290.0030.09018.01
5.5.280.0100.06320.87
5.5.270.0030.06320.88
5.5.260.0130.07720.76
5.5.250.0030.08320.65
5.5.240.0230.07720.12

preferences:
48.5 ms | 400 KiB | 5 Q