3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(class_exists('validatorCheck')); class B extends validatorCheck2 {} class validatorCheck2 {} class validatorCheck implements ArrayAccess { function offsetGet($key){} function offsetSet($key, $value) {} function offsetUnset($key) {} function offsetExists($offset) {} //class end } var_dump(class_exists('validatorCheck')); ?>

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.0030.01216.63
8.3.50.0110.01017.43
8.3.40.0130.00618.53
8.3.30.0140.00018.56
8.3.20.0080.00018.80
8.3.10.0040.00420.39
8.3.00.0060.00319.25
8.2.180.0110.00416.75
8.2.170.0110.00422.96
8.2.160.0100.00320.35
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0090.00019.23
8.2.110.0090.00021.00
8.2.100.0080.00317.78
8.2.90.0030.00720.78
8.2.80.0080.00017.91
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0000.00818.03
8.2.20.0040.00417.61
8.2.10.0040.00417.56
8.2.00.0040.00417.63
8.1.280.0090.00925.92
8.1.270.0070.00024.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00322.35
8.1.230.0090.00320.97
8.1.220.0050.00317.74
8.1.210.0040.00418.88
8.1.200.0060.00317.23
8.1.190.0060.00317.53
8.1.180.0050.00318.10
8.1.170.0040.00418.95
8.1.160.0040.00418.72
8.1.150.0040.00418.51
8.1.140.0000.00717.46
8.1.130.0040.00417.78
8.1.120.0000.00717.42
8.1.110.0030.00517.30
8.1.100.0050.00217.38
8.1.90.0030.00617.32
8.1.80.0000.00717.43
8.1.70.0000.00717.36
8.1.60.0040.00417.51
8.1.50.0020.00517.43
8.1.40.0050.00217.45
8.1.30.0030.00617.54
8.1.20.0050.00217.63
8.1.10.0000.00817.44
8.1.00.0040.00417.23
8.0.300.0070.00019.98
8.0.290.0000.00716.63
8.0.280.0000.00818.31
8.0.270.0040.00417.20
8.0.260.0060.00016.88
8.0.250.0040.00416.85
8.0.240.0000.00716.89
8.0.230.0000.00716.78
8.0.220.0070.00016.83
8.0.210.0040.00416.88
8.0.200.0000.00716.92
8.0.190.0000.00816.98
8.0.180.0000.00716.88
8.0.170.0080.00016.81
8.0.160.0000.00816.91
8.0.150.0030.00516.88
8.0.140.0040.00416.70
8.0.130.0030.00313.27
8.0.120.0040.00416.84
8.0.110.0040.00416.83
8.0.100.0040.00416.87
8.0.90.0050.00316.72
8.0.80.0100.00416.83
8.0.70.0050.00216.77
8.0.60.0040.00416.63
8.0.50.0050.00316.96
8.0.30.0100.00917.01
8.0.20.0130.00616.95
8.0.10.0040.00416.84
8.0.00.0160.01716.70
7.4.330.0020.00213.05
7.4.320.0000.00716.54
7.4.300.0000.00716.60
7.4.290.0030.00316.57
7.4.280.0040.00416.45
7.4.270.0000.00716.47
7.4.260.0050.00013.12
7.4.250.0030.00716.54
7.4.240.0030.00316.53
7.4.230.0040.00416.50
7.4.220.0060.01916.54
7.4.210.0060.00916.51
7.4.200.0050.00216.43
7.4.190.0040.00416.55
7.4.160.0120.00616.38
7.4.150.0080.00916.30
7.4.140.0090.00916.49
7.4.130.0150.00716.51
7.4.120.0080.01116.44
7.4.110.0140.00916.37
7.4.100.0090.00916.57
7.4.90.0130.01016.51
7.4.80.0030.01419.39
7.4.70.0060.01016.52
7.4.60.0080.00816.42
7.4.50.0000.00616.25
7.4.40.0030.01016.03
7.4.30.0100.00716.59
7.4.00.0050.01015.02
7.3.330.0000.00713.27
7.3.320.0000.00513.17
7.3.310.0000.00716.25
7.3.300.0070.00016.21
7.3.290.0100.01016.25
7.3.280.0120.00516.21
7.3.270.0100.00716.40
7.3.260.0090.00916.26
7.3.250.0140.00616.51
7.3.240.0120.00616.43
7.3.230.0110.00616.18
7.3.210.0100.00716.33
7.3.200.0100.00716.32
7.3.190.0110.01116.41
7.3.180.0060.00916.65
7.3.170.0080.00816.33
7.3.160.0050.01116.44
7.3.120.0060.00914.63
7.3.110.0030.00914.71
7.3.100.0040.01214.94
7.3.90.0070.01014.84
7.3.80.0030.01014.69
7.3.70.0000.01114.55
7.3.60.0030.00914.73
7.3.50.0040.01114.63
7.3.40.0040.00814.41
7.3.30.0100.00614.46
7.3.20.0080.00416.48
7.3.10.0130.00216.53
7.3.00.0050.01016.29
7.2.330.0000.01716.34
7.2.320.0140.00316.63
7.2.310.0140.01016.57
7.2.300.0060.01016.48
7.2.290.0130.00316.46
7.2.250.0000.01615.00
7.2.240.0000.01814.89
7.2.230.0130.00314.84
7.2.220.0090.00914.88
7.2.210.0070.01014.71
7.2.200.0110.00414.73
7.2.190.0100.00314.89
7.2.180.0100.00014.69
7.2.170.0140.00314.91
7.2.130.0060.00916.74
7.2.120.0090.00616.57
7.2.110.0070.01016.42
7.2.100.0000.01616.71
7.2.90.0060.01216.67
7.2.80.0090.00916.79
7.2.70.0000.01416.62
7.2.60.0120.00316.64
7.2.50.0030.01016.93
7.2.40.0040.01216.93
7.2.30.0070.00716.75
7.2.20.0060.00916.99
7.2.10.0060.00916.59
7.2.00.0060.00916.88
7.1.330.0070.00715.47
7.1.320.0030.00615.66
7.1.310.0090.00615.43
7.1.300.0060.00815.62
7.1.290.0080.00015.56
7.1.280.0070.01015.58
7.1.270.0000.01515.63
7.1.260.0040.01115.57
7.1.250.0030.01015.52
7.1.100.0130.00318.00
7.1.70.0000.01016.92
7.1.60.0100.00719.40
7.1.50.0150.01116.80
7.1.00.0030.07322.46
7.0.200.0610.00614.82
7.0.140.0000.07722.09
7.0.120.0100.06022.04
7.0.60.0100.08019.84
7.0.50.0070.04017.86
7.0.40.0230.07020.05
7.0.30.0330.07320.11
7.0.20.0170.06720.30
7.0.10.0200.04320.26
7.0.00.0030.09320.33
5.6.280.0030.07320.86
5.6.210.0070.06720.63
5.6.200.0130.06318.19
5.6.190.0070.05020.67
5.6.180.0300.04720.63
5.6.170.0230.04020.41
5.6.160.0130.07720.52
5.6.150.0100.07018.19
5.6.140.0030.07318.12
5.6.130.0130.08318.24
5.6.120.0000.08021.13
5.6.110.0170.04321.10
5.6.100.0100.03720.98
5.6.90.0030.04020.98
5.6.80.0070.07720.49
5.5.350.0270.06720.39
5.5.340.0100.03317.97
5.5.330.0030.04320.43
5.5.320.0200.04320.21
5.5.310.0230.07020.38
5.5.300.0070.06017.94
5.5.290.0100.07717.95
5.5.280.0130.05720.89
5.5.270.0070.08020.77
5.5.260.0100.07320.73
5.5.250.0130.06320.69
5.5.240.0070.03320.26
5.4.450.0030.09019.53
5.4.440.0070.05719.25
5.4.430.0030.05719.17
5.4.420.0030.04019.47
5.4.410.0070.03719.40
5.4.400.0100.07019.14
5.4.390.0100.04318.86
5.4.380.0000.05018.87
5.4.370.0070.03718.85
5.4.360.0100.07319.24
5.4.350.0100.06019.21
5.4.340.0070.06719.24
5.4.320.0130.07319.25
5.4.310.0030.04018.96
5.4.300.0070.04019.24
5.4.290.0100.06319.14
5.4.280.0030.04718.86
5.4.270.0100.07019.24
5.4.260.0000.08019.16
5.4.250.0070.08018.86
5.4.240.0030.05718.84
5.4.230.0100.06019.25
5.4.220.0130.07719.14
5.4.210.0130.06719.23
5.4.200.0070.07319.07
5.4.190.0100.07019.02
5.4.180.0000.04718.91
5.4.170.0170.06719.13
5.4.160.0130.07319.12
5.4.150.0030.04319.13
5.4.140.0170.05016.55
5.4.130.0030.08016.45
5.4.120.0070.04016.37
5.4.110.0000.05716.59
5.4.100.0100.06716.35
5.4.90.0100.04016.51
5.4.80.0070.05316.44
5.4.70.0100.06716.32
5.4.60.0170.05716.66
5.4.50.0100.06016.42
5.4.40.0070.07716.43
5.4.30.0100.04016.46
5.4.20.0030.04716.25
5.4.10.0070.04016.25
5.4.00.0070.03315.82
5.3.290.0130.05714.56
5.3.280.0100.07314.74
5.3.270.0130.03714.63
5.3.260.0030.06014.66
5.3.250.0070.05014.62
5.3.240.0000.08014.50
5.3.230.0100.07714.63
5.3.220.0100.07014.57
5.3.210.0100.07314.46
5.3.200.0070.05714.61
5.3.190.0070.07714.63
5.3.180.0100.07714.58
5.3.170.0100.07014.45
5.3.160.0070.04014.59
5.3.150.0130.04014.57
5.3.140.0030.04714.59
5.3.130.0030.05014.57
5.3.120.0100.07314.61
5.3.110.0000.04014.44
5.3.100.0000.05314.05
5.3.90.0030.04314.18
5.3.80.0070.04713.97
5.3.70.0070.04314.02
5.3.60.0070.03714.05
5.3.50.0000.04014.03
5.3.40.0030.04013.95
5.3.30.0000.06313.98
5.3.20.0130.06313.73
5.3.10.0030.06713.71
5.3.00.0070.07013.68
5.2.170.0000.03311.16
5.2.160.0030.04711.10
5.2.150.0030.06711.11
5.2.140.0000.07011.04
5.2.130.0170.05311.27
5.2.120.0030.06711.16
5.2.110.0000.03711.18
5.2.100.0070.06011.14
5.2.90.0070.06011.11
5.2.80.0100.04311.11
5.2.70.0130.05311.11
5.2.60.0070.02711.10
5.2.50.0100.05311.07
5.2.40.0070.05711.02
5.2.30.0100.05710.98
5.2.20.0100.04311.02
5.2.10.0030.06010.84
5.2.00.0000.06710.73
5.1.60.0070.05010.02
5.1.50.0030.05710.05
5.1.40.0070.04710.03
5.1.30.0070.05010.50
5.1.20.0100.05010.24
5.1.10.0000.06010.23
5.1.00.0100.02310.22
5.0.50.0030.0208.54
5.0.40.0030.0438.40
5.0.30.0000.0438.14
5.0.20.0070.0408.21
5.0.10.0030.0438.20
5.0.00.0070.0508.23
4.4.90.0000.0377.76
4.4.80.0030.0177.76
4.4.70.0070.0237.76
4.4.60.0070.0237.76
4.4.50.0070.0207.76
4.4.40.0030.0537.76
4.4.30.0070.0307.76
4.4.20.0030.0177.76
4.4.10.0000.0337.76
4.4.00.0030.0507.76
4.3.110.0000.0407.76
4.3.100.0030.0337.76
4.3.90.0000.0377.76
4.3.80.0030.0377.76
4.3.70.0030.0237.76
4.3.60.0000.0207.76
4.3.50.0000.0307.76
4.3.40.0070.0337.76
4.3.30.0000.0277.76
4.3.20.0000.0207.76
4.3.10.0030.0177.76
4.3.00.0030.0177.76

preferences:
43.58 ms | 401 KiB | 5 Q