3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace boule\de\ta\mere; class foo{} $class = '\\boule\\de\\ta\\mere\\foo'; $object = new $class(); var_dump($object instanceof \boule\de\ta\mere\foo); var_dump(is_a($object, 'boule\de\ta\mere\foo'));

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.00618.03
8.3.50.0100.00622.12
8.3.40.0070.01118.79
8.3.30.0030.01719.09
8.3.20.0030.01420.38
8.3.10.0080.00023.51
8.3.00.0040.00421.02
8.2.180.0160.00316.63
8.2.170.0140.00722.96
8.2.160.0070.00720.20
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00420.62
8.2.110.0090.00922.25
8.2.100.0030.00720.38
8.2.90.0000.00919.10
8.2.80.0030.00517.97
8.2.70.0070.00317.50
8.2.60.0060.00617.68
8.2.50.0060.00318.07
8.2.40.0030.00619.88
8.2.30.0040.00418.18
8.2.20.0000.00817.49
8.2.10.0040.00418.06
8.2.00.0080.00017.63
8.1.280.0070.01425.92
8.1.270.0060.00323.79
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.18
8.1.230.0030.00718.98
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0030.00617.23
8.1.180.0080.00018.10
8.1.170.0040.00418.32
8.1.160.0000.00721.96
8.1.150.0070.00018.48
8.1.140.0040.00417.29
8.1.130.0030.00617.83
8.1.120.0040.00417.30
8.1.110.0040.00417.44
8.1.100.0040.00417.37
8.1.90.0000.00717.24
8.1.80.0030.00417.46
8.1.70.0000.00717.21
8.1.60.0040.00417.43
8.1.50.0040.00417.43
8.1.40.0030.00517.40
8.1.30.0000.00917.56
8.1.20.0080.00017.59
8.1.10.0040.00417.58
8.1.00.0000.00717.45
8.0.300.0070.00018.77
8.0.290.0030.00316.63
8.0.280.0050.00318.38
8.0.270.0050.00217.19
8.0.260.0090.00017.19
8.0.250.0000.00716.81
8.0.240.0050.00216.73
8.0.230.0030.00316.87
8.0.220.0070.00016.89
8.0.210.0040.00716.88
8.0.200.0060.00016.91
8.0.190.0070.00016.88
8.0.180.0030.00316.85
8.0.170.0040.00416.95
8.0.160.0070.00016.77
8.0.150.0000.00816.70
8.0.140.0030.00616.85
8.0.130.0040.00413.23
8.0.120.0050.00316.69
8.0.110.0000.00716.79
8.0.100.0050.00216.71
8.0.90.0000.00816.65
8.0.80.0090.00616.80
8.0.70.0050.00216.77
8.0.60.0040.00416.77
8.0.50.0000.00916.79
8.0.30.0090.01017.17
8.0.20.0090.00917.40
8.0.10.0000.00716.88
8.0.00.0140.00416.78
7.4.330.0020.00215.03
7.4.320.0070.00016.44
7.4.300.0000.00616.54
7.4.290.0030.00316.45
7.4.280.0000.00716.57
7.4.270.0070.00016.58
7.4.260.0000.00716.49
7.4.250.0040.00416.38
7.4.240.0040.00316.57
7.4.230.0030.00316.52
7.4.220.0090.00816.50
7.4.210.0060.00916.58
7.4.200.0030.00316.41
7.4.160.0130.00316.45
7.4.150.0120.00617.40
7.4.140.0140.00317.86
7.4.130.0100.00816.45
7.4.120.0100.00716.52
7.4.110.0130.00316.58
7.4.100.0110.00716.34
7.4.90.0190.00316.43
7.4.80.0110.00619.39
7.4.70.0080.00816.47
7.4.60.0100.00616.41
7.4.50.0060.00316.62
7.4.40.0090.00616.23
7.4.30.0120.00316.55
7.4.00.0040.01214.82
7.3.330.0030.00313.11
7.3.320.0030.00313.10
7.3.310.0070.00016.29
7.3.300.0070.00016.11
7.3.290.0070.00716.29
7.3.280.0090.01016.25
7.3.270.0070.01017.40
7.3.260.0140.00316.17
7.3.250.0090.00816.40
7.3.240.0150.00616.18
7.3.230.0130.00316.39
7.3.210.0070.01116.37
7.3.200.0100.00719.39
7.3.190.0110.00616.33
7.3.180.0150.00616.50
7.3.170.0060.00916.27
7.3.160.0100.00616.30
7.3.120.0020.01514.78
7.3.110.0140.00314.66
7.3.100.0000.01414.92
7.3.90.0070.00414.96
7.3.80.0050.00514.72
7.3.70.0030.01014.56
7.3.60.0030.01014.65
7.3.50.0030.00714.65
7.3.40.0030.00514.60
7.3.30.0060.00614.63
7.3.20.0000.01016.66
7.3.10.0090.00616.63
7.3.00.0040.00716.52
7.2.330.0180.00016.55
7.2.320.0050.01216.43
7.2.310.0070.01016.50
7.2.300.0030.01316.57
7.2.290.0140.00316.42
7.2.250.0100.01014.44
7.2.240.0030.01215.00
7.2.230.0060.00915.26
7.2.220.0030.00815.05
7.2.210.0090.00314.86
7.2.200.0060.01014.95
7.2.190.0090.00614.80
7.2.180.0140.00314.84
7.2.170.0030.00914.82
7.2.60.0110.00416.66
7.2.00.0030.00919.48
7.1.330.0060.01015.90
7.1.320.0090.00315.86
7.1.310.0070.00715.88
7.1.300.0090.00315.58
7.1.290.0030.00615.69
7.1.280.0040.01115.78
7.1.270.0030.00715.75
7.1.260.0060.00615.81
7.1.200.0070.00715.59
7.1.100.0110.00718.21
7.1.70.0000.00816.86
7.1.60.0130.01019.70
7.1.50.0190.00316.86
7.1.00.0070.07322.44
7.0.200.0110.00416.41
7.0.140.0100.06722.07
7.0.120.0070.07022.15
7.0.110.0070.07321.94
7.0.100.0030.06322.02
7.0.90.0070.07321.97
7.0.80.0000.06322.06
7.0.70.0030.07322.05
7.0.60.0030.07321.72
7.0.50.0000.07322.08
7.0.40.0000.07722.07
7.0.30.0030.07022.05
7.0.20.0000.07722.11
7.0.10.0000.06722.06
7.0.00.0000.06322.16
5.6.280.0030.07320.93
5.6.260.0000.07720.84
5.6.250.0030.06321.05
5.6.240.0000.08021.07
5.6.230.0070.07321.03
5.6.220.0000.07320.99
5.6.210.0100.06720.95
5.6.200.0100.07021.01
5.6.190.0070.07321.01
5.6.180.0000.07720.83
5.6.170.0030.07320.85
5.6.160.0030.07320.93
5.6.150.0030.06320.92
5.6.140.0070.07020.93
5.6.130.0000.07320.84
5.6.120.0030.09320.92
5.6.110.0030.07720.93
5.6.100.0000.07720.71
5.6.90.0000.07320.91
5.6.80.0000.06320.30
5.6.70.0100.05320.44
5.6.60.0000.07720.41
5.6.50.0000.07020.30
5.6.40.0000.07320.40
5.6.30.0070.07020.20
5.6.20.0130.06320.11
5.6.10.0100.06320.15
5.6.00.0030.06720.35
5.5.380.0030.07017.73
5.5.370.0000.06317.60
5.5.360.0070.06317.59
5.5.350.0030.07017.66
5.5.340.0000.07317.91
5.5.330.0000.07018.25
5.5.320.0070.06718.08
5.5.310.0070.07018.22
5.5.300.0070.06718.07
5.5.290.0070.07017.91
5.5.280.0070.07318.12
5.5.270.0030.06718.13
5.5.260.0070.07318.24
5.5.250.0000.07717.77
5.5.240.0030.06717.29
5.5.230.0070.06717.29
5.5.220.0000.06017.51
5.5.210.0000.07017.31
5.5.200.0000.07017.28
5.5.190.0030.07017.28
5.5.180.0070.06717.60
5.5.160.0030.06717.57
5.5.150.0000.07017.39
5.5.140.0070.06317.27
5.5.130.0070.06317.57
5.5.120.0030.06717.48
5.5.110.0070.06317.17
5.5.100.0030.07017.31
5.5.90.0000.05017.16
5.5.80.0030.06717.32
5.5.70.0000.07317.15
5.5.60.0030.06717.33
5.5.50.0000.06717.37
5.5.40.0030.06317.29
5.5.30.0030.06317.29
5.5.20.0070.06717.16
5.5.10.0000.07017.37
5.5.00.0030.07017.07
5.4.450.0100.08719.33
5.4.440.0070.07019.48
5.4.430.0070.06719.34
5.4.420.0000.07319.35
5.4.410.0100.06019.19
5.4.400.0070.06019.18
5.4.390.0030.07018.99
5.4.380.0130.05719.24
5.4.370.0000.07019.32
5.4.360.0030.06319.02
5.4.350.0000.07019.01
5.4.340.0000.07318.99
5.4.320.0000.07319.18
5.4.310.0070.06018.94
5.4.300.0070.06319.22
5.4.290.0030.06719.30
5.4.280.0070.06719.17
5.4.270.0070.05019.18
5.4.260.0000.06719.21
5.4.250.0030.06718.99
5.4.240.0100.06019.14
5.4.230.0070.06318.96
5.4.220.0000.07019.20
5.4.210.0030.06719.17
5.4.200.0070.06019.23
5.4.190.0000.06319.16
5.4.180.0030.07019.23
5.4.170.0000.06718.93
5.4.160.0030.06719.20
5.4.150.0030.07019.28
5.4.140.0030.05716.52
5.4.130.0070.06016.58
5.4.120.0030.06316.45
5.4.110.0030.06716.56
5.4.100.0000.06716.54
5.4.90.0000.05716.58
5.4.80.0100.05016.29
5.4.70.0070.05716.48
5.4.60.0030.06316.52
5.4.50.0030.06316.63
5.4.40.0030.06316.61
5.4.30.0030.06316.50
5.4.20.0030.06316.39
5.4.10.0100.06016.51
5.4.00.0070.05715.98
5.3.290.0030.07014.54
5.3.280.0030.06714.68
5.3.270.0030.06714.60
5.3.260.0000.07014.63
5.3.250.0030.06714.59
5.3.240.0030.06014.65
5.3.230.0000.06714.60
5.3.220.0070.06314.56
5.3.210.0000.07314.70
5.3.200.0070.06314.55
5.3.190.0100.04714.53
5.3.180.0070.05714.78
5.3.170.0030.06314.56
5.3.160.0070.06014.53
5.3.150.0000.06714.69
5.3.140.0000.06314.63
5.3.130.0030.07014.39
5.3.120.0030.07014.63
5.3.110.0030.07014.52
5.3.100.0000.07014.26
5.3.90.0030.06314.10
5.3.80.0070.06014.15
5.3.70.0000.06313.98
5.3.60.0000.06713.99
5.3.50.0100.05713.95
5.3.40.0030.05713.98
5.3.30.0030.06013.96
5.3.20.0000.06713.70
5.3.10.0000.06713.63
5.3.00.0000.06713.63
5.2.170.0030.05311.15
5.2.160.0030.05311.08
5.2.150.0070.05311.18
5.2.140.0000.05711.02
5.2.130.0070.04011.04
5.2.120.0000.05311.17
5.2.110.0000.05311.05
5.2.100.0000.05311.05
5.2.90.0070.05011.16
5.2.80.0000.05711.01
5.2.70.0000.05711.04
5.2.60.0000.05710.95
5.2.50.0030.05010.91
5.2.40.0070.04710.93
5.2.30.0030.05310.92
5.2.20.0000.05310.88
5.2.10.0000.04310.71
5.2.00.0000.05710.73
5.1.60.0070.0439.96
5.1.50.0000.0479.92
5.1.40.0000.0509.89
5.1.30.0030.05010.34
5.1.20.0000.05010.36
5.1.10.0030.04710.08
5.1.00.0030.04710.24
5.0.50.0000.0409.70
5.0.40.0000.0409.70
5.0.30.0000.0509.70
5.0.20.0030.0279.70
5.0.10.0070.0309.70
5.0.00.0000.0579.70
4.4.90.0030.0309.70
4.4.80.0000.0309.70
4.4.70.0030.0239.70
4.4.60.0000.0279.70
4.4.50.0000.0279.70
4.4.40.0000.0509.70
4.4.30.0100.0239.70
4.4.20.0000.0309.70
4.4.10.0030.0279.70
4.4.00.0030.0439.70
4.3.110.0000.0279.70
4.3.100.0030.0209.70
4.3.90.0000.0309.70
4.3.80.0030.0439.70
4.3.70.0000.0279.70
4.3.60.0030.0279.70
4.3.50.0000.0309.70
4.3.40.0000.0479.70
4.3.30.0000.0279.70
4.3.20.0030.0279.70
4.3.10.0000.0279.70
4.3.00.0000.0279.70

preferences:
50.95 ms | 401 KiB | 5 Q