3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { public function yes() { return 'hello'; } } class Y extends X { public function yes() { return parent::yes().' plus more'; } } $y = new Y(); echo $y->yes();

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.50
8.3.50.0100.00316.58
8.3.40.0130.00618.55
8.3.30.0110.00318.59
8.3.20.0040.00420.34
8.3.10.0000.00821.75
8.3.00.0040.00417.72
8.2.180.0080.00616.50
8.2.170.0120.00622.96
8.2.160.0100.00720.34
8.2.150.0080.00024.18
8.2.140.0070.00724.66
8.2.130.0060.00320.42
8.2.120.0000.00826.35
8.2.110.0030.00721.04
8.2.100.0080.00418.22
8.2.90.0000.00918.22
8.2.80.0090.00018.05
8.2.70.0080.00017.80
8.2.60.0080.00017.99
8.2.50.0030.00518.10
8.2.40.0030.00522.07
8.2.30.0060.00321.02
8.2.20.0040.00417.92
8.2.10.0040.00418.05
8.2.00.0050.00317.89
8.1.280.0100.01025.92
8.1.270.0080.00022.14
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.12
8.1.230.0090.00322.80
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0000.00817.35
8.1.180.0000.00718.10
8.1.170.0040.00418.71
8.1.160.0020.00518.96
8.1.150.0040.00420.63
8.1.140.0040.00419.54
8.1.130.0040.00417.42
8.1.120.0000.00717.46
8.1.110.0040.00417.34
8.1.100.0000.00717.44
8.1.90.0040.00717.34
8.1.80.0040.00417.34
8.1.70.0070.00017.28
8.1.60.0000.00717.50
8.1.50.0040.00417.51
8.1.40.0040.00417.41
8.1.30.0040.00417.55
8.1.20.0070.00017.61
8.1.10.0070.00417.52
8.1.00.0050.00217.49
8.0.300.0040.00419.57
8.0.290.0030.00516.63
8.0.280.0030.00318.44
8.0.270.0030.00317.16
8.0.260.0030.00316.72
8.0.250.0030.00316.78
8.0.240.0040.00416.95
8.0.230.0040.00416.93
8.0.220.0050.00216.90
8.0.210.0000.00716.90
8.0.200.0030.00316.96
8.0.190.0080.00416.92
8.0.180.0000.00716.96
8.0.170.0070.00016.91
8.0.160.0040.00416.90
8.0.150.0000.00716.78
8.0.140.0030.00316.74
8.0.130.0000.00613.35
8.0.120.0050.00316.87
8.0.110.0000.00716.82
8.0.100.0040.00416.75
8.0.90.0070.00016.93
8.0.80.0090.00916.87
8.0.70.0000.00816.67
8.0.60.0040.00416.88
8.0.50.0030.00316.80
8.0.30.0050.01316.81
8.0.20.0090.00917.40
8.0.10.0070.00016.98
8.0.00.0140.00716.83
7.4.330.0020.00215.55
7.4.320.0000.00716.42
7.4.300.0030.00316.50
7.4.290.0040.00416.48
7.4.280.0050.00316.47
7.4.270.0000.00716.39
7.4.260.0030.00313.33
7.4.250.0000.00716.60
7.4.240.0000.00716.52
7.4.230.0070.00016.48
7.4.220.0140.00416.45
7.4.210.0080.00816.60
7.4.200.0050.00316.59
7.4.160.0130.00816.39
7.4.150.0110.00617.40
7.4.140.0130.00717.86
7.4.130.0150.00316.65
7.4.120.0130.00716.50
7.4.110.0030.01516.28
7.4.100.0070.01816.59
7.4.90.0100.00716.54
7.4.80.0040.01319.39
7.4.70.0110.00616.48
7.4.60.0060.01016.36
7.4.50.0030.01216.35
7.4.40.0120.00716.47
7.4.30.0070.01316.45
7.4.00.0040.00815.18
7.3.330.0060.00013.09
7.3.320.0000.00513.08
7.3.310.0070.00016.11
7.3.300.0060.00016.17
7.3.290.0000.00716.16
7.3.280.0060.01016.25
7.3.270.0090.00617.40
7.3.260.0100.00716.18
7.3.250.0110.01116.31
7.3.240.0140.00516.45
7.3.230.0090.01516.21
7.3.210.0120.00416.17
7.3.200.0030.01416.39
7.3.190.0090.00616.50
7.3.180.0100.00816.29
7.3.170.0090.00616.31
7.3.160.0070.01016.40
7.2.330.0100.00716.45
7.2.320.0070.01016.47
7.2.310.0060.00916.73
7.2.300.0120.00916.39
7.2.290.0060.00916.80
7.2.60.0030.01316.70
7.2.00.0030.01019.30
7.1.200.0170.00615.74
7.1.100.0090.00317.95
7.1.70.0170.00715.25
7.1.60.0230.01733.21
7.1.50.0500.00732.61
7.1.40.3370.01332.61
7.1.30.3230.01732.58
7.1.20.2770.01332.76
7.1.10.2530.01314.55
7.1.00.2330.01014.61
7.0.200.0170.00714.52
7.0.190.0170.01014.69
7.0.180.3330.01014.48
7.0.170.2770.01714.43
7.0.160.2630.01714.25
7.0.150.2400.00714.46
7.0.140.1930.02014.39
7.0.130.2300.01314.61
7.0.120.2630.00714.75
7.0.110.2430.01714.55
7.0.100.2200.01714.45
7.0.90.2300.02014.21
7.0.80.1770.01014.48
7.0.70.1670.01014.34
7.0.60.2070.01314.31
7.0.50.1930.01014.21
7.0.40.1630.01314.54
7.0.30.1500.01014.52
7.0.20.1700.00314.67
7.0.10.1400.01014.47
7.0.00.2100.01014.71

preferences:
55.37 ms | 400 KiB | 5 Q