3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class base { final public function check($obj) { var_dump($obj instanceof $this); var_dump($obj); var_dump($this); } } class test extends base {} $test = 'test'; $test= new $test; $test->check($test);

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.0170.00316.25
8.3.60.0090.00918.43
8.3.50.0150.00521.27
8.3.40.0090.01218.81
8.3.30.0140.00019.13
8.3.20.0040.00420.34
8.3.10.0040.00423.61
8.3.00.0030.00519.38
8.2.190.0070.01416.58
8.2.180.0150.00416.59
8.2.170.0000.01422.96
8.2.160.0100.00720.52
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00819.54
8.2.110.0030.00720.88
8.2.100.0090.00317.50
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0030.00618.05
8.2.50.0040.00418.07
8.2.40.0000.00818.16
8.2.30.0040.00417.99
8.2.20.0000.00817.68
8.2.10.0000.00718.12
8.2.00.0040.00417.55
8.1.280.0070.01025.92
8.1.270.0000.01220.56
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00323.92
8.1.230.0100.00019.09
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0110.00417.35
8.1.190.0000.00817.11
8.1.180.0000.00818.10
8.1.170.0000.00720.73
8.1.160.0050.00321.94
8.1.150.0040.00418.70
8.1.140.0040.00417.30
8.1.130.0000.00717.82
8.1.120.0030.00317.32
8.1.110.0030.00317.27
8.1.100.0080.00017.33
8.1.90.0040.00417.37
8.1.80.0030.00517.30
8.1.70.0040.00417.40
8.1.60.0040.00417.58
8.1.50.0050.00517.42
8.1.40.0060.00317.46
8.1.30.0080.00017.59
8.1.20.0050.00217.63
8.1.10.0020.00517.63
8.1.00.0000.01017.39
8.0.300.0040.00418.77
8.0.290.0000.01016.75
8.0.280.0030.00318.38
8.0.270.0030.00317.24
8.0.260.0030.00317.19
8.0.250.0000.00716.93
8.0.240.0040.00416.87
8.0.230.0070.00016.83
8.0.220.0000.00716.82
8.0.210.0000.00916.76
8.0.200.0030.00316.87
8.0.190.0000.00716.89
8.0.180.0040.00416.79
8.0.170.0040.00416.76
8.0.160.0050.00316.81
8.0.150.0000.00716.83
8.0.140.0040.00416.77
8.0.130.0050.00013.35
8.0.120.0040.00416.77
8.0.110.0050.00316.76
8.0.100.0040.00416.64
8.0.90.0000.00716.69
8.0.80.0070.01416.77
8.0.70.0040.00416.69
8.0.60.0000.00716.86
8.0.50.0000.00816.82
8.0.30.0170.00717.01
8.0.20.0140.00517.40
8.0.10.0050.00516.95
8.0.00.0070.01016.71
7.4.330.0000.00615.02
7.4.320.0040.00416.53
7.4.300.0040.00416.69
7.4.290.0000.00716.55
7.4.280.0000.00716.55
7.4.270.0060.00016.50
7.4.260.0040.00416.40
7.4.250.0000.00716.42
7.4.240.0070.00016.47
7.4.230.0000.00716.57
7.4.220.0170.00316.52
7.4.210.0000.01416.54
7.4.200.0000.00816.42
7.4.160.0090.01216.48
7.4.150.0080.01217.40
7.4.140.0120.00617.86
7.4.130.0090.01216.57
7.4.120.0080.00916.43
7.4.110.0150.00616.68
7.4.100.0150.00416.61
7.4.90.0110.00616.41
7.4.80.0070.01119.39
7.4.70.0060.01016.59
7.4.60.0130.00316.64
7.4.50.0030.00516.35
7.4.40.0040.01116.61
7.4.30.0090.01316.23
7.4.00.0080.01014.57
7.3.330.0030.00313.24
7.3.320.0000.00513.17
7.3.310.0040.00416.06
7.3.300.0030.00316.19
7.3.290.0060.00816.31
7.3.280.0090.00916.30
7.3.270.0100.00617.40
7.3.260.0100.00616.28
7.3.250.0130.00416.27
7.3.240.0040.01516.59
7.3.230.0130.00816.43
7.3.210.0110.00816.47
7.3.200.0060.01019.39
7.3.190.0100.00716.66
7.3.180.0030.01316.37
7.3.170.0030.01216.45
7.3.160.0060.00916.31
7.3.120.0040.01515.03
7.3.110.0110.00714.62
7.3.100.0000.01514.39
7.3.90.0070.00714.71
7.3.80.0070.01114.77
7.3.70.0000.01514.83
7.3.60.0100.00314.82
7.3.50.0090.00014.48
7.3.40.0030.01214.77
7.3.30.0130.00314.80
7.3.20.0000.01216.60
7.3.10.0130.00316.42
7.3.00.0040.01116.66
7.2.330.0090.00916.61
7.2.320.0070.01016.39
7.2.310.0070.01016.62
7.2.300.0150.00616.35
7.2.290.0110.00616.52
7.2.250.0040.01514.89
7.2.240.0140.00714.76
7.2.230.0050.00515.04
7.2.220.0000.01314.71
7.2.210.0030.01015.06
7.2.200.0030.00714.86
7.2.190.0000.01514.88
7.2.180.0060.00614.98
7.2.170.0080.00814.79
7.2.80.0030.01316.54
7.2.00.0000.01719.09
7.1.330.0030.01015.44
7.1.320.0050.00515.69
7.1.310.0030.01015.86
7.1.300.0070.00715.80
7.1.290.0090.00315.54
7.1.280.0110.00415.88
7.1.270.0100.00715.76
7.1.260.0090.00415.71
7.1.200.0110.00015.79
7.1.100.0040.00418.11
7.1.70.0040.00417.20
7.1.60.0110.01419.32
7.1.50.0140.01016.93
7.1.00.0100.07022.28
7.0.200.0070.00316.80
7.0.140.0030.07722.12
7.0.60.0070.08020.03
7.0.50.0130.08017.87
7.0.40.0130.06320.11
7.0.30.0300.04720.07
7.0.20.0070.05020.10
7.0.10.0070.08020.08
7.0.00.0070.07320.27
5.6.210.0070.08020.73
5.6.200.0030.07718.29
5.6.190.0030.05720.54
5.6.180.0230.05720.39
5.6.170.0270.05720.50
5.6.160.0100.04320.55
5.6.150.0070.08018.14
5.6.140.0100.08018.16
5.6.130.0100.08318.12
5.6.120.0070.07720.89
5.6.110.0070.09021.03
5.6.100.0170.07720.99
5.6.90.0100.08020.95
5.6.80.0100.07320.38
5.6.70.4470.04020.43
5.5.350.0170.08020.34
5.5.340.0100.04317.98
5.5.330.0130.07720.48
5.5.320.0270.05020.27
5.5.310.0200.03720.27
5.5.300.0130.07718.00
5.5.290.0030.04018.09
5.5.280.0030.04020.68
5.5.270.0070.08320.79
5.5.260.0070.03720.84
5.5.250.0000.07320.55
5.5.240.0300.07320.26
5.4.450.0700.07019.34
5.4.440.0330.07019.63
5.4.430.0830.05319.60
5.4.420.0200.04319.57
5.4.410.0070.06019.40
5.4.400.0430.06018.77
5.4.390.0500.04718.56
5.4.380.0600.07718.62
5.4.370.0670.06318.83
5.4.360.0600.05718.70
5.4.350.0500.05018.79
5.4.340.0060.03712.01
5.4.320.0120.05912.50
5.4.310.0060.04312.50
5.4.300.0100.04212.50
5.4.290.0130.04212.50
5.4.280.0080.03712.39
5.4.270.0090.04112.40
5.4.260.0050.03912.39
5.4.250.0070.04212.39
5.4.240.0040.03912.39
5.4.230.0050.04012.38
5.4.220.0060.03812.39
5.4.210.0070.03612.39
5.4.200.0030.04712.39
5.4.190.0080.04012.38
5.4.180.0060.03912.38
5.4.170.0060.03812.39
5.4.160.0080.03512.39
5.4.150.0060.03812.39
5.4.140.0150.06012.07
5.4.130.0060.04112.05
5.4.120.0070.04112.02
5.4.110.0030.04412.01
5.4.100.0120.05012.01
5.4.90.0140.04912.02
5.4.80.0090.05212.02
5.4.70.0080.04712.01
5.4.60.0080.03612.01
5.4.50.0050.03712.00
5.4.40.0090.04112.00
5.4.30.0090.03811.99
5.4.20.0120.03711.99
5.4.10.0070.04012.00
5.4.00.0090.04111.48
5.3.290.0160.06912.80
5.3.280.0160.06812.70
5.3.270.0090.07212.73
5.3.260.0170.07012.72
5.3.250.0060.04712.72
5.3.240.0080.03712.72
5.3.230.0080.03912.70
5.3.220.0060.05512.68
5.3.210.0180.05112.68
5.3.200.0070.04312.68
5.3.190.0090.04512.68
5.3.180.0110.06412.67
5.3.170.0080.04212.67
5.3.160.0100.03712.67
5.3.150.0050.03812.67
5.3.140.0090.03812.66
5.3.130.0160.06512.66
5.3.120.0050.04412.66
5.3.110.0080.03912.66
5.3.100.0060.03912.12
5.3.90.0040.03812.10
5.3.80.0070.04312.09
5.3.70.0110.06512.09
5.3.60.0110.04812.08
5.3.50.0100.04312.02
5.3.40.0050.03812.02
5.3.30.0110.04111.98
5.3.20.0050.04211.77
5.3.10.0080.03811.73
5.3.00.0030.03911.71
5.2.170.0030.0329.22
5.2.160.0050.0309.22
5.2.150.0020.0329.22
5.2.140.0050.0309.22
5.2.130.0050.0319.18
5.2.120.0050.0339.17
5.2.110.0080.0369.18
5.2.100.0060.0389.18
5.2.90.0050.0339.17
5.2.80.0050.0319.16
5.2.70.0080.0389.17
5.2.60.0040.0369.13
5.2.50.0090.0389.09
5.2.40.0070.0339.07
5.2.30.0150.0489.05
5.2.20.0120.0349.03
5.2.10.0060.0368.94
5.2.00.0080.0368.80
5.1.60.0060.0388.09
5.1.50.0040.0318.09
5.1.40.0060.0258.06
5.1.30.0030.0298.41
5.1.20.0060.0258.43
5.1.10.0110.0468.16
5.1.00.0060.0348.16
5.0.50.0060.0216.64
5.0.40.0040.0276.50
5.0.30.0030.0436.31
5.0.20.0050.0206.27
5.0.10.0050.0206.25
5.0.00.0060.0446.25
4.4.90.0020.0194.78
4.4.80.0020.0174.75
4.4.70.0020.0164.75
4.4.60.0040.0154.76
4.4.50.0020.0164.77
4.4.40.0030.0264.71
4.4.30.0060.0174.76
4.4.20.0040.0174.84
4.4.10.0020.0184.85
4.4.00.0030.0244.76
4.3.110.0020.0164.67
4.3.100.0040.0204.66
4.3.90.0080.0234.63
4.3.80.0040.0274.58
4.3.70.0040.0164.63
4.3.60.0020.0184.62
4.3.50.0010.0174.63
4.3.40.0030.0254.54
4.3.30.0050.0253.28
4.3.20.0020.0173.26
4.3.10.0010.0173.22
4.3.00.0070.0177.52

preferences:
31.49 ms | 401 KiB | 5 Q