3v4l.org

run code in 300+ PHP versions simultaneously
<?php $handlersList = []; for ($i = 0; $i < 25; $i++) { $handlersList[function() use ($i) { yield "Some Shit " . $i; }]; } $i = 0; while (true) { if ($i => count($handlersList)) break; $func = $handlersList[$i++](); echo $func->current(); }

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)
5.4.320.0050.04612.52
5.4.310.0060.04112.52
5.4.300.0070.03512.52
5.4.290.0040.04012.51
5.4.280.0030.03912.41
5.4.270.0040.03812.41
5.4.260.0060.03912.41
5.4.250.0110.04212.41
5.4.240.0080.04212.41
5.4.230.0060.03912.40
5.4.220.0060.03712.40
5.4.210.0040.03812.40
5.4.200.0050.04012.40
5.4.190.0030.03912.40
5.4.180.0040.03912.40
5.4.170.0040.03912.40
5.4.160.0100.03512.40
5.4.150.0060.03612.39
5.4.140.0100.03612.09
5.4.130.0030.03712.07
5.4.120.0060.03612.04
5.4.110.0050.03612.03
5.4.100.0070.03412.03
5.4.90.0080.03412.03
5.4.80.0080.03412.03
5.4.70.0050.03512.02
5.4.60.0050.03512.02
5.4.50.0070.03412.02
5.4.40.0060.03412.02
5.4.30.0070.03512.01
5.4.20.0030.03712.01
5.4.10.0030.03712.01
5.4.00.0060.03511.50
5.3.290.0060.03812.80
5.3.280.0040.03912.71
5.3.270.0050.04012.72
5.3.260.0050.03912.72
5.3.250.0080.04712.72
5.3.240.0050.03712.72
5.3.230.0080.05112.71
5.3.220.0100.03312.68
5.3.210.0070.03812.68
5.3.200.0090.04312.68
5.3.190.0100.04612.68
5.3.180.0100.04112.68
5.3.170.0080.03612.67
5.3.160.0050.03812.67
5.3.150.0050.03912.68
5.3.140.0090.03512.66
5.3.130.0070.03912.66
5.3.120.0030.04512.66
5.3.110.0050.04112.66
5.3.100.0040.04012.12
5.3.90.0060.03712.08
5.3.80.0070.03712.07
5.3.70.0070.03612.07
5.3.60.0060.03712.06
5.3.50.0070.03612.00
5.3.40.0030.03912.00
5.3.30.0080.03611.95
5.3.20.0040.03711.73
5.3.10.0060.03511.70
5.3.00.0050.03711.68
5.2.170.0050.0309.18
5.2.160.0030.0319.18
5.2.150.0040.0449.18
5.2.140.0030.0319.18
5.2.130.0060.0309.14
5.2.120.0030.0399.14
5.2.110.0050.0379.14
5.2.100.0080.0259.14
5.2.90.0060.0309.14
5.2.80.0030.0339.14
5.2.70.0060.0299.14
5.2.60.0040.0319.09
5.2.50.0090.0269.05
5.2.40.0050.0329.03
5.2.30.0040.0339.01
5.2.20.0080.0369.00
5.2.10.0030.0298.93
5.2.00.0070.0278.78
5.1.60.0080.0318.07
5.1.50.0100.0248.06
5.1.40.0070.0348.05
5.1.30.0060.0608.39
5.1.20.0190.0578.42
5.1.10.0100.0468.14
5.1.00.0100.0378.14
5.0.50.0070.0326.63
5.0.40.0120.0276.47
5.0.30.0080.0446.29
5.0.20.0060.0236.26
5.0.10.0080.0356.23
5.0.00.0090.0426.23
4.4.90.0040.0244.77
4.4.80.0030.0264.75
4.4.70.0040.0164.75
4.4.60.0050.0224.75
4.4.50.0060.0194.77
4.4.40.0020.0444.71
4.4.30.0030.0184.75
4.4.20.0050.0244.84
4.4.10.0030.0194.84
4.4.00.0020.0334.76
4.3.110.0010.0214.66
4.3.100.0040.0244.67
4.3.90.0060.0204.64
4.3.80.0050.0294.58
4.3.70.0040.0214.63
4.3.60.0010.0234.63
4.3.50.0030.0194.63
4.3.40.0060.0394.54
4.3.30.0060.0233.28
4.3.20.0020.0203.26
4.3.10.0090.0203.22
4.3.00.0200.01714.30

preferences:
142.02 ms | 1394 KiB | 7 Q