3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function bar() { return get_parent_class(); } } $baz = new foo(); var_dump($baz->bar());

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.0110.00416.75
8.3.50.0090.00616.29
8.3.40.0030.01718.55
8.3.30.0060.00918.54
8.3.20.0040.00420.34
8.3.10.0080.00023.54
8.3.00.0000.00817.74
8.2.180.0070.00716.38
8.2.170.0140.00322.96
8.2.160.0130.00320.39
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0070.00022.13
8.2.120.0070.00026.35
8.2.110.0090.00022.26
8.2.100.0070.00317.66
8.2.90.0050.00317.75
8.2.80.0040.00418.79
8.2.70.0040.00417.68
8.2.60.0000.00717.38
8.2.50.0080.00017.55
8.2.40.0040.00420.59
8.2.30.0000.00721.00
8.2.20.0000.00718.07
8.2.10.0040.00418.10
8.2.00.0040.00417.99
8.1.280.0040.01125.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00320.64
8.1.230.0070.00417.77
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00017.23
8.1.190.0030.00917.23
8.1.180.0050.00318.10
8.1.170.0000.00818.66
8.1.160.0040.00419.05
8.1.150.0000.00720.67
8.1.140.0050.00219.55
8.1.130.0070.00018.83
8.1.120.0030.00517.30
8.1.110.0000.00717.38
8.1.100.0030.00417.42
8.1.90.0040.00417.30
8.1.80.0000.00717.43
8.1.70.0080.00017.31
8.1.60.0000.00817.61
8.1.50.0000.00817.54
8.1.40.0030.00617.50
8.1.30.0040.00417.55
8.1.20.0040.00417.68
8.1.10.0050.00317.45
8.1.00.0040.00417.45
8.0.300.0000.00718.77
8.0.290.0050.00216.63
8.0.280.0030.00318.38
8.0.270.0030.00317.20
8.0.260.0040.00416.67
8.0.250.0070.00016.93
8.0.240.0060.00316.91
8.0.230.0040.00416.85
8.0.220.0050.00316.85
8.0.210.0030.00316.73
8.0.200.0030.00316.90
8.0.190.0100.00016.79
8.0.180.0050.00316.75
8.0.170.0000.00816.86
8.0.160.0050.00216.84
8.0.150.0030.00316.78
8.0.140.0000.00716.82
8.0.130.0030.00313.19
8.0.120.0070.00016.70
8.0.110.0070.00016.62
8.0.100.0040.00416.82
8.0.90.0070.00016.90
8.0.80.0060.01216.71
8.0.70.0000.00716.80
8.0.60.0040.00416.80
8.0.50.0070.00016.91
8.0.30.0100.01117.01
8.0.20.0130.00817.40
8.0.10.0050.00316.95
8.0.00.0110.00716.67
7.4.330.0000.00515.55
7.4.320.0030.00316.52
7.4.300.0000.00616.60
7.4.290.0070.00016.59
7.4.280.0050.00316.60
7.4.270.0070.00016.52
7.4.260.0000.00513.31
7.4.250.0030.00316.55
7.4.240.0040.00416.58
7.4.230.0040.00216.63
7.4.220.0060.01216.49
7.4.210.0030.01216.45
7.4.200.0030.00316.59
7.4.160.0150.00316.67
7.4.150.0110.00717.40
7.4.140.0100.00817.86
7.4.130.0090.00816.47
7.4.120.0130.00916.62
7.4.110.0100.00716.40
7.4.100.0070.01316.48
7.4.90.0160.00316.53
7.4.80.0100.01419.39
7.4.70.0060.01016.44
7.4.60.0060.01016.43
7.4.50.0070.00716.22
7.4.40.0030.01416.38
7.4.30.0060.01516.62
7.4.00.0080.00714.89
7.3.330.0030.00313.16
7.3.320.0050.00013.23
7.3.310.0000.00616.21
7.3.300.0030.00316.25
7.3.290.0070.00816.23
7.3.280.0060.01016.21
7.3.270.0070.01017.40
7.3.260.0090.00916.35
7.3.250.0070.01216.44
7.3.240.0100.00716.40
7.3.230.0180.00016.21
7.3.210.0080.00916.13
7.3.200.0060.01516.21
7.3.190.0070.01116.30
7.3.180.0080.00816.40
7.3.170.0090.00616.20
7.3.160.0040.01416.23
7.3.120.0060.01214.72
7.3.110.0070.01114.54
7.3.100.0100.00314.73
7.3.90.0070.00414.96
7.3.80.0040.01114.88
7.3.70.0030.01014.81
7.3.60.0090.00614.69
7.3.50.0040.00814.45
7.3.40.0040.01214.75
7.3.30.0110.00414.55
7.3.20.0030.01016.39
7.3.10.0070.01016.43
7.3.00.0150.00416.61
7.2.330.0090.00916.65
7.2.320.0110.00716.42
7.2.310.0070.01016.61
7.2.300.0120.00616.56
7.2.290.0000.01716.39
7.2.250.0100.01014.82
7.2.240.0070.01415.00
7.2.230.0030.01314.89
7.2.220.0060.00314.88
7.2.210.0000.01314.84
7.2.200.0100.00314.94
7.2.190.0030.01114.72
7.2.180.0070.00714.79
7.2.170.0060.00314.98
7.2.00.0040.00719.10
7.1.330.0060.00915.61
7.1.320.0080.00815.84
7.1.310.0110.00415.74
7.1.300.0000.01415.72
7.1.290.0040.01215.59
7.1.280.0030.00615.48
7.1.270.0070.01015.74
7.1.260.0070.01015.68
7.1.100.0040.00817.95
7.1.70.1930.01715.04
7.1.60.1930.01733.16
7.1.50.2070.02032.76
7.1.40.3170.01732.39
7.1.30.2830.01732.32
7.1.20.1800.01332.86
7.1.10.1430.01314.75
7.1.00.1770.01014.76
7.0.200.2330.01714.77
7.0.190.2500.01014.60
7.0.180.1770.01714.38
7.0.170.2330.01314.30
7.0.160.2530.01314.19
7.0.150.1670.01314.29
7.0.140.2070.00714.41
7.0.130.1900.01714.57
7.0.120.1700.01314.74
7.0.110.1870.01014.39
7.0.100.1730.01714.46
7.0.90.1770.00314.26
7.0.80.1670.00714.18
7.0.70.1730.01014.28
7.0.60.1800.01714.25
7.0.50.2170.01014.44
7.0.40.1630.01014.43
7.0.30.1830.01314.51
7.0.20.2170.01314.42
7.0.10.2270.01314.42
7.0.00.2100.01714.43

preferences:
57.09 ms | 400 KiB | 5 Q