3v4l.org

run code in 300+ PHP versions simultaneously
<?php $calc = function ($arg = null, $acc = '') use (&$calc) { return $arg === null ? $acc : function ($number = null) use (&$calc, $arg, $acc) { return $calc($number, $acc . $arg); }; }; $result = $calc(1)(3)(3)(8)(); var_dump($result);

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.70.0150.00616.61
8.3.60.0130.00718.43
8.3.50.0140.00716.36
8.3.40.0040.01118.71
8.3.30.0070.00718.45
8.3.20.0000.00821.92
8.3.10.0000.00721.96
8.3.00.0080.00020.95
8.2.180.0140.00717.93
8.2.170.0060.00922.96
8.2.160.0070.00722.21
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0050.00322.31
8.2.120.0070.00026.35
8.2.110.0070.00322.21
8.2.100.0040.00817.78
8.2.90.0040.00419.21
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0040.00417.91
8.2.50.0000.00818.10
8.2.40.0000.00922.19
8.2.30.0040.00819.30
8.2.20.0060.00317.97
8.2.10.0000.00717.95
8.2.00.0000.00717.99
8.1.280.0110.00425.92
8.1.270.0050.00523.91
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00420.92
8.1.230.0040.00719.14
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0100.00017.35
8.1.190.0030.00617.00
8.1.180.0040.00418.10
8.1.170.0060.00318.55
8.1.160.0040.00419.02
8.1.150.0000.00718.77
8.1.140.0070.00319.43
8.1.130.0000.00718.75
8.1.120.0000.00717.45
8.1.110.0040.00417.39
8.1.100.0000.00817.36
8.1.90.0040.00417.44
8.1.80.0070.00017.49
8.1.70.0070.00017.42
8.1.60.0050.00317.46
8.1.50.0050.00317.45
8.1.40.0050.00217.52
8.1.30.0070.00017.62
8.1.20.0030.00517.65
8.1.10.0040.00417.48
8.1.00.0000.00817.43
8.0.300.0040.00418.77
8.0.290.0030.00516.58
8.0.280.0030.00518.50
8.0.270.0070.00017.27
8.0.260.0030.00316.73
8.0.250.0000.00616.93
8.0.240.0070.00316.88
8.0.230.0070.00016.96
8.0.220.0040.00416.78
8.0.210.0000.00716.93
8.0.200.0000.00716.96
8.0.190.0040.00416.90
8.0.180.0040.00416.89
8.0.170.0040.00416.94
8.0.160.0030.00616.86
8.0.150.0050.00316.87
8.0.140.0070.00016.82
8.0.130.0000.00613.26
8.0.120.0000.00716.87
8.0.110.0000.00816.82
8.0.100.0040.00416.79
8.0.90.0040.00416.96
8.0.80.0080.01216.86
8.0.70.0000.00716.91
8.0.60.0000.00716.73
8.0.50.0000.00716.88
8.0.30.0090.01117.14
8.0.20.0090.01017.40
8.0.10.0070.00017.02
8.0.00.0080.01316.75
7.4.330.0000.00515.55
7.4.320.0000.00616.50
7.4.300.0070.00016.50
7.4.290.0000.00716.50
7.4.280.0040.00416.51
7.4.270.0030.00316.41
7.4.260.0030.00313.24
7.4.250.0040.00416.43
7.4.240.0000.00716.62
7.4.230.0030.00516.72
7.4.220.0080.00916.54
7.4.210.0040.01116.58
7.4.200.0070.00016.41
7.4.160.0060.00916.42
7.4.150.0070.01117.40
7.4.140.0090.00917.86
7.4.130.0100.01016.57
7.4.120.0160.00416.57
7.4.110.0120.00616.76
7.4.100.0090.00816.42
7.4.90.0060.01616.46
7.4.80.0100.00719.39
7.4.70.0030.01416.55
7.4.60.0030.01216.44
7.4.50.0080.00816.56
7.4.40.0100.00716.58
7.4.30.0120.01216.43
7.4.00.0090.00615.09
7.3.330.0000.00513.15
7.3.320.0030.00313.14
7.3.310.0060.00016.26
7.3.300.0040.00416.25
7.3.290.0040.00416.41
7.3.280.0080.00916.34
7.3.270.0060.01117.40
7.3.260.0100.00816.40
7.3.250.0130.00616.40
7.3.240.0090.00716.62
7.3.230.0060.01116.70
7.3.210.0110.00616.32
7.3.200.0100.00616.45
7.3.190.0130.00316.32
7.3.180.0080.00816.49
7.3.170.0140.00716.53
7.3.160.0060.01016.20
7.2.330.0030.01416.50
7.2.320.0090.00916.77
7.2.310.0100.00616.63
7.2.300.0070.01016.70
7.2.290.0120.00616.59
7.2.60.0030.01316.81
7.2.00.0000.01219.49
7.1.200.0000.01015.55
7.1.100.0070.00718.27
7.1.70.0000.01017.15
7.1.60.0700.00333.45
7.1.50.0630.01033.01
7.1.40.0600.01332.70
7.1.30.0730.01032.61
7.1.20.0570.01732.91
7.1.10.0470.01014.94
7.1.00.0600.00014.66
7.0.200.0470.01014.87
7.0.190.0500.00314.64
7.0.180.0530.00714.41
7.0.170.0630.00314.37
7.0.160.0630.00314.50
7.0.150.0430.01014.39
7.0.140.0630.00314.48
7.0.130.0530.00714.76
7.0.120.0470.01014.64
7.0.110.0500.01014.59
7.0.100.1230.00314.56
7.0.90.0730.00714.49
7.0.80.0530.00714.50
7.0.70.0530.00714.45
7.0.60.0470.01014.46
7.0.50.0530.00714.44
7.0.40.0600.01014.64
7.0.30.0530.00714.61
7.0.20.0500.01314.62
7.0.10.0530.00714.58
7.0.00.0500.01014.59

preferences:
75.99 ms | 401 KiB | 5 Q