3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Person { public function name($name) { return $this>name($name); } } $user = new Person; var_dump($person->name('chris'));

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.70.0070.00718.43
8.3.60.0120.00316.63
8.3.50.0120.00721.05
8.3.40.0140.00418.76
8.3.30.0140.00018.41
8.3.20.0090.00620.27
8.3.10.0050.00321.77
8.3.00.0030.00622.34
8.2.190.0100.00718.43
8.2.180.0150.00616.73
8.2.170.0090.00622.96
8.2.160.0140.00420.39
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0050.00317.50
8.2.110.0060.00319.30
8.2.100.0060.00617.84
8.2.90.0080.00019.08
8.2.80.0030.00617.97
8.2.70.0080.00017.49
8.2.60.0000.00817.80
8.2.50.0000.01018.07
8.2.40.0030.00521.10
8.2.30.0060.00319.66
8.2.20.0040.00417.74
8.2.10.0050.00217.98
8.2.00.0000.00717.97
8.1.280.0130.00725.92
8.1.270.0150.00020.23
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00423.97
8.1.230.0080.00417.42
8.1.220.0040.00417.74
8.1.210.0050.00518.77
8.1.200.0070.00417.23
8.1.190.0080.00017.23
8.1.180.0050.00318.10
8.1.170.0000.00818.44
8.1.160.0060.00321.82
8.1.150.0000.00718.82
8.1.140.0000.00817.30
8.1.130.0000.00717.55
8.1.120.0000.00917.46
8.1.110.0040.00417.39
8.1.100.0030.00317.39
8.1.90.0040.00417.31
8.1.80.0000.00717.38
8.1.70.0000.00717.45
8.1.60.0030.00517.51
8.1.50.0070.00017.46
8.1.40.0080.00017.41
8.1.30.0030.00617.69
8.1.20.0040.00417.54
8.1.10.0040.00417.47
8.1.00.0000.00817.55
8.0.300.0070.00018.77
8.0.290.0070.00016.75
8.0.280.0050.00318.31
8.0.270.0040.00417.11
8.0.260.0030.00317.18
8.0.250.0000.00716.96
8.0.240.0050.00316.80
8.0.230.0030.00316.80
8.0.220.0000.00716.88
8.0.210.0040.00416.91
8.0.200.0060.00016.91
8.0.190.0040.00416.92
8.0.180.0080.00016.84
8.0.170.0050.00316.92
8.0.160.0050.00216.85
8.0.150.0000.00716.85
8.0.140.0000.00716.73
8.0.130.0000.00513.34
8.0.120.0080.00016.77
8.0.110.0040.00416.93
8.0.100.0040.00416.77
8.0.90.0030.00516.79
8.0.80.0120.00316.81
8.0.70.0040.00416.81
8.0.60.0020.00516.72
8.0.50.0050.00316.99
8.0.30.0130.00517.12
8.0.20.0120.00917.40
8.0.10.0070.00016.86
8.0.00.0070.01016.75
7.4.330.0020.00215.08
7.4.320.0060.00016.45
7.4.300.0030.00316.50
7.4.290.0000.00716.58
7.4.280.0050.00216.50
7.4.270.0070.00016.40
7.4.260.0070.00016.58
7.4.250.0000.00816.57
7.4.240.0070.00016.58
7.4.230.0030.00316.70
7.4.220.0120.01216.43
7.4.210.0090.00716.62
7.4.200.0030.00416.50
7.4.160.0110.00416.32
7.4.150.0040.01517.40
7.4.140.0130.00617.86
7.4.130.0090.00916.44
7.4.120.0110.00616.73
7.4.110.0070.01016.60
7.4.100.0150.00716.71
7.4.90.0070.01016.46
7.4.80.0120.00819.39
7.4.70.0150.00316.58
7.4.60.0110.00516.60
7.4.50.0090.00016.11
7.4.40.0110.00416.34
7.4.30.0090.00916.50
7.4.00.0020.01515.05
7.3.330.0000.00513.25
7.3.320.0000.00613.22
7.3.310.0030.00516.33
7.3.300.0030.00316.29
7.3.290.0000.00616.30
7.3.280.0100.00516.29
7.3.270.0140.00417.40
7.3.260.0150.00316.54
7.3.250.0060.01116.43
7.3.240.0090.01016.46
7.3.230.0160.00316.39
7.3.210.0100.00616.26
7.3.200.0090.00919.39
7.3.190.0030.01416.43
7.3.180.0120.00916.41
7.3.170.0040.01716.40
7.3.160.0100.00716.21
7.3.120.0040.01214.99
7.3.110.0040.01414.79
7.3.100.0030.01214.47
7.3.90.0070.00714.63
7.3.80.0040.01214.94
7.3.70.0070.00414.54
7.3.60.0060.00614.78
7.3.50.0070.00314.66
7.3.40.0060.00314.66
7.3.30.0040.00814.63
7.3.20.0080.00416.67
7.3.10.0090.00316.43
7.3.00.0130.00316.71
7.2.330.0140.01116.56
7.2.320.0090.00916.75
7.2.310.0090.00916.65
7.2.300.0030.01316.46
7.2.290.0150.00316.55
7.2.250.0090.01214.70
7.2.240.0070.00714.60
7.2.230.0080.00815.27
7.2.220.0090.00314.81
7.2.210.0070.00714.92
7.2.200.0030.01014.98
7.2.190.0030.00615.09
7.2.180.0030.01315.08
7.2.170.0070.00714.76
7.2.60.0120.00016.90
7.2.00.0100.00719.40
7.1.330.0040.01215.35
7.1.320.0030.00915.30
7.1.310.0030.00815.44
7.1.300.0070.01015.73
7.1.290.0060.00315.63
7.1.280.0060.00915.41
7.1.270.0060.00615.57
7.1.260.0000.01315.81
7.1.200.0100.00315.63
7.1.100.0050.00817.93
7.1.70.0000.00816.96
7.1.60.0130.01020.03
7.1.50.0090.00416.82
7.1.00.0100.06722.54
7.0.200.0530.00714.97
7.0.60.0100.07019.89
7.0.50.0030.04017.88
7.0.40.0130.08020.27
7.0.30.0470.08020.16
7.0.20.0400.07020.21
7.0.10.0100.08720.15
7.0.00.0070.07320.08
5.6.280.0030.05721.10
5.6.210.0170.07020.61
5.6.200.0130.06318.19
5.6.190.0000.06320.57
5.6.180.0330.04020.55
5.6.170.0300.05720.48
5.6.160.0070.07020.43
5.6.150.0100.06718.14
5.6.140.0070.07018.23
5.6.130.0030.05318.18
5.6.120.0100.08021.04
5.6.110.0030.05320.98
5.6.100.0130.08721.11
5.6.90.0130.08021.02
5.6.80.0130.06720.37
5.6.70.1400.03320.47
5.5.350.0070.07720.39
5.5.340.0030.07318.03
5.5.330.0130.05720.23
5.5.320.0330.08020.28
5.5.310.0200.05020.32
5.5.300.0130.07318.07
5.5.290.0070.05017.94
5.5.280.0070.06320.87
5.5.270.0100.06020.98
5.5.260.0070.07020.84
5.5.250.0070.03720.55
5.5.240.2800.03720.29
5.4.450.0700.07019.20
5.4.440.1070.06719.63
5.4.430.0600.06019.44
5.4.420.0130.05719.47
5.4.410.0500.07319.06
5.4.400.0900.05719.31
5.4.390.0830.07019.39
5.4.380.0300.06318.84
5.4.370.0570.05319.23
5.4.360.1130.06019.37
5.4.350.0800.05319.30
5.4.340.0970.05018.98
5.4.320.0470.05719.01
5.4.310.0330.05319.23
5.4.300.0600.06719.05
5.4.290.0830.06319.14
5.4.280.0830.05719.26
5.4.270.0630.05019.14
5.4.260.0770.05719.05
5.4.250.0730.08719.00
5.4.240.0700.05719.27
5.4.230.1030.06319.28
5.4.220.1100.06018.86
5.4.210.0970.05019.24
5.4.200.0830.05716.93
5.4.190.0870.07319.33
5.4.180.0700.06018.84
5.4.170.0630.06018.88
5.4.160.0570.06319.20
5.4.150.0300.05718.87
5.4.140.0770.05016.36
5.4.130.0670.05016.52
5.4.120.0570.05716.40
5.4.110.0970.05016.49
5.4.100.0700.05716.26
5.4.90.0800.06016.52
5.4.80.0870.06316.50
5.4.70.0930.07016.34
5.4.60.0370.05316.43
5.4.50.0000.05316.27
5.4.40.0000.04716.33
5.4.30.0100.03716.51
5.4.20.0270.07316.43

preferences:
49.58 ms | 401 KiB | 5 Q