3v4l.org

run code in 300+ PHP versions simultaneously
Alan Johnson ยท July 12, 2014 Yes, example: <?php $alto = array("10","9.5","9","8.5","8","7.5","7","6.5",); $basso= array("5.5","5","4.5","4","3.5","3","2.5","2","1.5","1",); $sei= "puntimax" * "sufficienza"; ?> <table> <tr> <th>voto</th> <th>Last name</th> </tr> <?php foreach($alto as $voto ): ?> <tr> <td><?php echo $first_name ?></td> <td>"uno"</td> </tr> <?php endforeach; ?> </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)
8.3.60.0040.01118.43
8.3.50.0120.00621.11
8.3.40.0070.00718.79
8.3.30.0090.00918.67
8.3.20.0070.00020.27
8.3.10.0000.00721.76
8.3.00.0040.00422.46
8.2.180.0180.00316.75
8.2.170.0120.00322.96
8.2.160.0030.01020.35
8.2.150.0060.00324.18
8.2.140.0070.00024.66
8.2.130.0030.00626.16
8.2.120.0040.00417.38
8.2.110.0000.00920.52
8.2.100.0090.00317.75
8.2.90.0080.00019.08
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0000.00817.93
8.2.50.0030.00518.07
8.2.40.0080.00021.13
8.2.30.0030.00619.89
8.2.20.0030.00617.74
8.2.10.0040.00418.18
8.2.00.0080.00018.18
8.1.280.0120.00325.92
8.1.270.0090.00620.27
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00023.88
8.1.230.0110.00017.47
8.1.220.0050.00317.77
8.1.210.0060.00318.77
8.1.200.0000.01017.35
8.1.190.0060.00317.23
8.1.180.0000.00818.10
8.1.170.0060.00318.49
8.1.160.0000.00721.82
8.1.150.0040.00418.69
8.1.140.0000.00817.39
8.1.130.0030.00317.63
8.1.120.0040.00417.35
8.1.110.0040.00417.29
8.1.100.0050.00317.28
8.1.90.0000.00717.36
8.1.80.0040.00417.26
8.1.70.0000.00717.38
8.1.60.0040.00417.50
8.1.50.0000.00917.41
8.1.40.0030.00517.56
8.1.30.0080.00017.56
8.1.20.0040.00417.66
8.1.10.0040.00417.59
8.1.00.0040.00417.43
8.0.300.0000.00718.77
8.0.290.0060.00316.75
8.0.280.0070.00018.36
8.0.270.0070.00017.14
8.0.260.0060.00017.30
8.0.250.0030.00317.07
8.0.240.0040.00416.95
8.0.230.0000.00716.93
8.0.220.0000.00716.88
8.0.210.0040.00416.85
8.0.200.0030.00316.80
8.0.190.0040.00416.91
8.0.180.0040.00416.89
8.0.170.0080.00016.91
8.0.160.0000.00816.91
8.0.150.0040.00416.85
8.0.140.0000.00716.81
8.0.130.0030.00313.25
8.0.120.0030.00616.71
8.0.110.0040.00416.89
8.0.100.0050.00216.88
8.0.90.0030.00516.88
8.0.80.0060.00916.93
8.0.70.0060.00316.82
8.0.60.0000.00716.76
8.0.50.0000.00716.88
8.0.30.0150.00516.99
8.0.20.0110.00917.40
8.0.10.0040.00416.89
8.0.00.0100.00916.58
7.4.330.0060.00015.18
7.4.320.0000.00616.59
7.4.300.0040.00416.42
7.4.290.0050.00516.51
7.4.280.0000.00816.45
7.4.270.0000.00716.59
7.4.260.0030.00316.63
7.4.250.0080.00016.54
7.4.240.0040.00316.58
7.4.230.0030.00316.36
7.4.220.0100.00616.63
7.4.210.0140.00316.54
7.4.200.0030.00316.50
7.4.160.0100.00616.36
7.4.150.0100.00717.40
7.4.140.0120.01017.86
7.4.130.0080.01216.45
7.4.120.0160.00816.46
7.4.110.0070.01016.39
7.4.100.0080.01216.62
7.4.90.0090.00916.57
7.4.80.0120.00919.39
7.4.70.0090.00916.58
7.4.60.0120.00616.64
7.4.50.0020.00216.40
7.4.40.0070.01016.45
7.4.30.0130.00616.45
7.4.00.0100.00714.92
7.3.330.0050.00013.06
7.3.320.0050.00013.25
7.3.310.0070.00016.28
7.3.300.0000.00716.22
7.3.290.0070.00016.31
7.3.280.0110.01116.32
7.3.270.0040.01317.40
7.3.260.0090.00916.36
7.3.250.0090.00916.56
7.3.240.0060.01616.48
7.3.230.0030.01316.39
7.3.210.0070.01016.27
7.3.200.0070.01119.39
7.3.190.0070.01016.57
7.3.180.0120.00316.36
7.3.170.0030.01416.33
7.3.160.0060.01116.33
7.3.120.0070.00714.85
7.3.110.0050.01214.70
7.3.100.0090.00514.93
7.3.90.0020.01414.85
7.3.80.0040.01114.97
7.3.70.0060.01014.76
7.3.60.0100.00714.73
7.3.50.0070.00714.74
7.3.40.0070.00914.53
7.3.30.0090.00614.88
7.3.20.0090.00716.57
7.3.10.0070.00716.54
7.3.00.0020.00916.68
7.2.330.0100.01016.32
7.2.320.0120.01216.64
7.2.310.0150.00716.70
7.2.300.0120.00416.65
7.2.290.0090.00916.62
7.2.250.0130.00714.94
7.2.240.0060.01315.07
7.2.230.0060.00914.79
7.2.220.0020.01215.01
7.2.210.0070.01114.94
7.2.200.0080.00914.99
7.2.190.0080.00514.90
7.2.180.0050.01015.01
7.2.170.0100.00714.82
7.2.160.0000.01614.90
7.2.150.0090.00816.49
7.2.140.0040.01116.92
7.2.130.0080.00816.77
7.2.120.0160.00016.98
7.2.110.0070.01116.71
7.2.100.0030.01416.98
7.2.90.0040.01116.87
7.2.80.0030.01216.93
7.2.70.0060.00616.82
7.2.60.0130.00516.92
7.2.50.0080.00816.82
7.2.40.0040.01417.00
7.2.30.0000.01316.95
7.2.20.0000.01616.70
7.2.10.0100.00716.72
7.2.00.0050.00618.09
7.1.330.0020.01315.64
7.1.320.0050.00915.85
7.1.310.0050.01015.70
7.1.300.0070.00715.76
7.1.290.0050.01115.73
7.1.280.0080.00615.64
7.1.270.0050.00615.77
7.1.260.0050.00715.84
7.1.250.0060.00315.67
7.1.200.0030.01015.79
7.1.100.0040.01118.00
7.1.70.0050.00216.97
7.1.60.0100.01320.03
7.1.50.0040.00716.96
7.1.00.0000.08022.44
7.0.200.0300.00614.97
7.0.60.0130.07719.90
7.0.50.0070.09017.89
7.0.40.0130.08020.21
7.0.30.0200.05020.02
7.0.20.0230.04720.28
7.0.10.0170.04320.30
7.0.00.0100.04720.12
5.6.280.0030.03020.90
5.6.210.0070.08320.56
5.6.200.0030.07318.21
5.6.190.0000.04720.41
5.6.180.0430.04020.63
5.6.170.0230.06720.38
5.6.160.0070.05020.33
5.6.150.0130.06718.13
5.6.140.0100.08018.11
5.6.130.0030.08718.21
5.6.120.0070.04021.02
5.6.110.0030.09020.89
5.6.100.0170.07321.02
5.6.90.0100.04020.87
5.6.80.0100.08020.53
5.6.70.0270.04320.52
5.5.350.0270.07720.52
5.5.340.0030.04018.01
5.5.330.0100.08020.40
5.5.320.0430.06720.20
5.5.310.0170.04020.21
5.5.300.0070.08317.97
5.5.290.0230.06718.00
5.5.280.0100.08020.96
5.5.270.0030.04020.64
5.5.260.0030.09320.76
5.5.250.0100.08020.78
5.5.240.0130.07720.27
5.4.450.0200.06019.63
5.4.440.0230.05019.53
5.4.430.0100.06319.58
5.4.420.0170.07019.62
5.4.410.0170.05319.27
5.4.400.0130.05319.25
5.4.390.0130.06019.11
5.4.380.0230.04719.00
5.4.370.0130.05319.11
5.4.360.0170.05019.23
5.4.350.0130.05319.16
5.4.340.0130.05719.16
5.4.320.0170.05319.05
5.4.310.0270.03718.84
5.4.300.0200.04719.23
5.4.290.0230.04319.20
5.4.280.0170.05018.77
5.4.270.0300.06018.86
5.4.260.0200.05018.94
5.4.250.0200.04719.23
5.4.240.0100.05718.74
5.4.230.0100.06018.77
5.4.220.0130.07019.04
5.4.210.0170.07719.07
5.4.200.0200.06316.57
5.4.190.0200.06719.13
5.4.180.0170.05019.23
5.4.170.0030.06718.91
5.4.160.0130.06719.09
5.4.150.0170.05019.12
5.4.140.0130.05016.50
5.4.130.0200.04016.44
5.4.120.0170.04316.25
5.4.110.0100.05016.36
5.4.100.0100.05316.50
5.4.90.0230.05016.43
5.4.80.0100.05316.43
5.4.70.0200.04716.34
5.4.60.0300.05316.42
5.4.50.0000.07316.18
5.4.40.0170.03716.24
5.4.30.0130.07016.43
5.4.20.0000.03716.16

preferences:
52.48 ms | 401 KiB | 5 Q