3v4l.org

run code in 300+ PHP versions simultaneously
<?php function call(callable $callable) { $callable(); } function call2() { echo "called\n"; } call('call2');

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.0040.01518.18
8.3.50.0130.00421.99
8.3.40.0040.01118.60
8.3.30.0040.01120.19
8.3.20.0050.00318.60
8.3.10.0000.00721.04
8.3.00.0040.00419.80
8.2.180.0070.01116.32
8.2.170.0170.00322.96
8.2.160.0100.01020.31
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0000.00721.07
8.2.110.0080.00022.26
8.2.100.0070.00417.72
8.2.90.0000.00719.28
8.2.80.0070.00019.41
8.2.70.0080.00017.50
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0060.00319.88
8.2.30.0050.00319.34
8.2.20.0040.00417.69
8.2.10.0030.00617.62
8.2.00.0050.00317.64
8.1.280.0070.01425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00322.54
8.1.230.0120.00020.98
8.1.220.0040.00418.77
8.1.210.0040.00418.84
8.1.200.0050.00517.22
8.1.190.0040.00417.41
8.1.180.0040.00418.10
8.1.170.0000.00718.58
8.1.160.0070.00018.69
8.1.150.0040.00418.41
8.1.140.0070.00017.36
8.1.130.0000.00817.80
8.1.120.0030.00317.29
8.1.110.0040.00417.38
8.1.100.0070.00017.20
8.1.90.0080.00017.33
8.1.80.0020.00517.36
8.1.70.0030.00317.31
8.1.60.0060.00617.55
8.1.50.0040.00417.39
8.1.40.0030.00517.47
8.1.30.0080.00017.41
8.1.20.0060.00317.52
8.1.10.0040.00417.51
8.1.00.0040.00417.40
8.0.300.0040.00719.70
8.0.290.0070.00017.16
8.0.280.0030.00318.49
8.0.270.0070.00017.25
8.0.260.0040.00416.88
8.0.250.0030.00617.00
8.0.240.0000.00816.89
8.0.230.0030.00316.94
8.0.220.0030.00316.89
8.0.210.0030.00316.93
8.0.200.0000.00616.91
8.0.190.0040.00416.86
8.0.180.0040.00416.80
8.0.170.0080.00016.76
8.0.160.0030.00316.87
8.0.150.0000.00816.73
8.0.140.0000.00816.71
8.0.130.0000.00813.27
8.0.120.0000.00816.89
8.0.110.0040.00416.71
8.0.100.0000.00716.71
8.0.90.0040.00416.88
8.0.80.0030.01316.95
8.0.70.0000.00716.75
8.0.60.0050.00216.93
8.0.50.0040.00416.71
8.0.30.0140.00517.00
8.0.20.0120.00517.40
8.0.10.0000.00716.95
8.0.00.0100.00716.75
7.4.330.0050.00016.89
7.4.320.0030.00316.49
7.4.300.0000.00716.57
7.4.290.0030.00316.45
7.4.280.0000.00716.50
7.4.270.0000.00716.43
7.4.260.0060.00013.29
7.4.250.0040.00416.47
7.4.240.0000.00716.62
7.4.230.0040.00416.60
7.4.220.0110.00716.57
7.4.210.0050.01216.62
7.4.200.0040.00416.42
7.4.190.0040.00216.73
7.4.160.0130.01016.51
7.4.150.0140.00317.40
7.4.140.0110.00717.86
7.4.130.0100.00816.52
7.4.120.0070.01216.46
7.4.110.0070.01016.40
7.4.100.0080.01216.41
7.4.90.0090.01216.39
7.4.80.0070.01619.39
7.4.70.0120.00316.47
7.4.60.0030.01316.37
7.4.50.0030.00616.28
7.4.40.0090.00622.77
7.4.30.0090.01016.49
7.3.330.0000.00713.05
7.3.320.0000.00513.23
7.3.310.0040.00416.25
7.3.300.0060.00016.11
7.3.290.0070.00716.12
7.3.280.0070.01016.30
7.3.270.0180.00617.40
7.3.260.0120.00718.24
7.3.250.0080.00816.47
7.3.240.0100.00716.26
7.3.230.0130.00316.39
7.3.210.0060.00916.29
7.3.200.0070.01119.39
7.3.190.0060.01016.38
7.3.180.0110.00616.25
7.3.170.0120.00316.29
7.3.160.0100.00716.18
7.2.330.0120.00816.39
7.2.320.0120.00616.63
7.2.310.0100.00716.27
7.2.300.0030.01416.59
7.2.290.0090.00916.45
7.1.70.0000.01317.05
7.1.60.0040.01117.07
7.1.50.0070.00716.94
7.1.40.0060.00616.48
7.1.30.0070.01116.45
7.1.20.0060.00916.75
7.1.10.0080.00616.50
7.1.00.0070.00416.62
7.0.200.0040.00816.61
7.0.190.0050.00816.80
7.0.180.0040.00916.28
7.0.170.0060.00616.12
7.0.160.0060.00616.20
7.0.150.0070.01016.17
7.0.140.0140.00716.09
7.0.130.0080.01216.46
7.0.120.0100.00516.56
7.0.110.0020.00916.41
7.0.100.0060.00316.42
7.0.90.0030.00616.27
7.0.80.0330.00614.88
7.0.70.0000.00816.15
7.0.60.0050.00316.25
7.0.50.0030.00616.24
7.0.40.0030.00614.88
7.0.30.0050.00314.88
7.0.20.0070.00514.88
7.0.10.0030.01214.88
7.0.00.0000.01014.88
5.6.300.0070.05820.96
5.6.290.0100.05320.87
5.6.280.0030.04621.04
5.6.270.0070.04720.87
5.6.260.0120.03820.96
5.6.250.0070.04020.86
5.6.240.0030.04620.87
5.6.230.0030.04620.80
5.6.220.0070.03920.79
5.6.210.0000.05221.15
5.6.200.0170.04020.98
5.6.190.0070.03921.02
5.6.180.0030.04420.83
5.6.170.0070.04720.74
5.6.160.0040.04320.84
5.6.150.0070.04621.03
5.6.140.0030.04820.93
5.6.130.0030.04220.74
5.6.120.0100.03920.70
5.6.110.0040.04221.04
5.6.100.0040.04320.84
5.6.90.0060.04020.82
5.6.80.0040.04020.37
5.6.70.0060.04020.30
5.6.60.0100.05820.42
5.6.50.0030.04420.38
5.6.40.0030.04220.33
5.6.30.0090.03420.10
5.6.20.0070.05020.31
5.6.10.0100.03220.07
5.6.00.0040.03820.14
5.5.380.0070.04217.53
5.5.370.0230.03317.64
5.5.360.0040.04317.46
5.5.350.0120.03617.52
5.5.340.0130.04017.86
5.5.330.0000.04717.84
5.5.320.0030.04118.03
5.5.310.0100.04218.09
5.5.300.0070.04218.02
5.5.290.0000.04518.12
5.5.280.0030.04317.84
5.5.270.0060.03817.85
5.5.260.0000.04818.18
5.5.250.0090.04117.93
5.5.240.0000.04517.41
5.5.230.0110.03017.52
5.5.220.0070.05317.46
5.5.210.0100.03817.38
5.5.200.0030.03817.09
5.5.190.0000.04817.35
5.5.180.0030.04417.41
5.5.160.0030.03717.36
5.5.150.0060.03417.39
5.5.140.0000.04317.43
5.5.130.0000.04217.18
5.5.120.0030.03717.36
5.5.110.0030.03617.35
5.5.100.0000.04117.35
5.5.90.0040.03617.00
5.5.80.0030.03617.00
5.5.70.0000.04217.42
5.5.60.0000.04317.33
5.5.50.0070.05017.34
5.5.40.0030.04317.33
5.5.30.0030.04017.32
5.5.20.0030.04217.30
5.5.10.0000.04217.30
5.5.00.0000.04217.35
5.4.450.0140.05219.23
5.4.440.0040.04319.31
5.4.430.0160.02819.39
5.4.420.0040.05019.30
5.4.410.0030.04219.18
5.4.400.0030.03919.12
5.4.390.0000.04119.00
5.4.380.0090.03819.08
5.4.370.0030.03819.11
5.4.360.0030.03918.98
5.4.350.0070.03419.23
5.4.340.0000.04218.95
5.4.320.0030.04219.21
5.4.310.0030.04119.09
5.4.300.0040.03918.90
5.4.290.0060.03819.07
5.4.280.0000.04118.95
5.4.270.0000.04018.89
5.4.260.0000.04519.23
5.4.250.0100.03219.11
5.4.240.0060.03519.16
5.4.230.0040.07118.98
5.4.220.0070.06818.97
5.4.210.0030.07418.98
5.4.200.0070.03619.05
5.4.190.0030.03818.91
5.4.180.0000.04219.16
5.4.170.0030.03919.15
5.4.160.0040.04019.04
5.4.150.0000.05519.18
5.4.140.0090.04616.60
5.4.130.0320.02216.50
5.4.120.0100.03316.63
5.4.110.0030.04116.69
5.4.100.0030.03716.80
5.4.90.0000.04116.80
5.4.80.0100.05216.68
5.4.70.0030.03716.52
5.4.60.0030.03516.73
5.4.50.0030.04816.68
5.4.40.0100.05216.78
5.4.30.0070.05116.60
5.4.20.0070.06916.61
5.4.10.0030.05816.67
5.4.00.0070.03416.17
5.3.290.0060.03714.88
5.3.280.0030.04714.88
5.3.270.0060.03814.88
5.3.260.0030.03814.90
5.3.250.0070.04014.88
5.3.240.0260.03014.88
5.3.230.0000.04314.95
5.3.220.0030.03614.88
5.3.210.0000.04114.88
5.3.200.0130.03514.88
5.3.190.0000.04414.92
5.3.180.0000.07214.88
5.3.170.0070.03314.88
5.3.160.0120.03714.88
5.3.150.0090.03114.88
5.3.140.0040.03914.88
5.3.130.0070.03914.88
5.3.120.0060.05514.88
5.3.110.0030.04214.88
5.3.100.0100.03114.88
5.3.90.0000.03914.88
5.3.80.0040.03514.88
5.3.70.0060.03614.88
5.3.60.0000.04114.88
5.3.50.0000.04214.88
5.3.40.0030.03514.88
5.3.30.0100.04514.88
5.3.20.0070.05014.88
5.3.10.0090.02814.88
5.3.00.0100.03114.88
5.2.170.0100.04514.88
5.2.160.0030.03914.88
5.2.150.0070.04714.88
5.2.140.0060.03914.88
5.2.130.0000.03314.88
5.2.120.0040.02814.88
5.2.110.0000.03314.88
5.2.100.0000.03514.88
5.2.90.0070.05014.88
5.2.80.0120.02414.88
5.2.70.0030.03214.88
5.2.60.0060.05514.88
5.2.50.0000.05014.88
5.2.40.0030.03614.88
5.2.30.0030.03214.88
5.2.20.0000.03214.88
5.2.10.0030.05714.88
5.2.00.0090.03514.88
5.1.60.0000.03514.88
5.1.50.0060.02714.88
5.1.40.0100.05214.88
5.1.30.0030.05514.88
5.1.20.0030.05614.88
5.1.10.0000.03014.88
5.1.00.0040.02514.88
5.0.50.0060.02514.88
5.0.40.0000.03114.88
5.0.30.0030.03314.88
5.0.20.0030.03014.88
5.0.10.0000.02714.88
5.0.00.0000.04014.88
4.4.90.0030.01714.88
4.4.80.0040.03414.88
4.4.70.0060.02214.88
4.4.60.0000.03814.88
4.4.50.0030.01814.88
4.4.40.0030.03514.88
4.4.30.0000.03314.88
4.4.20.0080.01214.88
4.4.10.0040.01514.88
4.4.00.0070.02314.88
4.3.110.0030.01614.88
4.3.100.0000.01614.88
4.3.90.0000.02914.88
4.3.80.0000.03114.88
4.3.70.0000.01714.88
4.3.60.0000.01914.88
4.3.50.0000.01714.88
4.3.40.0000.02514.88
4.3.30.0000.01814.88
4.3.20.0000.01914.88
4.3.10.0030.01814.88
4.3.00.0000.01714.88

preferences:
42.76 ms | 401 KiB | 5 Q