3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __call($method, $args) { } } $callable = 'Foo::fooBar'; var_dump(is_callable($callable)); //var_dump(call_user_func($callable));

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.0110.00718.43
8.3.50.0090.00921.94
8.3.40.0070.00718.70
8.3.30.0120.00318.89
8.3.20.0080.00020.04
8.3.10.0080.00021.91
8.3.00.0080.00022.34
8.2.180.0120.00616.38
8.2.170.0120.00322.96
8.2.160.0160.00420.79
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00419.18
8.2.110.0030.00622.25
8.2.100.0120.00019.45
8.2.90.0000.00719.11
8.2.80.0030.00617.97
8.2.70.0090.00317.36
8.2.60.0080.00017.65
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0090.00018.06
8.2.20.0040.00417.50
8.2.10.0070.00017.78
8.2.00.0040.00417.54
8.1.280.0030.01725.92
8.1.270.0060.00322.20
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0000.00923.74
8.1.230.0040.00719.01
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.27
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0040.00421.88
8.1.150.0070.00018.48
8.1.140.0070.00017.38
8.1.130.0030.00317.85
8.1.120.0040.00417.30
8.1.110.0000.00717.39
8.1.100.0030.00517.36
8.1.90.0000.00717.35
8.1.80.0000.00717.31
8.1.70.0000.00717.38
8.1.60.0000.00817.50
8.1.50.0040.00417.34
8.1.40.0000.00817.41
8.1.30.0000.00717.58
8.1.20.0040.00417.46
8.1.10.0000.00817.45
8.1.00.0030.00517.33
8.0.300.0070.00018.77
8.0.290.0000.00717.05
8.0.280.0040.00418.33
8.0.270.0030.00317.22
8.0.260.0030.00616.65
8.0.250.0000.00716.76
8.0.240.0060.00316.91
8.0.230.0030.00316.89
8.0.220.0000.00716.77
8.0.210.0080.00016.84
8.0.200.0030.00316.89
8.0.190.0000.00816.83
8.0.180.0000.00716.74
8.0.170.0040.00416.86
8.0.160.0000.00816.94
8.0.150.0030.00516.65
8.0.140.0000.00816.68
8.0.130.0060.00013.15
8.0.120.0020.00516.78
8.0.110.0040.00416.81
8.0.100.0040.00416.84
8.0.90.0040.00416.68
8.0.80.0090.00916.75
8.0.70.0060.00316.77
8.0.60.0070.00016.86
8.0.50.0000.00716.79
8.0.30.0150.00916.79
8.0.20.0090.01217.40
8.0.10.0080.00016.93
8.0.00.0120.00816.62
7.4.330.0050.00015.03
7.4.320.0060.00016.43
7.4.300.0030.00316.32
7.4.290.0070.00016.42
7.4.280.0000.00716.34
7.4.270.0000.00716.48
7.4.260.0040.00416.38
7.4.250.0040.00416.40
7.4.240.0050.00216.44
7.4.230.0000.00716.47
7.4.220.0090.00916.48
7.4.210.0090.00916.53
7.4.200.0000.00716.52
7.4.190.0020.00516.59
7.4.160.0110.00616.31
7.4.150.0060.01017.40
7.4.140.0090.01017.86
7.4.130.0130.00816.23
7.4.120.0120.00516.34
7.4.110.0090.00916.41
7.4.100.0170.00316.57
7.4.90.0100.00716.41
7.4.80.0100.00916.51
7.4.70.0060.00916.50
7.4.60.0110.00616.39
7.4.50.0060.00316.34
7.4.40.0030.01022.77
7.4.30.0030.01616.31
7.4.00.0070.00714.89
7.3.330.0040.00413.05
7.3.320.0050.00012.98
7.3.310.0000.00716.15
7.3.300.0030.00315.99
7.3.290.0070.01116.16
7.3.280.0060.01016.15
7.3.270.0120.00617.40
7.3.260.0070.01016.24
7.3.250.0150.00516.37
7.3.240.0090.01216.44
7.3.230.0090.01016.39
7.3.210.0070.01416.27
7.3.200.0030.01719.39
7.3.190.0130.00316.23
7.3.180.0070.01016.18
7.3.170.0130.00316.27
7.3.160.0130.00916.27
7.3.120.0000.01614.95
7.2.330.0060.01116.39
7.2.320.0180.00016.30
7.2.310.0110.01116.24
7.2.300.0100.00616.47
7.2.290.0070.01016.59
7.2.00.0000.01319.29
7.1.200.0120.00315.58
7.1.100.0030.01018.00
7.1.70.0000.00817.07
7.1.60.0140.00719.82
7.1.50.0000.01116.74
7.1.00.0030.07722.48
7.0.200.0030.00716.69
7.0.140.0070.06721.96
7.0.60.0170.07320.00
7.0.50.0070.08017.87
7.0.40.0130.06020.26
7.0.30.0230.08320.17
7.0.20.0330.06020.10
7.0.10.0330.07020.19
7.0.00.0070.08320.16
5.6.280.0000.07721.15
5.6.210.0030.06020.75
5.6.200.0000.04318.27
5.6.190.0070.05720.46
5.6.180.0330.07020.61
5.6.170.0300.07720.57
5.6.160.0000.04320.46
5.6.150.0000.04318.16
5.6.140.0030.04018.18
5.6.130.0070.07018.23
5.6.120.0070.08320.89
5.6.110.0000.04721.09
5.6.100.0070.05020.98
5.6.90.0030.04020.95
5.6.80.0170.07320.53
5.6.70.0430.06320.53
5.5.350.0270.08020.41
5.5.340.0000.06017.92
5.5.330.0100.08020.30
5.5.320.0270.05020.43
5.5.310.0270.07320.34
5.5.300.0100.03318.06
5.5.290.0200.07318.08
5.5.280.0130.08020.88
5.5.270.0030.08320.97
5.5.260.0030.08720.79
5.5.250.0270.05020.75
5.5.240.0000.08320.22
5.4.450.0530.06719.55
5.4.440.0830.05319.48
5.4.430.0030.06319.54
5.4.420.0170.04719.21
5.4.410.0070.05718.96
5.4.400.0070.05718.82
5.4.390.0100.07018.76
5.4.380.0200.05718.50
5.4.370.0300.05018.69
5.4.360.0300.04718.56
5.4.350.0130.06018.84
5.4.340.0330.04718.70
5.4.320.0030.03912.50
5.4.310.0070.04912.50
5.4.300.0110.03812.50
5.4.290.0070.04412.50
5.4.280.0050.05512.39
5.4.270.0130.05018.84
5.4.260.0170.06319.09
5.4.250.0100.06319.22
5.4.240.0100.05318.84
5.4.230.0100.07319.13
5.4.220.0070.05718.94
5.4.210.0030.08018.98
5.4.200.0100.05018.94
5.4.190.0030.07019.13
5.4.180.0100.06718.97
5.4.170.0030.06318.90
5.4.160.0100.06718.83
5.4.150.0070.08019.05
5.4.140.0000.06016.59
5.4.130.0070.05016.38
5.4.120.0200.06016.68
5.4.110.0070.05316.59
5.4.100.0000.07716.68
5.4.90.0000.06716.50
5.4.80.0100.04716.70
5.4.70.0100.06716.66
5.4.60.0070.05016.59
5.4.50.0100.04716.60
5.4.40.0030.05716.45
5.4.30.0130.06016.55
5.4.20.0170.06316.61
5.4.10.0100.06316.65
5.4.00.0030.05316.09
5.3.290.0060.04012.80
5.3.280.0100.05014.78
5.3.270.0000.06314.66
5.3.260.0070.05714.90
5.3.250.0070.05014.82
5.3.240.0030.06014.65
5.3.230.0170.06714.88
5.3.220.0070.05714.78
5.3.210.0100.05014.85
5.3.200.0130.04314.61
5.3.190.0130.05314.68
5.3.180.0030.06014.61
5.3.170.0070.06714.84
5.3.160.0170.04014.55
5.3.150.0100.06314.74
5.3.140.0070.05014.72
5.3.130.0170.06714.83
5.3.120.0170.06314.60
5.3.110.0070.08014.82
5.3.100.0030.05314.32
5.3.90.0030.07014.29
5.3.80.0070.05714.06
5.3.70.0030.07714.23
5.3.60.0030.06014.29
5.3.50.0100.06314.22
5.3.40.0230.06014.16
5.3.30.0070.06714.19
5.3.20.0130.06013.57
5.3.10.0070.05013.52
5.3.00.0000.05713.84
5.2.170.0030.04311.34
5.2.160.0030.04311.32
5.2.150.0030.04311.43
5.2.140.0030.06311.33
5.2.130.0030.04711.32
5.2.120.0030.04311.10
5.2.110.0170.03311.28
5.2.100.0030.04710.97
5.2.90.0070.04011.14
5.2.80.0030.04711.08
5.2.70.0030.05711.35
5.2.60.0100.04710.93
5.2.50.0130.05711.23
5.2.40.0100.04011.12
5.2.30.0170.04711.25
5.2.20.0130.04010.95
5.2.10.0230.06011.03
5.2.00.0070.06310.77
5.1.60.0030.03710.30
5.1.50.0070.03010.21
5.1.40.0100.02710.23
5.1.30.0100.03010.61
5.1.20.0000.04710.47
5.1.10.0030.04010.37
5.1.00.0070.03710.27
5.0.50.0070.0239.94
5.0.40.0030.0279.94
5.0.30.0030.0409.94
5.0.20.0030.0339.94
5.0.10.0070.0379.94
5.0.00.0030.0439.94
4.4.90.0070.0179.94
4.4.80.0030.0309.94
4.4.70.0000.0279.94
4.4.60.0030.0239.94
4.4.50.0000.0239.94
4.4.40.0000.0379.94
4.4.30.0030.0209.94
4.4.20.0030.0309.94
4.4.10.0030.0279.94
4.4.00.0070.0379.94
4.3.110.0000.0239.94
4.3.100.0030.0239.94
4.3.90.0070.0179.94
4.3.80.0030.0339.94
4.3.70.0030.0239.94
4.3.60.0000.0209.94
4.3.50.0000.0239.94
4.3.40.0030.0339.94
4.3.30.0000.0239.94
4.3.20.0030.0239.94
4.3.10.0030.0239.94
4.3.00.0000.01315.59

preferences:
59.85 ms | 401 KiB | 5 Q