3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace abc; class b { } class a extends b { public function test(){ var_dump(self::class); } } $a = new \abc\a(); $a->test(); var_dump($a instanceof \abc\a);

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.50
8.3.50.0060.01216.50
8.3.40.0100.00718.42
8.3.30.0140.00018.45
8.3.20.0040.00420.27
8.3.10.0080.00021.66
8.3.00.0080.00022.05
8.2.180.0070.01416.63
8.2.170.0120.00322.96
8.2.160.0140.00018.89
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0110.00719.55
8.2.110.0030.00719.27
8.2.100.0070.00719.45
8.2.90.0000.00919.11
8.2.80.0040.00418.04
8.2.70.0000.01017.49
8.2.60.0000.01017.90
8.2.50.0000.00818.10
8.2.40.0040.00420.60
8.2.30.0050.00319.06
8.2.20.0000.00718.04
8.2.10.0000.00718.00
8.2.00.0000.00717.89
8.1.280.0090.00925.92
8.1.270.0000.00822.19
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0060.00320.83
8.1.230.0080.00319.03
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0040.00417.23
8.1.180.0070.00018.10
8.1.170.0050.00218.88
8.1.160.0040.00419.05
8.1.150.0030.00518.87
8.1.140.0040.00419.57
8.1.130.0030.00618.72
8.1.120.0000.00817.43
8.1.110.0040.00417.35
8.1.100.0070.00017.29
8.1.90.0050.00217.41
8.1.80.0070.00017.38
8.1.70.0000.00817.43
8.1.60.0000.00817.47
8.1.50.0000.00817.56
8.1.40.0040.00417.40
8.1.30.0040.00417.54
8.1.20.0070.00017.57
8.1.10.0030.00517.58
8.1.00.0000.00717.43
8.0.300.0070.00020.08
8.0.290.0000.00716.63
8.0.280.0080.00018.40
8.0.270.0030.00317.10
8.0.260.0030.00316.66
8.0.250.0000.00816.90
8.0.240.0040.00416.82
8.0.230.0080.00016.82
8.0.220.0030.00316.90
8.0.210.0040.00416.82
8.0.200.0000.00616.92
8.0.190.0040.00416.89
8.0.180.0040.00416.74
8.0.170.0000.00816.73
8.0.160.0000.00716.90
8.0.150.0000.00816.67
8.0.140.0000.00716.78
8.0.130.0100.00013.22
8.0.120.0000.00716.80
8.0.110.0030.00316.80
8.0.100.0040.00416.71
8.0.90.0000.00716.62
8.0.80.0120.00916.87
8.0.70.0040.00416.86
8.0.60.0050.00216.82
8.0.50.0050.00316.79
8.0.30.0110.00717.16
8.0.20.0130.01017.40
8.0.10.0040.00316.99
8.0.00.0090.00916.78
7.4.330.0050.00015.55
7.4.320.0000.00616.51
7.4.300.0030.00316.54
7.4.290.0050.00316.50
7.4.280.0000.00816.61
7.4.270.0070.00016.43
7.4.260.0070.00016.58
7.4.250.0030.00616.53
7.4.240.0040.00416.59
7.4.230.0000.00716.57
7.4.220.0060.01216.55
7.4.210.0090.00616.53
7.4.200.0000.00716.57
7.4.160.0110.00516.50
7.4.150.0120.00617.40
7.4.140.0100.00917.86
7.4.130.0060.01216.39
7.4.120.0100.01116.53
7.4.110.0100.00616.41
7.4.100.0150.00616.53
7.4.90.0070.01116.59
7.4.80.0090.00819.39
7.4.70.0110.00616.42
7.4.60.0080.00816.58
7.4.50.0040.01116.37
7.4.40.0060.01116.48
7.4.30.0100.00716.32
7.4.00.0040.01214.84
7.3.330.0030.00313.12
7.3.320.0000.00613.29
7.3.310.0040.00416.32
7.3.300.0040.00416.21
7.3.290.0080.00716.24
7.3.280.0080.00716.27
7.3.270.0120.00617.40
7.3.260.0030.01416.27
7.3.250.0110.00716.34
7.3.240.0080.00816.24
7.3.230.0120.00616.29
7.3.210.0030.01316.34
7.3.200.0060.00916.51
7.3.190.0030.01316.44
7.3.180.0130.00316.60
7.3.170.0090.01316.31
7.3.160.0030.01316.30
7.2.330.0090.00916.34
7.2.320.0070.01016.42
7.2.310.0060.01216.52
7.2.300.0140.00316.73
7.2.290.0080.00816.43
7.2.80.0120.00016.61
7.2.60.0240.00316.48
7.1.200.0030.01015.56
7.1.100.0000.01217.66
7.1.70.0030.01517.19
7.1.60.0220.01634.93
7.1.50.0190.02234.63
7.1.40.0270.00734.21
7.1.30.0170.02134.56
7.1.20.0210.01334.32
7.1.10.0060.01216.52
7.1.00.0090.00616.48
7.0.200.0100.00616.49
7.0.190.0040.01516.79
7.0.180.0030.01515.93
7.0.170.0080.01116.16
7.0.160.0080.01116.29
7.0.150.0090.00916.40
7.0.140.0030.01216.05
7.0.130.0090.01216.30
7.0.120.0060.01316.54
7.0.110.0090.00916.33
7.0.100.0040.01416.15
7.0.90.0070.01016.29
7.0.80.0060.01216.38
7.0.70.0120.00616.31
7.0.60.0040.01016.05
7.0.50.0110.00616.32
7.0.40.0090.00916.39
7.0.30.0090.00916.38
7.0.20.0130.00616.05
7.0.10.0120.00616.21
7.0.00.0120.00616.41

preferences:
56.72 ms | 400 KiB | 5 Q