3v4l.org

run code in 300+ PHP versions simultaneously
<table> <?php for($i = 1, $m = rand(2,8); $i < $m; $i++): ?> <tr> <td><?= $i ?></td> <td><?= $m ?></td> </tr> <?php endfor ?> </table>

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)
7.2.00.0080.01619.30
7.1.70.0090.00517.17
7.1.60.0040.00719.25
7.1.50.0100.00716.59
7.1.00.0030.07322.31
7.0.200.0110.00416.73
7.0.140.0000.07722.15
7.0.60.0130.07319.89
7.0.50.0070.03717.80
7.0.40.0130.06020.25
7.0.30.0170.04720.13
7.0.20.0430.06320.01
7.0.10.0070.09320.17
7.0.00.0070.08720.19
5.6.280.0030.07321.09
5.6.210.0030.04320.50
5.6.200.0070.08018.12
5.6.190.0170.04320.47
5.6.180.0200.09020.67
5.6.170.0200.08320.40
5.6.160.0130.07720.48
5.6.150.0030.04018.08
5.6.140.0030.07318.21
5.6.130.0100.06018.22
5.6.120.0030.06720.89
5.6.110.0100.07721.00
5.6.100.0030.04321.13
5.6.90.0200.06321.10
5.6.80.0070.05720.50
5.5.350.0170.04320.43
5.5.340.0100.03717.87
5.5.330.0070.04320.21
5.5.320.0430.06720.28
5.5.310.0370.05720.20
5.5.300.0000.05017.88
5.5.290.0030.07017.90
5.5.280.0100.04320.97
5.5.270.0000.05320.75
5.5.260.0170.07720.71
5.5.250.0030.08320.54
5.5.240.0030.07720.22
5.4.450.0730.05719.24
5.4.440.0730.06319.64
5.4.430.0870.05019.14
5.4.420.0800.05319.13
5.4.410.0230.05018.87
5.4.400.0430.04718.74
5.4.390.0400.05718.61
5.4.380.0130.05718.74
5.4.370.0100.05018.56
5.4.360.0100.05018.68
5.4.350.0050.03811.97
5.4.340.0070.03611.96
5.4.320.0060.03612.45
5.4.310.0070.03812.45
5.4.300.0070.03912.45
5.4.290.0060.03912.45
5.4.280.0080.03312.34
5.4.270.0040.03812.34
5.4.260.0040.04012.34
5.4.250.0060.03712.34
5.4.240.0090.03412.35
5.4.230.0030.04112.34
5.4.220.0100.04012.34
5.4.210.0040.03812.34
5.4.200.0060.04412.34
5.4.190.0070.03812.33
5.4.180.0060.03812.34
5.4.170.0050.03612.34
5.4.160.0050.03712.34
5.4.150.0050.04012.34
5.4.140.0090.03212.02
5.4.130.0040.03712.01
5.4.120.0050.03511.96
5.4.110.0060.03511.96
5.4.100.0060.03411.96
5.4.90.0040.03811.96
5.4.80.0060.03711.96
5.4.70.0050.03511.96
5.4.60.0060.03411.96
5.4.50.0070.03511.96
5.4.40.0070.03411.95
5.4.30.0080.03411.95
5.4.20.0050.03511.95
5.4.10.0060.03411.95
5.4.00.0030.03811.44
5.3.290.0030.04412.80
5.3.280.0070.03612.71
5.3.270.0050.04612.73
5.3.260.0110.03312.72
5.3.250.0040.04012.72
5.3.240.0080.03512.72
5.3.230.0040.04012.71
5.3.220.0050.03812.68
5.3.210.0110.03412.68
5.3.200.0040.03812.68
5.3.190.0050.03912.68
5.3.180.0030.03812.67
5.3.170.0040.03812.67
5.3.160.0040.03812.68
5.3.150.0040.04012.67
5.3.140.0100.03312.66
5.3.130.0070.03812.66
5.3.120.0050.04012.66
5.3.110.0080.03612.66
5.3.100.0070.03612.12
5.3.90.0050.03712.08
5.3.80.0060.03512.07
5.3.70.0040.03712.07
5.3.60.0040.03812.06
5.3.50.0060.03512.00
5.3.40.0060.03712.00
5.3.30.0080.03211.95
5.3.20.0070.03411.73
5.3.10.0050.03611.69
5.3.00.0100.03211.68
5.2.170.0040.0309.18
5.2.160.0090.0389.18
5.2.150.0030.0329.18
5.2.140.0030.0329.18
5.2.130.0020.0319.14
5.2.120.0050.0279.14
5.2.110.0060.0279.15
5.2.100.0050.0289.14
5.2.90.0030.0319.14
5.2.80.0100.0319.14
5.2.70.0060.0409.14
5.2.60.0070.0319.09
5.2.50.0090.0289.06
5.2.40.0050.0299.04
5.2.30.0090.0289.01
5.2.20.0090.0259.00
5.2.10.0030.0368.91
5.2.00.0050.0398.77
5.1.60.0030.0298.06
5.1.50.0040.0258.05
5.1.40.0060.0258.04
5.1.30.0010.0328.39
5.1.20.0050.0258.41
5.1.10.0060.0268.13
5.1.00.0060.0248.14
5.0.50.0050.0196.61
5.0.40.0050.0176.46
5.0.30.0050.0296.29
5.0.20.0060.0196.25
5.0.10.0040.0266.23
5.0.00.0050.0336.22
4.4.90.0070.0184.78
4.4.80.0020.0224.76
4.4.70.0040.0204.75
4.4.60.0050.0194.75
4.4.50.0070.0184.77
4.4.40.0030.0284.71
4.4.30.0050.0184.75
4.4.20.0040.0174.85
4.4.10.0040.0144.85
4.4.00.0040.0264.76
4.3.110.0030.0174.67
4.3.100.0030.0154.66
4.3.90.0030.0144.64
4.3.80.0010.0264.59
4.3.70.0030.0144.63
4.3.60.0010.0164.63
4.3.50.0020.0164.63
4.3.40.0030.0244.54
4.3.30.0030.0153.28
4.3.20.0040.0153.26
4.3.10.0010.0183.21
4.3.00.0130.0207.21

preferences:
33.01 ms | 401 KiB | 5 Q