3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! class Foo { static function bar() { } } $klass = 'Foo'; $method = 'bar'; var_dump(is_callable($klass::$method()));

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.40.0070.00718.71
8.3.30.0110.00318.80
8.3.20.0000.00720.22
8.3.10.0070.00023.52
8.3.00.0040.00420.61
8.2.170.0090.00622.96
8.2.160.0100.00322.30
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00422.13
8.2.110.0050.00322.20
8.2.100.0040.00817.65
8.2.90.0070.00019.22
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0030.00618.07
8.2.40.0040.00419.38
8.2.30.0040.00417.93
8.2.20.0040.00417.52
8.2.10.0000.00817.61
8.2.00.0030.00617.60
8.1.270.0080.00023.88
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0040.00423.84
8.1.230.0110.00019.22
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.43
8.1.180.0000.00918.10
8.1.170.0040.00418.59
8.1.160.0070.00021.94
8.1.150.0040.00418.56
8.1.140.0040.00417.43
8.1.130.0040.00417.82
8.1.120.0030.00317.46
8.1.110.0000.00717.29
8.1.100.0000.00717.29
8.1.90.0000.00717.35
8.1.80.0000.00717.42
8.1.70.0030.00317.37
8.1.60.0040.00417.46
8.1.50.0040.00417.47
8.1.40.0000.00817.51
8.1.30.0030.00617.67
8.1.20.0000.00717.66
8.1.10.0040.00417.58
8.1.00.0000.00717.41
8.0.300.0070.00018.77
8.0.290.0040.00417.15
8.0.280.0050.00218.42
8.0.270.0000.00717.18
8.0.260.0040.00418.46
8.0.250.0040.00416.78
8.0.240.0030.00316.83
8.0.230.0000.00816.87
8.0.220.0000.00716.75
8.0.210.0070.00016.71
8.0.200.0000.00616.87
8.0.190.0040.00416.84
8.0.180.0040.00416.86
8.0.170.0000.00716.81
8.0.160.0050.00216.80
8.0.150.0040.00416.83
8.0.140.0030.00416.61
8.0.130.0030.00313.18
8.0.120.0040.00416.78
8.0.110.0000.00816.84
8.0.100.0050.00216.65
8.0.90.0000.00716.70
8.0.80.0100.00716.81
8.0.70.0030.00316.64
8.0.60.0070.00016.83
8.0.50.0070.00016.71
8.0.30.0060.01216.82
8.0.20.0090.00917.42
8.0.10.0000.00716.81
8.0.00.0130.00616.90
7.4.330.0030.00315.04
7.4.320.0030.00316.39
7.4.300.0000.00616.59
7.4.290.0020.00516.50
7.4.280.0050.00316.45
7.4.270.0030.00316.48
7.4.260.0070.00416.57
7.4.250.0040.00416.49
7.4.240.0000.00716.52
7.4.230.0070.00016.59
7.4.220.0070.01116.53
7.4.210.0080.00616.63
7.4.200.0040.00416.53
7.4.190.0050.00216.55
7.4.160.0150.00316.21
7.4.150.0130.00517.40
7.4.140.0090.00817.86
7.4.130.0060.01016.53
7.4.120.0070.01016.53
7.4.110.0060.01016.46
7.4.100.0060.01016.54
7.4.90.0130.00616.47
7.4.80.0100.00616.46
7.4.70.0110.00716.57
7.4.60.0040.01216.40
7.4.50.0080.00016.34
7.4.40.0140.00022.77
7.4.30.0130.00316.17
7.4.00.0110.00715.23
7.3.330.0000.00513.07
7.3.320.0050.00013.14
7.3.310.0040.00316.34
7.3.300.0060.00016.16
7.3.290.0090.00616.26
7.3.280.0150.00316.29
7.3.270.0190.00017.40
7.3.260.0080.00816.70
7.3.250.0100.00916.39
7.3.240.0090.00616.25
7.3.230.0150.00816.45
7.3.210.0070.01416.23
7.3.200.0110.00719.39
7.3.190.0080.00816.48
7.3.180.0090.00616.51
7.3.170.0060.01016.33
7.3.160.0070.01016.30
7.3.120.0100.00714.86
7.3.110.0060.01314.64
7.3.100.0090.00614.47
7.3.90.0070.00414.94
7.3.80.0090.00314.80
7.3.70.0100.00714.66
7.3.60.0130.00314.86
7.3.50.0070.00314.55
7.3.40.0130.00014.57
7.3.30.0030.00614.86
7.3.20.0030.01016.54
7.3.10.0030.00716.38
7.3.00.0050.00516.51
7.2.330.0000.01616.48
7.2.320.0080.00816.38
7.2.310.0100.00716.57
7.2.300.0090.00916.44
7.2.290.0030.01316.49
7.2.250.0070.01015.03
7.2.240.0030.01715.05
7.2.230.0060.01015.09
7.2.220.0000.01314.64
7.2.210.0000.01214.48
7.2.200.0030.01414.86
7.2.190.0030.01414.79
7.2.180.0070.01114.96
7.2.170.0100.00714.86
7.2.60.0030.01016.82
7.1.330.0090.00316.02
7.1.320.0100.00315.70
7.1.310.0080.00815.80
7.1.300.0060.00915.62
7.1.290.0000.01215.60
7.1.280.0090.00615.75
7.1.270.0030.00815.45
7.1.260.0030.00915.93
7.1.200.0000.01215.83
7.1.70.0000.00817.16
7.1.60.0100.01319.32
7.1.50.0030.00716.93
7.1.00.0030.07722.36
7.0.200.0070.00316.61
7.0.140.0070.07022.12
7.0.60.0070.08719.98
7.0.50.0070.05317.84
7.0.40.0070.09020.13
7.0.30.0230.08320.08
7.0.20.0200.06020.09
7.0.10.0070.07720.15
7.0.00.0030.04020.25
5.6.280.0000.07721.10
5.6.210.0000.05020.53
5.6.200.0030.05718.19
5.6.190.0100.08720.55
5.6.180.0230.06720.67
5.6.170.0270.08320.56
5.6.160.0070.05720.43
5.6.150.0030.07718.18
5.6.140.0070.07318.23
5.6.130.0070.06018.14
5.6.120.0070.08321.14
5.6.110.0100.04321.14
5.6.100.0100.07721.08
5.6.90.0100.08021.10
5.6.80.0100.07320.41
5.5.350.0030.04320.43
5.5.340.0070.04317.95
5.5.330.0030.08720.40
5.5.320.0330.08720.23
5.5.310.0270.08320.27
5.5.300.0170.07017.98
5.5.290.0070.05317.95
5.5.280.0070.07320.65
5.5.270.0130.08020.98
5.5.260.0170.05020.68
5.5.250.0070.08020.70
5.5.240.0270.05020.37
5.4.450.0270.04719.55
5.4.440.0370.05719.54
5.4.430.0330.04719.30
5.4.420.0370.07019.39
5.4.410.0370.06719.14
5.4.400.0300.07719.07
5.4.390.0230.06718.82
5.4.380.0230.08019.21
5.4.370.0330.06318.99
5.4.360.0370.06719.06
5.4.350.0370.06719.09
5.4.340.0300.06719.14
5.4.320.0300.07019.25
5.4.310.0270.04318.98
5.4.300.0400.06318.94
5.4.290.0300.07319.06
5.4.280.0200.04019.10
5.4.270.0300.06019.23
5.4.260.0300.05319.16
5.4.250.0270.07719.21
5.4.240.0330.06319.30
5.4.230.0300.07319.21
5.4.220.0330.06719.19
5.4.210.0330.05318.97
5.4.200.0300.06319.14
5.4.190.0230.06319.13
5.4.180.0400.05719.18
5.4.170.0270.08019.12
5.4.160.0300.06718.96
5.4.150.0300.05718.92
5.4.140.0330.06016.36
5.4.130.0300.05316.49
5.4.120.0270.05016.30
5.4.110.0270.04016.27
5.4.100.0270.06316.41
5.4.90.0400.05716.54
5.4.80.0300.03716.52
5.4.70.0330.05016.43
5.4.60.0230.07316.43
5.4.50.0270.06016.56
5.4.40.0230.05016.42
5.4.30.0230.03716.57
5.4.20.0230.06316.43
5.4.10.0230.04716.52
5.4.00.0230.03715.80
5.3.290.0500.05314.63
5.3.280.0300.07014.48
5.3.270.0200.04314.68
5.3.260.0330.06714.48
5.3.250.0270.04314.52
5.3.240.0300.07014.69
5.3.230.0300.07314.68
5.3.220.0330.06714.47
5.3.210.0370.06014.47
5.3.200.0330.06014.61
5.3.190.0270.03714.48
5.3.180.0270.05314.60
5.3.170.0230.07314.63
5.3.160.0330.06014.53
5.3.150.0230.05314.53
5.3.140.0370.05314.70
5.3.130.0230.06314.46
5.3.120.0300.06314.70
5.3.110.0400.06314.54
5.3.100.0230.05314.13
5.3.90.0230.04013.99
5.3.80.0270.04014.18
5.3.70.0230.04714.13
5.3.60.0230.06014.24
5.3.50.0230.07713.88
5.3.40.0270.05314.03
5.3.30.0330.05314.06
5.3.20.0270.07013.59
5.3.10.0230.07013.66
5.3.00.0300.06013.73
5.2.170.0300.02012.22
5.2.160.0230.03012.22
5.2.150.0130.04712.22
5.2.140.0270.05712.22
5.2.130.0300.05012.22
5.2.120.0230.05312.22
5.2.110.0230.05312.22
5.2.100.0270.05312.22
5.2.90.0300.05712.22
5.2.80.0300.05312.22
5.2.70.0230.06012.22
5.2.60.0230.06012.22
5.2.50.0230.04012.22
5.2.40.0170.03312.22
5.2.30.0200.06012.22
5.2.20.0200.06012.22
5.2.10.0200.05012.22
5.2.00.0330.05012.22
5.1.60.0170.03712.22
5.1.50.0200.05712.22
5.1.40.0230.04312.22
5.1.30.0230.04312.22
5.1.20.0230.05312.22
5.1.10.0230.04012.22
5.1.00.0300.04312.22
5.0.50.0200.03712.22
5.0.40.0170.03312.22
5.0.30.0170.06012.22
5.0.20.0130.04312.22
5.0.10.0130.03712.22
5.0.00.0100.06012.22
4.4.90.0100.03312.22
4.4.80.0070.04012.22
4.4.70.0100.02712.22
4.4.60.0130.03312.22
4.4.50.0130.02712.22
4.4.40.0100.05012.22
4.4.30.0130.03312.22
4.4.20.0070.02312.22
4.4.10.0100.03712.22
4.4.00.0100.05012.22
4.3.110.0200.03012.22
4.3.100.0100.02012.22
4.3.90.0170.02712.22
4.3.80.0100.05312.22
4.3.70.0100.03012.22
4.3.60.0130.03012.22
4.3.50.0100.03312.22
4.3.40.0100.05312.22
4.3.30.0030.03312.22
4.3.20.0030.04012.22
4.3.10.0070.03312.22
4.3.00.0030.03712.22

preferences:
38.63 ms | 400 KiB | 5 Q