3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { } class Bar extends Foo { } var_dump(is_a('Foo', 'Foo', true)); var_dump(is_a('Bar', 'Foo', true)); var_dump(is_a('Bar', 'Bar', true));

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.0150.00416.63
8.3.50.0090.01022.75
8.3.40.0110.00418.44
8.3.30.0080.00618.83
8.3.20.0040.00420.19
8.3.10.0040.00420.26
8.3.00.0050.00320.79
8.2.180.0140.00718.17
8.2.170.0140.00722.96
8.2.160.0030.01020.44
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0150.00019.11
8.2.110.0070.00319.21
8.2.100.0070.00417.78
8.2.90.0040.00419.05
8.2.80.0000.00719.39
8.2.70.0050.00317.36
8.2.60.0080.00017.80
8.2.50.0030.00618.07
8.2.40.0080.00018.22
8.2.30.0050.00319.43
8.2.20.0080.00017.47
8.2.10.0070.00017.87
8.2.00.0080.00017.60
8.1.280.0140.00325.92
8.1.270.0030.00623.97
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0030.00622.38
8.1.230.0030.00720.89
8.1.220.0080.00018.77
8.1.210.0030.00618.91
8.1.200.0090.00017.10
8.1.190.0040.00417.40
8.1.180.0030.00518.10
8.1.170.0030.00618.56
8.1.160.0060.00318.80
8.1.150.0080.00018.66
8.1.140.0070.00017.23
8.1.130.0030.00317.30
8.1.120.0070.00017.24
8.1.110.0040.00417.21
8.1.100.0030.00517.20
8.1.90.0000.00717.23
8.1.80.0000.00817.16
8.1.70.0030.00317.21
8.1.60.0030.00517.46
8.1.50.0000.00817.26
8.1.40.0070.00317.27
8.1.30.0000.00817.41
8.1.20.0040.00417.50
8.1.10.0000.00817.37
8.1.00.0000.00717.32
8.0.300.0090.00019.96
8.0.290.0000.00717.04
8.0.280.0030.00318.31
8.0.270.0000.00817.12
8.0.260.0000.00716.73
8.0.250.0070.00016.85
8.0.240.0030.00316.78
8.0.230.0050.00216.72
8.0.220.0070.00016.75
8.0.210.0000.00716.77
8.0.200.0020.00516.84
8.0.190.0080.00016.69
8.0.180.0050.00316.71
8.0.170.0070.00016.81
8.0.160.0030.00416.73
8.0.150.0030.00316.74
8.0.140.0000.00816.58
8.0.130.0030.00313.14
8.0.120.0030.00516.70
8.0.110.0000.00716.75
8.0.100.0040.00416.75
8.0.90.0040.00416.65
8.0.80.0030.01516.71
8.0.70.0070.00016.75
8.0.60.0000.00716.80
8.0.50.0040.00416.55
8.0.30.0180.00816.87
8.0.20.0050.01317.40
8.0.10.0050.00316.76
8.0.00.0080.01216.62
7.4.330.0000.00515.02
7.4.320.0060.00016.47
7.4.300.0000.00616.38
7.4.290.0000.00816.35
7.4.280.0000.01016.41
7.4.270.0040.00416.40
7.4.260.0000.00716.36
7.4.250.0070.00016.35
7.4.240.0020.00516.45
7.4.230.0030.00316.46
7.4.220.0070.01116.30
7.4.210.0100.00616.40
7.4.200.0040.00416.16
7.4.160.0050.01516.48
7.4.150.0170.00017.40
7.4.140.0080.01317.86
7.4.130.0110.00616.26
7.4.120.0100.00716.37
7.4.110.0030.01516.24
7.4.100.0100.00716.27
7.4.90.0040.01216.34
7.4.80.0140.00319.39
7.4.70.0060.01116.16
7.4.60.0090.00916.37
7.4.50.0000.00816.13
7.4.40.0060.01016.48
7.4.30.0080.00816.39
7.4.00.0030.00914.89
7.3.330.0040.00313.03
7.3.320.0050.00013.04
7.3.310.0040.00416.27
7.3.300.0000.00716.18
7.3.290.0080.00916.18
7.3.280.0110.00616.17
7.3.270.0140.00317.40
7.3.260.0080.01516.20
7.3.250.0100.01016.33
7.3.240.0150.00616.38
7.3.230.0110.00716.39
7.3.210.0070.01016.21
7.3.200.0060.01119.39
7.3.190.0130.00316.36
7.3.180.0080.00816.25
7.3.170.0100.00716.36
7.3.160.0120.01416.22
7.2.330.0110.00716.43
7.2.320.0070.01116.42
7.2.310.0160.00316.30
7.2.300.0140.00416.18
7.2.290.0100.01316.55
7.2.00.0060.00318.84
7.1.100.0030.00718.30
7.1.70.0000.00717.01
7.1.60.0100.01419.34
7.1.50.0070.01616.75
7.1.00.0100.07022.44
7.0.200.0060.00316.53
7.0.140.0030.04022.21
7.0.60.0100.08319.90
7.0.50.0070.04017.81
7.0.40.0070.07020.40
7.0.30.0470.05720.12
7.0.20.0430.06320.06
7.0.10.0100.03720.06
7.0.00.0100.08020.06
5.6.280.0100.06721.13
5.6.210.0100.08320.71
5.6.200.0100.08018.22
5.6.190.0130.06720.67
5.6.180.3200.04020.63
5.6.170.0200.08320.55
5.6.160.0100.08720.44
5.6.150.0170.04018.21
5.6.140.0070.08318.23
5.6.130.0070.03718.15
5.6.120.0070.05321.01
5.6.110.0030.06021.00
5.6.100.0170.07020.96
5.6.90.0100.07720.96
5.6.80.0170.07020.48
5.6.70.4430.04020.41
5.5.350.0130.08020.28
5.5.340.0030.05017.95
5.5.330.0030.07020.41
5.5.320.0230.05020.35
5.5.310.0200.05720.32
5.5.300.0030.04318.01
5.5.290.0030.08317.97
5.5.280.0100.05320.87
5.5.270.0070.06020.76
5.5.260.0070.08720.85
5.5.250.0030.08320.78
5.5.240.0370.06320.13
5.4.450.0600.05037.90
5.4.440.0470.03737.90
5.4.430.0300.04337.83
5.4.420.0370.03737.83
5.4.410.0170.05037.83
5.4.400.0100.03737.83
5.4.390.0330.04037.81
5.4.380.0800.03737.77
5.4.370.0370.03336.25
5.4.360.0530.03034.68
5.4.350.0130.03713.78
5.4.340.0070.04013.80
5.4.320.0100.04714.32
5.4.310.0130.05014.27
5.4.300.0130.03314.27
5.4.290.0000.05014.20
5.4.280.0030.04314.30
5.4.270.0130.04014.39
5.4.260.0100.03714.18
5.4.250.0100.04314.39
5.4.240.0070.04714.16
5.4.230.0030.04714.14
5.4.220.0100.03314.07
5.4.210.0030.04014.14
5.4.200.0100.05014.14
5.4.190.0130.03314.12
5.4.180.0130.03714.21
5.4.170.0000.04314.13
5.4.160.0100.03714.27
5.4.150.0030.05014.27
5.4.140.0130.03713.85
5.4.130.0000.05013.82
5.4.120.0100.04313.79
5.4.110.0070.04713.76
5.4.100.0100.04013.71
5.4.90.0130.03313.72
5.4.80.0100.04313.78
5.4.70.0070.03713.76
5.4.60.0030.04013.75
5.4.50.0100.04713.76
5.4.40.0070.04313.75
5.4.30.0030.04013.73
5.4.20.0030.04013.76
5.4.10.0000.04713.98
5.4.00.0030.04313.47
5.3.290.0030.04314.84
5.3.280.0070.04314.77
5.3.270.0130.03314.80
5.3.260.0030.04314.77
5.3.250.0030.04714.57
5.3.240.0030.04014.56
5.3.230.0030.04714.54
5.3.220.0030.04314.60
5.3.210.0070.04014.51
5.3.200.0100.03714.48
5.3.190.0100.03714.59
5.3.180.0070.04014.74
5.3.170.0070.03714.57
5.3.160.0100.03314.59
5.3.150.0100.03714.61
5.3.140.0130.04014.68
5.3.130.0100.04014.60
5.3.120.0100.03714.56
5.3.110.0030.05314.46
5.3.100.0100.05014.06
5.3.90.0100.03713.93
5.3.80.0100.03314.12
5.3.70.0070.04014.00
5.3.60.0130.03313.96
5.3.50.0130.03013.98
5.3.40.0100.03713.94
5.3.30.0070.04013.88
5.3.20.0070.03713.63
5.3.10.0230.03313.56
5.3.00.0200.03713.61
5.2.170.0070.03711.06
5.2.160.0070.03711.06
5.2.150.0070.03711.07
5.2.140.0100.03311.18
5.2.130.0100.03311.12
5.2.120.0100.02711.09
5.2.110.0130.02311.02
5.2.100.0070.03011.25
5.2.90.0070.02711.02
5.2.80.0130.02711.09
5.2.70.0130.03711.05
5.2.60.0130.02711.20
5.2.50.0070.03010.98
5.2.40.0000.03710.93
5.2.30.0030.03311.04
5.2.20.0030.04010.93
5.2.10.0100.03010.89
5.2.00.0030.03310.65
5.1.60.0100.0239.95
5.1.50.0030.0279.95
5.1.40.0070.0239.93
5.1.30.0070.02710.30
5.1.20.0030.03010.29
5.1.10.0070.02710.03
5.1.00.0070.02310.04
5.0.50.0030.0208.68
5.0.40.0030.0208.49
5.0.30.0070.0308.20
5.0.20.0030.0208.37
5.0.10.0030.0238.14
5.0.00.0000.0338.09
4.4.90.0000.0235.85
4.4.80.0030.0205.82
4.4.70.0000.0175.84
4.4.60.0030.0205.99
4.4.50.0000.0175.89
4.4.40.0000.0305.89
4.4.30.0000.0205.85
4.4.20.0000.0175.95
4.4.10.0000.0175.89
4.4.00.0030.0235.85
4.3.110.0000.0175.84
4.3.100.0030.0135.92
4.3.90.0000.0175.90
4.3.80.0030.0275.75
4.3.70.0000.0175.73
4.3.60.0000.0175.73
4.3.50.0030.0175.89
4.3.40.0000.0305.69
4.3.30.0030.0204.66
4.3.20.0000.0204.46
4.3.10.0070.0104.43
4.3.00.0030.02032.09

preferences:
52.01 ms | 401 KiB | 5 Q