3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Mislukte opvragingen: Limburger, De Gelderlander, RTV Noord, Rijnmond, RTV Utrecht, De Telegraaf, Nieuws.nl, Verkeersnet, Leidsch Dagblad, NS Pers, NS Actueel"; function shortenString($string) { if(strlen($string) > 30) { echo substr($string, 0, 30 ) . '...'; } else { echo $string; } } ?><!DOCTYPE html> <html> <head> <title>Test</title> <meta charset="ISO-8859-1"> </head> <body> <?php echo ' <table border="0" width="55%" cellspacing="0" cellpadding="0"> <tr> <th>ID</th> <th>Filename</th> <th>Date Logged</th> <th>Parsetime</th> <th>Comments</th> </tr> <tr> <td>6</td> <td>newsscanner.php</td> <td>1 feb 2017 om: 11:21</td> <td>11.9235889</td> <td>'.shortenString($string).'</td> </tr> </table>'; ?> </body> </html>

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.0110.00718.30
8.3.50.0110.00719.71
8.3.40.0090.00918.49
8.3.30.0110.00318.71
8.3.20.0070.00021.68
8.3.10.0090.00021.86
8.3.00.0080.00022.14
8.2.180.0070.01416.75
8.2.170.0110.00722.96
8.2.160.0110.00421.96
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00617.72
8.2.120.0040.00426.35
8.2.110.0030.00721.00
8.2.100.0070.00418.03
8.2.90.0000.00818.06
8.2.80.0060.00617.97
8.2.70.0040.00417.80
8.2.60.0030.00618.09
8.2.50.0030.00518.10
8.2.40.0000.00922.22
8.2.30.0030.00619.26
8.2.20.0070.00017.99
8.2.10.0040.00417.98
8.2.00.0040.00417.73
8.1.280.0140.00325.92
8.1.270.0050.00322.06
8.1.260.0040.00426.35
8.1.250.0030.00728.09
8.1.240.0090.00022.17
8.1.230.0060.00622.59
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0070.00317.22
8.1.190.0000.00817.23
8.1.180.0070.00318.10
8.1.170.0050.00318.49
8.1.160.0000.00718.82
8.1.150.0060.00322.06
8.1.140.0000.00719.59
8.1.130.0040.00418.94
8.1.120.0040.00417.55
8.1.110.0000.00817.46
8.1.100.0070.00017.47
8.1.90.0000.00717.40
8.1.80.0050.00217.31
8.1.70.0000.00817.50
8.1.60.0060.00317.59
8.1.50.0040.00417.50
8.1.40.0040.00417.59
8.1.30.0000.00817.60
8.1.20.0040.00417.49
8.1.10.0040.00417.51
8.1.00.0040.00717.43
8.0.300.0050.00319.63
8.0.290.0000.00816.88
8.0.280.0000.00718.40
8.0.270.0070.00017.14
8.0.260.0030.00317.18
8.0.250.0030.00316.98
8.0.240.0050.00216.82
8.0.230.0070.00016.88
8.0.220.0000.00816.82
8.0.210.0000.00716.88
8.0.200.0030.00316.95
8.0.190.0070.00016.94
8.0.180.0050.00316.81
8.0.170.0000.00816.86
8.0.160.0040.00416.82
8.0.150.0000.00716.80
8.0.140.0070.00016.85
8.0.130.0000.00513.29
8.0.120.0070.00016.90
8.0.110.0070.00016.85
8.0.100.0000.00817.03
8.0.90.0040.00416.81
8.0.80.0080.00816.83
8.0.70.0070.00016.89
8.0.60.0040.00416.88
8.0.50.0040.00416.80
8.0.30.0070.00817.06
8.0.20.0110.00817.40
8.0.10.0030.00417.01
8.0.00.0130.00416.68
7.4.330.0060.00015.55
7.4.320.0000.00616.50
7.4.300.0000.00616.49
7.4.290.0080.00016.60
7.4.280.0000.00816.51
7.4.270.0030.00316.38
7.4.260.0040.00716.59
7.4.250.0070.00016.55
7.4.240.0000.00716.56
7.4.230.0070.00016.46
7.4.220.0150.00316.63
7.4.210.0030.01016.51
7.4.200.0040.00416.50
7.4.160.0070.00816.51
7.4.150.0030.01317.40
7.4.140.0080.01017.86
7.4.130.0090.00916.59
7.4.120.0110.00816.47
7.4.110.0130.00316.52
7.4.100.0110.00616.51
7.4.90.0070.01416.57
7.4.80.0060.01619.39
7.4.70.0100.00716.48
7.4.60.0140.00316.52
7.4.50.0030.01116.56
7.4.40.0170.00716.54
7.4.30.0140.00316.50
7.4.00.0020.01514.97
7.3.330.0030.00313.23
7.3.320.0000.00613.08
7.3.310.0070.00016.36
7.3.300.0030.00316.18
7.3.290.0090.00516.28
7.3.280.0070.00916.30
7.3.270.0100.00617.40
7.3.260.0110.00816.49
7.3.250.0120.00816.48
7.3.240.0080.01116.43
7.3.230.0050.01116.61
7.3.210.0120.00316.42
7.3.200.0030.01216.59
7.3.190.0130.00616.24
7.3.180.0090.00716.25
7.3.170.0030.01216.42
7.3.160.0090.01316.43
7.3.120.0060.01214.57
7.3.110.0070.01014.84
7.3.100.0030.01014.78
7.3.90.0090.00614.89
7.3.80.0090.00614.94
7.3.70.0060.00914.65
7.3.60.0030.00714.88
7.3.50.0030.00715.00
7.3.40.0100.00714.93
7.3.30.0060.00614.82
7.3.20.0060.00616.68
7.3.10.0060.00616.87
7.3.00.0030.00716.85
7.2.330.0160.00316.88
7.2.320.0160.01416.68
7.2.310.0160.00016.72
7.2.300.0100.01316.64
7.2.290.0070.01016.73
7.2.250.0040.01515.27
7.2.240.0100.01014.70
7.2.230.0030.01015.02
7.2.220.0050.00514.98
7.2.210.0040.01115.16
7.2.200.0050.00514.78
7.2.190.0030.00915.25
7.2.180.0070.01115.09
7.2.170.0110.00314.91
7.1.330.0090.00615.55
7.1.320.0030.01015.96
7.1.310.0030.01015.48
7.1.300.0030.01015.79
7.1.290.0030.00915.80
7.1.280.0030.01015.75
7.1.270.0000.01115.57
7.1.260.0060.00915.88
7.1.200.0040.00716.01
7.1.70.0000.00917.19
7.1.60.0070.00717.09
7.1.10.0070.07722.15
7.1.00.0170.05722.33
7.0.200.0040.01116.82
7.0.150.0070.08721.83
7.0.140.0030.06721.91
7.0.130.0070.06021.85
7.0.120.0100.05721.85
7.0.110.0100.05721.79
7.0.100.0130.05321.72
7.0.90.0100.05721.88
7.0.80.0100.06321.73
7.0.70.0130.05321.80
7.0.60.0100.05721.62
7.0.50.0070.06021.91
7.0.40.0170.08021.98
7.0.30.0200.09721.89
7.0.20.0200.06021.91
7.0.10.0170.04721.86
7.0.00.0130.05321.91

preferences:
52.11 ms | 401 KiB | 5 Q