3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function bar() { return get_parent_class(); } } class bar extends foo{} $baz = new bar(); 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.0140.00316.63
8.3.50.0070.00716.25
8.3.40.0110.00418.65
8.3.30.0070.01118.54
8.3.20.0000.00720.20
8.3.10.0040.00423.64
8.3.00.0050.00317.59
8.2.180.0080.00816.50
8.2.170.0030.01422.96
8.2.160.0100.00720.55
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00022.30
8.2.120.0020.00526.35
8.2.110.0140.00422.26
8.2.100.0070.00318.09
8.2.90.0050.00319.23
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0000.00817.80
8.2.50.0060.00318.10
8.2.40.0040.00420.61
8.2.30.0070.00020.84
8.2.20.0000.00717.87
8.2.10.0040.00417.93
8.2.00.0000.00717.99
8.1.280.0030.01025.92
8.1.270.0080.00023.91
8.1.260.0030.00626.35
8.1.250.0070.00028.09
8.1.240.0080.00022.02
8.1.230.0110.00017.52
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0100.00517.00
8.1.180.0000.00818.10
8.1.170.0060.00318.56
8.1.160.0000.00719.07
8.1.150.0000.00720.52
8.1.140.0040.00419.52
8.1.130.0070.00018.74
8.1.120.0000.00717.31
8.1.110.0030.00517.42
8.1.100.0040.00417.44
8.1.90.0000.00717.45
8.1.80.0000.00717.37
8.1.70.0000.00817.30
8.1.60.0040.00417.63
8.1.50.0000.00817.39
8.1.40.0000.00817.41
8.1.30.0040.00417.63
8.1.20.0000.00717.64
8.1.10.0030.00617.53
8.1.00.0080.00017.43
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0030.00318.31
8.0.270.0030.00317.11
8.0.260.0030.00316.75
8.0.250.0070.00016.88
8.0.240.0030.00616.91
8.0.230.0030.00316.86
8.0.220.0030.00316.88
8.0.210.0000.00716.82
8.0.200.0000.00716.91
8.0.190.0080.00416.95
8.0.180.0060.00316.86
8.0.170.0040.00416.86
8.0.160.0000.00716.91
8.0.150.0080.00016.76
8.0.140.0040.00416.78
8.0.130.0000.00513.30
8.0.120.0030.00516.77
8.0.110.0070.00016.68
8.0.100.0040.00416.69
8.0.90.0040.00416.72
8.0.80.0060.01216.88
8.0.70.0000.00716.89
8.0.60.0040.00416.71
8.0.50.0040.00416.86
8.0.30.0050.01217.08
8.0.20.0080.01317.40
8.0.10.0030.00516.89
8.0.00.0100.00716.58
7.4.330.0050.00015.55
7.4.320.0000.00716.47
7.4.300.0000.00616.49
7.4.290.0000.00716.46
7.4.280.0040.00416.51
7.4.270.0040.00416.61
7.4.260.0020.00213.30
7.4.250.0000.00716.55
7.4.240.0040.00416.52
7.4.230.0000.00716.48
7.4.220.0100.01116.57
7.4.210.0040.01116.42
7.4.200.0000.00716.40
7.4.160.0070.01016.38
7.4.150.0060.01817.40
7.4.140.0080.00917.86
7.4.130.0160.00016.52
7.4.120.0120.00716.49
7.4.110.0070.01016.38
7.4.100.0130.00316.48
7.4.90.0090.00916.39
7.4.80.0100.00619.39
7.4.70.0020.01516.40
7.4.60.0150.00016.60
7.4.50.0080.00816.55
7.4.40.0090.00816.46
7.4.30.0190.00416.53
7.4.00.0030.01315.04
7.3.330.0020.00213.23
7.3.320.0000.00513.04
7.3.310.0030.00316.13
7.3.300.0030.00316.21
7.3.290.0060.00916.20
7.3.280.0070.00916.21
7.3.270.0090.00817.40
7.3.260.0060.01016.15
7.3.250.0120.00916.27
7.3.240.0130.00316.42
7.3.230.0130.01216.23
7.3.210.0120.00616.09
7.3.200.0070.01116.32
7.3.190.0100.00716.32
7.3.180.0090.00916.48
7.3.170.0090.00616.43
7.3.160.0140.00716.36
7.3.10.0080.00816.52
7.3.00.0040.01116.39
7.2.330.0100.00716.46
7.2.320.0110.00616.67
7.2.310.0100.00716.54
7.2.300.0060.01316.32
7.2.290.0110.01116.41
7.2.130.0030.01216.44
7.2.120.0110.00616.77
7.2.110.0000.01216.77
7.2.100.0070.01016.69
7.2.90.0030.00616.48
7.2.80.0000.01516.47
7.2.70.0080.00816.54
7.2.60.0040.00816.66
7.2.50.0090.00616.80
7.2.40.0060.00317.01
7.2.30.0000.01516.54
7.2.20.0040.01116.98
7.2.10.0000.01116.74
7.2.00.0090.00418.10
7.1.250.0040.00815.51
7.1.200.0000.01415.68
7.1.100.0040.01117.98
7.1.70.3100.01315.04
7.1.60.2470.01033.04
7.1.50.2930.01332.76
7.1.40.2830.01332.39
7.1.30.3600.02032.61
7.1.20.3100.01732.71
7.1.10.2600.01014.67
7.1.00.3370.01014.57
7.0.200.3730.00714.67
7.0.190.3600.00314.66
7.0.180.3230.01314.24
7.0.170.3730.01314.31
7.0.160.3600.01314.26
7.0.150.2930.01014.58
7.0.140.3670.01014.26
7.0.130.3130.01314.55
7.0.120.2400.01714.55
7.0.110.2700.02314.17
7.0.100.2470.01314.43
7.0.90.1900.02014.54
7.0.80.2400.01014.38
7.0.70.2430.01014.45
7.0.60.2300.01314.26
7.0.50.2070.01014.46
7.0.40.2370.01014.59
7.0.30.2130.01314.42
7.0.20.2200.01314.62
7.0.10.2430.02014.40
7.0.00.2170.02014.41

preferences:
46.74 ms | 400 KiB | 5 Q