3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bla( $span ){ echo "blah ",$span,"\n"; } function blee(){ $howlong = 'for here and now ...'; $f = function()use($howlong){ bla($howlong); }; return $f; } blee()();

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.0030.01016.50
8.3.50.0090.00618.30
8.3.40.0080.00618.84
8.3.30.0100.00318.61
8.3.20.0070.00720.23
8.3.10.0040.00423.66
8.3.00.0080.00019.13
8.2.180.0110.01118.43
8.2.170.0080.00822.96
8.2.160.0100.00322.03
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.06
8.2.110.0100.00720.55
8.2.100.0090.00318.04
8.2.90.0090.00019.01
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0060.00617.93
8.2.50.0000.00918.07
8.2.40.0040.00419.39
8.2.30.0050.00320.62
8.2.20.0060.00317.73
8.2.10.0040.00418.02
8.2.00.0050.00318.11
8.1.280.0070.01025.92
8.1.270.0080.00022.19
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0130.00722.47
8.1.230.0040.00817.64
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0050.00317.23
8.1.180.0070.00018.10
8.1.170.0000.00820.25
8.1.160.0000.00722.00
8.1.150.0030.00318.88
8.1.140.0040.00419.56
8.1.130.0080.00017.66
8.1.120.0080.00017.39
8.1.110.0050.00517.39
8.1.100.0050.00317.45
8.1.90.0000.00817.47
8.1.80.0040.00417.48
8.1.70.0030.00317.48
8.1.60.0050.00317.47
8.1.50.0030.00617.55
8.1.40.0090.00317.52
8.1.30.0060.00317.66
8.1.20.0070.00017.49
8.1.10.0040.00417.55
8.1.00.0080.00017.49
8.0.300.0040.00418.77
8.0.290.0030.00516.75
8.0.280.0030.00318.34
8.0.270.0050.00317.18
8.0.260.0000.00617.20
8.0.250.0030.00516.95
8.0.240.0080.00016.96
8.0.230.0020.00516.85
8.0.220.0030.00316.87
8.0.210.0040.00416.88
8.0.200.0040.00416.81
8.0.190.0080.00016.84
8.0.180.0000.00716.90
8.0.170.0040.00416.88
8.0.160.0000.00916.86
8.0.150.0030.00316.92
8.0.140.0060.00316.80
8.0.130.0030.00313.36
8.0.120.0030.00616.76
8.0.110.0000.00716.89
8.0.100.0030.00516.99
8.0.90.0000.00716.72
8.0.80.0110.00916.86
8.0.70.0030.00516.77
8.0.60.0020.00516.88
8.0.50.0040.00416.77
8.0.30.0030.01417.14
8.0.20.0150.00717.40
8.0.10.0030.00516.80
8.0.00.0100.00916.93
7.4.330.0000.00616.66
7.4.320.0000.00716.58
7.4.300.0000.00616.59
7.4.290.0000.00716.57
7.4.280.0070.00316.47
7.4.270.0000.00716.48
7.4.260.0070.00016.57
7.4.250.0080.00016.44
7.4.240.0020.00516.55
7.4.230.0040.00416.64
7.4.220.0110.00616.51
7.4.210.0130.00316.67
7.4.200.0030.00316.48
7.4.160.0120.00316.29
7.4.150.0140.00417.40
7.4.140.0120.01217.86
7.4.130.0080.00816.60
7.4.120.0120.00616.48
7.4.110.0070.01016.43
7.4.100.0120.00916.61
7.4.90.0040.01216.61
7.4.80.0090.00819.39
7.4.70.0130.00316.44
7.4.60.0060.01016.48
7.4.50.0000.01816.59
7.4.40.0100.00616.42
7.4.30.0120.00916.58
7.4.00.0000.01014.89
7.3.330.0050.00013.32
7.3.320.0000.00513.31
7.3.310.0050.00316.18
7.3.300.0040.00416.14
7.3.290.0110.00616.28
7.3.280.0110.00616.31
7.3.270.0100.00717.40
7.3.260.0130.01016.20
7.3.250.0070.01016.40
7.3.240.0140.00316.46
7.3.230.0090.00916.50
7.3.210.0100.00716.33
7.3.200.0070.01716.44
7.3.190.0060.01516.34
7.3.180.0110.01116.71
7.3.170.0090.00916.27
7.3.160.0040.01116.33
7.2.330.0090.00916.38
7.2.320.0130.01016.70
7.2.310.0070.01416.55
7.2.300.0100.00716.70
7.2.290.0090.00916.46
7.2.60.0060.00616.88
7.2.00.0090.00919.34
7.1.200.0090.00315.71
7.1.100.0070.00418.40
7.1.70.0000.00716.90
7.1.60.0170.00719.48
7.1.50.0060.01617.08
7.1.00.0070.07322.34
7.0.200.0440.00314.84
7.0.60.0070.08019.89
7.0.50.0030.08717.87
7.0.40.0100.08020.20
7.0.30.0330.06320.08
7.0.20.0270.05020.33
7.0.10.0230.07720.26
7.0.00.0070.04720.05
5.6.280.0070.06721.05
5.6.210.0070.08320.51
5.6.200.0030.05018.16
5.6.190.0100.08020.61
5.6.180.0300.03320.55
5.6.170.0370.08320.50
5.6.160.0000.04320.54
5.6.150.0070.07318.20
5.6.140.0070.08318.24
5.6.130.0130.07018.14
5.6.120.0070.07721.16
5.6.110.0070.04021.15
5.6.100.0170.07721.03
5.6.90.0130.07021.01
5.6.80.0130.05320.38
5.5.350.0030.06020.41
5.5.340.0130.08018.11
5.5.330.0100.08720.47
5.5.320.0600.06020.42
5.5.310.0300.05320.24
5.5.300.0070.08017.95
5.5.290.0100.08018.04
5.5.280.0100.07320.86
5.5.270.0070.08720.88
5.5.260.0130.07720.89
5.5.250.0030.04320.62
5.5.240.0200.06320.23

preferences:
58.59 ms | 400 KiB | 5 Q