3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Tmp { function t() { echo 'Parent'; } } class TmpTwo { function t() { parent :: tmp(); } } (new TmpTwo)->t();

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.0170.00718.43
8.3.50.0030.01016.38
8.3.40.0140.00018.65
8.3.30.0090.00618.40
8.3.20.0080.00020.21
8.3.10.0000.00723.48
8.3.00.0050.00319.56
8.2.180.0150.00618.16
8.2.170.0040.01122.96
8.2.160.0030.01318.91
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0070.00019.35
8.2.120.0050.00326.35
8.2.110.0090.00020.56
8.2.100.0070.00417.78
8.2.90.0040.00419.02
8.2.80.0060.00317.97
8.2.70.0030.00617.38
8.2.60.0100.00017.80
8.2.50.0040.00418.10
8.2.40.0000.00720.37
8.2.30.0080.00019.06
8.2.20.0000.00717.84
8.2.10.0000.00717.78
8.2.00.0000.00717.92
8.1.280.0110.00425.92
8.1.270.0000.00722.05
8.1.260.0030.00526.35
8.1.250.0000.00728.09
8.1.240.0090.00022.08
8.1.230.0070.00419.22
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0060.00318.43
8.1.160.0060.00318.88
8.1.150.0070.00018.76
8.1.140.0080.00019.36
8.1.130.0000.00718.77
8.1.120.0040.00417.24
8.1.110.0050.00317.30
8.1.100.0070.00017.27
8.1.90.0000.00817.30
8.1.80.0040.00417.34
8.1.70.0000.00717.36
8.1.60.0040.00417.45
8.1.50.0040.00417.37
8.1.40.0100.00517.34
8.1.30.0040.00417.35
8.1.20.0050.00217.47
8.1.10.0080.00017.41
8.1.00.0100.00017.38
8.0.300.0050.00219.91
8.0.290.0040.00416.63
8.0.280.0000.00718.31
8.0.270.0070.00017.00
8.0.260.0040.00416.81
8.0.250.0030.00316.79
8.0.240.0030.00316.91
8.0.230.0030.00316.91
8.0.220.0070.00016.86
8.0.210.0000.00716.70
8.0.200.0030.00316.75
8.0.190.0060.00316.81
8.0.180.0070.00016.79
8.0.170.0000.00716.87
8.0.160.0000.00816.83
8.0.150.0000.00716.71
8.0.140.0030.00316.80
8.0.130.0030.00313.24
8.0.120.0000.00816.78
8.0.110.0050.00216.65
8.0.100.0000.00816.77
8.0.90.0040.00416.65
8.0.80.0060.01616.84
8.0.70.0040.00416.69
8.0.60.0050.00216.88
8.0.50.0000.00816.88
8.0.30.0110.00716.93
8.0.20.0130.00617.40
8.0.10.0030.00316.98
8.0.00.0110.00716.54
7.4.330.0050.00015.55
7.4.320.0030.00316.50
7.4.300.0030.00316.44
7.4.290.0080.00416.52
7.4.280.0040.00416.39
7.4.270.0070.00016.49
7.4.260.0030.00316.40
7.4.250.0030.00516.46
7.4.240.0000.00716.57
7.4.230.0040.00416.70
7.4.220.0140.01116.55
7.4.210.0110.00716.47
7.4.200.0040.00416.32
7.4.160.0100.01016.44
7.4.150.0280.01617.40
7.4.140.0150.00517.86
7.4.130.0120.01216.48
7.4.120.0140.00316.51
7.4.110.0120.00816.63
7.4.100.0170.00616.46
7.4.90.0100.00616.38
7.4.80.0130.00619.39
7.4.70.0050.01116.66
7.4.60.0120.00916.49
7.4.50.0090.00616.24
7.4.40.0030.01316.63
7.4.30.0120.01016.59
7.4.00.0000.01214.89
7.3.330.0030.00313.22
7.3.320.0030.00313.28
7.3.310.0070.00016.46
7.3.300.0030.00316.19
7.3.290.0070.00716.31
7.3.280.0060.00916.35
7.3.270.0150.00917.40
7.3.260.0090.00816.29
7.3.250.0100.00716.50
7.3.240.0130.00416.38
7.3.230.0060.01016.58
7.3.210.0060.00916.33
7.3.200.0030.01316.54
7.3.190.0090.01216.58
7.3.180.0030.01416.52
7.3.170.0070.01016.40
7.3.160.0120.00316.37
7.2.330.0090.00916.36
7.2.320.0160.00616.63
7.2.310.0130.00316.55
7.2.300.0100.00716.69
7.2.290.0100.00716.64
7.2.60.0070.00716.48
7.2.00.0000.01519.41
7.1.200.0000.01315.76
7.1.100.1060.00715.74
7.1.70.0120.00817.16
7.1.60.0650.01632.91
7.1.50.0720.01732.85
7.1.40.0940.02234.25
7.1.30.0260.01334.25
7.1.20.0280.02232.68
7.1.10.0530.01814.50
7.1.00.0110.00916.42
7.0.200.0100.00714.95
7.0.190.0690.00016.58
7.0.180.0130.00614.49
7.0.170.0700.00414.41
7.0.160.0580.01314.40
7.0.150.0550.01514.27
7.0.140.0000.02216.11
7.0.130.0510.00914.64
7.0.120.0380.00616.62
7.0.110.0410.01514.17
7.0.100.0460.00614.30
7.0.90.0520.01214.15
7.0.80.0560.01214.49
7.0.70.0360.01814.43
7.0.60.0480.01614.25
7.0.50.0440.01316.45
7.0.40.0460.01214.71
7.0.30.0430.01916.26
7.0.20.0400.01616.18
7.0.10.0090.00916.17
7.0.00.0110.00616.24

preferences:
54.31 ms | 400 KiB | 5 Q