3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace xyz; function foo($bar) { throw new \Exception(); } function bar() { call_user_func('foo', 'baz'); } bar();

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.00018.68
8.3.50.0160.00521.96
8.3.40.0110.00318.85
8.3.30.0080.00819.10
8.3.20.0080.00020.07
8.3.10.0000.00820.52
8.3.00.0080.00019.13
8.2.180.0100.00716.50
8.2.170.0070.00722.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00422.24
8.2.110.0090.00020.33
8.2.100.0040.00717.91
8.2.90.0040.00419.22
8.2.80.0040.00417.97
8.2.70.0030.00517.50
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0040.00418.22
8.2.30.0040.00719.16
8.2.20.0040.00417.79
8.2.10.0050.00318.01
8.2.00.0040.00417.67
8.1.280.0040.01425.92
8.1.270.0040.00422.09
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.74
8.1.230.0040.00819.09
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0030.00617.25
8.1.190.0050.00317.23
8.1.180.0030.00618.10
8.1.170.0040.00418.44
8.1.160.0000.00722.05
8.1.150.0000.00718.64
8.1.140.0050.00217.36
8.1.130.0000.00717.32
8.1.120.0050.00317.38
8.1.110.0000.00817.36
8.1.100.0040.00417.32
8.1.90.0070.00017.37
8.1.80.0040.00417.34
8.1.70.0000.00717.29
8.1.60.0060.00317.41
8.1.50.0030.00517.48
8.1.40.0040.00417.39
8.1.30.0040.00417.44
8.1.20.0030.00517.63
8.1.10.0080.00017.55
8.1.00.0040.00417.41
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.29
8.0.270.0030.00317.24
8.0.260.0000.00616.80
8.0.250.0070.00016.84
8.0.240.0000.00716.95
8.0.230.0040.00416.97
8.0.220.0030.00316.81
8.0.210.0000.00716.84
8.0.200.0000.00616.86
8.0.190.0100.00016.96
8.0.180.0040.00416.78
8.0.170.0040.00417.00
8.0.160.0050.00216.94
8.0.150.0030.00316.86
8.0.140.0040.00416.86
8.0.130.0030.00313.36
8.0.120.0030.00616.91
8.0.110.0000.00716.81
8.0.100.0040.00416.91
8.0.90.0040.00416.72
8.0.80.0120.00616.81
8.0.70.0040.00417.00
8.0.60.0040.00417.00
8.0.50.0000.00716.86
8.0.30.0060.01417.13
8.0.20.0090.01217.40
8.0.10.0040.00416.80
8.0.00.0070.01016.77
7.4.330.0020.00215.00
7.4.320.0030.00316.46
7.4.300.0030.00316.45
7.4.290.0070.00016.42
7.4.280.0030.00316.46
7.4.270.0030.00516.45
7.4.260.0000.00716.52
7.4.250.0050.00216.48
7.4.240.0040.00416.45
7.4.230.0030.00316.39
7.4.220.0060.01216.39
7.4.210.0030.01616.42
7.4.200.0000.00716.37
7.4.160.0100.00616.26
7.4.150.0100.01317.40
7.4.140.0060.01117.86
7.4.130.0150.00316.44
7.4.120.0030.01816.44
7.4.110.0130.00916.44
7.4.100.0160.00616.43
7.4.90.0100.01516.47
7.4.80.0130.00619.37
7.4.70.0100.00716.55
7.4.60.0170.00716.48
7.4.50.0050.00016.33
7.4.40.0030.01416.27
7.4.30.0150.00616.59
7.4.00.0060.00915.07
7.3.330.0020.00213.15
7.3.320.0030.00313.30
7.3.310.0040.00416.25
7.3.300.0070.00016.34
7.3.290.0070.00716.23
7.3.280.0080.00716.23
7.3.270.0060.01217.40
7.3.260.0110.00716.23
7.3.250.0070.01016.40
7.3.240.0100.01016.46
7.3.230.0030.01516.40
7.3.210.0100.00616.40
7.3.200.0120.00419.39
7.3.190.0110.00816.40
7.3.180.0130.00316.26
7.3.170.0070.01416.38
7.3.160.0080.00816.32
7.2.330.0110.00616.40
7.2.320.0090.00716.27
7.2.310.0030.01316.41
7.2.300.0090.00616.61
7.2.290.0050.01116.53
7.2.60.0070.00416.70
7.2.00.0040.01219.30
7.1.200.0050.00515.49
7.1.100.0090.00418.22
7.1.70.0030.00517.09
7.1.60.0070.01819.32
7.1.50.0070.01416.59
7.1.00.0030.07722.45
7.0.200.0070.00016.46
7.0.140.0030.07021.95
7.0.60.0030.07319.78
7.0.50.0030.06317.95
7.0.40.0030.04319.96
7.0.30.0230.04320.26
7.0.20.0430.06020.10
7.0.10.0100.08720.21
7.0.00.0030.04320.23
5.6.280.0000.07721.11
5.6.210.0100.08020.46
5.6.200.0000.04318.28
5.6.190.0100.08020.67
5.6.180.0400.06320.41
5.6.170.0270.05020.71
5.6.160.0070.08720.54
5.6.150.0070.07018.25
5.6.140.0100.04718.28
5.6.130.0070.05018.18
5.6.120.0000.04721.02
5.6.110.0100.04021.05
5.6.100.0100.05720.98
5.6.90.0130.06721.04
5.6.80.0100.06320.54
5.5.350.0130.08020.53
5.5.340.0000.04717.98
5.5.330.0100.08320.42
5.5.320.0400.07020.35
5.5.310.0370.04320.31
5.5.300.0030.08717.94
5.5.290.0070.03717.96
5.5.280.0030.04320.80
5.5.270.0100.04720.86
5.5.260.0100.08020.80
5.5.250.0030.04320.69
5.5.240.0200.07720.26
5.4.450.0130.07019.46
5.4.440.0170.05319.46
5.4.430.0130.07019.52
5.4.420.0170.04719.30
5.4.410.0170.05019.41
5.4.400.0130.06719.14
5.4.390.0230.07019.06
5.4.380.0170.07719.15
5.4.370.0100.08019.20
5.4.360.0130.05719.15
5.4.350.0100.04019.09
5.4.340.0130.04718.92
5.4.320.0270.04018.95
5.4.310.0100.03719.00
5.4.300.0130.03319.31
5.4.290.0200.03019.08
5.4.280.0130.04018.99
5.4.270.0230.03019.24
5.4.260.0170.03719.09
5.4.250.0200.03318.99
5.4.240.0170.03319.08
5.4.230.0130.03018.86
5.4.220.0100.03319.02
5.4.210.0100.03718.86
5.4.200.0070.04319.24
5.4.190.0130.03319.07
5.4.180.0170.03319.18
5.4.170.0130.03718.97
5.4.160.0100.03719.29
5.4.150.0130.03719.04
5.4.140.0070.03716.38
5.4.130.0130.03316.73
5.4.120.0130.03716.71
5.4.110.0100.04716.50
5.4.100.0170.03316.61
5.4.90.0130.03316.51
5.4.80.0230.03316.55
5.4.70.0200.07316.59
5.4.60.0100.05016.52
5.4.50.0130.05016.51
5.4.40.0330.03016.34
5.4.30.0270.03016.39
5.4.20.0200.07016.16
5.4.10.0200.03716.50
5.4.00.0230.07315.82
5.3.290.0200.04314.78
5.3.280.0070.04014.61
5.3.270.0130.03314.57
5.3.260.0200.03014.74
5.3.250.0100.04314.59
5.3.240.0130.04014.62
5.3.230.0130.04314.82
5.3.220.0130.04314.75
5.3.210.0130.04314.57
5.3.200.0030.04314.60
5.3.190.0170.03314.57
5.3.180.0130.03714.64
5.3.170.0230.04714.55
5.3.160.0270.06014.47
5.3.150.0300.05014.68
5.3.140.0130.04014.47
5.3.130.0200.06314.54
5.3.120.0230.06014.47
5.3.110.0200.06014.54
5.3.100.0200.05714.20
5.3.90.0200.03714.03
5.3.80.0200.06013.93
5.3.70.0200.06014.00
5.3.60.0230.03313.93
5.3.50.0200.06713.92
5.3.40.0200.04713.87
5.3.30.0130.04013.82
5.3.20.0200.04013.78
5.3.10.0330.04313.59
5.3.00.0170.04713.75
5.2.170.0200.05711.81
5.2.160.0170.06011.81
5.2.150.0100.03311.81
5.2.140.0170.02711.81
5.2.130.0100.03311.81
5.2.120.0200.03711.81
5.2.110.0230.05311.81
5.2.100.0170.03011.81
5.2.90.0200.03011.81
5.2.80.0200.02711.81
5.2.70.0170.03311.81
5.2.60.0170.05311.81
5.2.50.0200.05311.81
5.2.40.0100.05011.81
5.2.30.0070.06011.81
5.2.20.0130.05711.81
5.2.10.0230.04311.81
5.2.00.0170.03711.81
5.1.60.0100.04311.81
5.1.50.0170.03311.81
5.1.40.0230.04311.81
5.1.30.0170.04711.81
5.1.20.0170.06011.81
5.1.10.0170.04311.81
5.1.00.0270.04711.81
5.0.50.0070.03711.81
5.0.40.0070.02711.81
5.0.30.0100.05711.81
5.0.20.0070.03011.81
5.0.10.0100.02311.81
5.0.00.0070.03311.81
4.4.90.0000.03711.81
4.4.80.0030.02311.81
4.4.70.0130.03011.81
4.4.60.0130.02311.81
4.4.50.0100.02011.81
4.4.40.0070.05711.81
4.4.30.0100.02711.81
4.4.20.0030.03011.81
4.4.10.0100.03011.81
4.4.00.0100.05011.81
4.3.110.0130.01711.81
4.3.100.0130.01311.81
4.3.90.0070.02011.81
4.3.80.0100.05011.81
4.3.70.0100.02011.81
4.3.60.0070.02011.81
4.3.50.0070.02011.81
4.3.40.0200.02711.81
4.3.30.0070.03311.81
4.3.20.0030.03311.81
4.3.10.0000.04011.81
4.3.00.0070.02311.81

preferences:
41.34 ms | 401 KiB | 5 Q