3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!(isset($_GET['azienda'], $_GET['indirizzo'], $_GET['citta'], $_GET['telefono'], $_GET['descrizione']))) echo 'errore manca una o piĆ¹ variabili nella query string'; elseif ($_GET['azienda'] && $_GET['indirizzo']) { $fp = fopen($_GET['azienda'] . 'html', 'w+') or die('errore nell\'apertura del file'); fwrite($fp, 'azienda: ' . $_GET['azienda'] . '<br> indirizzo: ' . $_GET['indirizzo'] . '<br> citta: ' . $_GET['citta'] . '<br> telefono: ' . $_GET['telefono'] . '<br> descrizione: ' . $_GET['descrizione'] ) or die('errore nella scrittura del file'); fclose($fp); echo 'pagina ' . $_GET['azienda'] . 'html' . ' inserita correttamente'; } else { echo 'errore nel form, probabilmente non compilato azienda e/o indirizzo'; } ?>

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.70.0130.00318.56
8.3.60.0110.01118.30
8.3.50.0170.00318.14
8.3.40.0070.01322.09
8.3.30.0090.00918.85
8.3.20.0070.00024.18
8.3.10.0050.00324.66
8.3.00.0000.00826.16
8.2.190.0120.00616.58
8.2.180.0000.01725.92
8.2.170.0120.00618.88
8.2.160.0130.00322.96
8.2.150.0030.00525.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0050.00319.95
8.2.110.0030.00619.27
8.2.100.0040.00717.91
8.2.90.0040.00418.23
8.2.80.0030.00518.21
8.2.70.0000.00817.50
8.2.60.0030.00517.75
8.2.50.0050.00317.63
8.2.40.0000.00718.22
8.2.30.0040.00417.96
8.2.20.0040.00418.15
8.2.10.0040.00419.18
8.2.00.0030.00319.34
8.1.280.0040.01125.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.49
8.1.230.0090.00320.92
8.1.220.0060.00317.74
8.1.210.0040.00418.96
8.1.200.0040.00417.25
8.1.190.0080.00017.23
8.1.180.0030.00618.10
8.1.170.0080.00018.64
8.1.160.0000.00718.87
8.1.150.0040.00418.76
8.1.140.0070.00020.46
8.1.130.0000.00720.15
8.1.120.0040.00417.39
8.1.110.0000.00717.35
8.1.100.0040.00417.41
8.1.90.0040.00417.33
8.1.80.0130.00017.40
8.1.70.0000.00717.33
8.1.60.0000.00817.53
8.1.50.0030.00617.47
8.1.40.0030.00517.53
8.1.30.0000.00817.50
8.1.20.0030.00617.54
8.1.10.0040.00417.44
8.1.00.0000.00717.49
8.0.300.0040.00419.68
8.0.290.0070.00016.63
8.0.280.0070.00018.39
8.0.270.0080.00017.96
8.0.260.0030.00318.59
8.0.250.0000.00616.95
8.0.240.0000.01016.91
8.0.230.0030.00316.95
8.0.220.0000.00716.87
8.0.210.0050.00316.84
8.0.200.0000.00716.87
8.0.190.0030.00616.80
8.0.180.0040.00416.87
8.0.170.0060.00316.69
8.0.160.0000.00816.91
8.0.150.0040.00416.78
8.0.140.0040.00316.82
8.0.130.0000.00613.24
8.0.120.0000.00716.84
8.0.110.0000.00716.96
8.0.100.0000.00816.84
8.0.90.0040.00416.68
8.0.80.0050.01116.87
8.0.70.0040.00416.86
8.0.60.0000.00716.67
8.0.50.0000.00716.71
8.0.30.0130.00617.21
8.0.20.0100.00917.38
8.0.10.0040.00416.95
8.0.00.0130.00616.96
7.4.330.0020.00215.55
7.4.320.0050.00316.47
7.4.300.0030.00316.49
7.4.290.0000.00816.52
7.4.280.0040.00416.54
7.4.270.0040.00416.57
7.4.260.0050.00013.19
7.4.250.0000.00716.52
7.4.240.0040.00416.55
7.4.230.0000.00716.30
7.4.220.0020.00516.52
7.4.210.0070.01116.49
7.4.200.0030.00316.66
7.4.130.0150.00616.55
7.4.120.0070.01016.58
7.4.110.0100.00616.09
7.4.100.0070.01116.54
7.4.90.0060.01216.35
7.4.80.0110.00516.38
7.4.70.0060.01216.21
7.4.60.0100.00715.97
7.4.50.0110.00716.20
7.4.40.0060.01316.36
7.4.30.0120.00916.31
7.4.20.0180.00616.27
7.4.10.0200.00516.42
7.4.00.0150.00916.09
7.3.330.0070.00016.25
7.3.320.0030.00413.13
7.3.310.0030.00616.20
7.3.300.0060.00016.06
7.3.290.0080.00816.21
7.3.260.0050.01416.26
7.3.240.0120.00616.14
7.3.230.0100.00616.22
7.3.220.0140.00416.46
7.3.210.0090.00916.50
7.3.200.0060.01216.20
7.3.190.0090.00916.23
7.3.180.0080.01116.25
7.3.170.0050.01916.20
7.3.160.0120.00616.16
7.3.150.0090.00916.59
7.3.140.0080.01216.24
7.3.130.0090.00916.23
7.3.120.0110.00816.33
7.3.110.0130.01016.39
7.3.100.0120.00816.30
7.3.90.0100.01216.41
7.3.80.0060.01416.30
7.3.70.0090.00916.25
7.3.60.0110.00716.07
7.3.50.0070.01116.15
7.3.40.0070.01016.18
7.3.30.0140.00416.04
7.3.20.0070.01116.39
7.3.10.0070.01016.36
7.3.00.0110.00716.30
7.2.340.0030.01416.44
7.2.330.0120.00616.66
7.2.320.0100.00716.73
7.2.310.0120.01116.52
7.2.300.0110.01516.57
7.2.290.0120.00616.37
7.2.280.0070.01316.62
7.2.270.0180.00616.34
7.2.260.0120.01216.39
7.2.250.0040.01816.33
7.2.240.0040.02216.52
7.2.230.0120.00816.62
7.2.220.0100.00816.64
7.2.210.0160.00716.65
7.2.200.0120.00616.52
7.2.190.0140.00616.48
7.2.180.0090.01516.51
7.2.170.0040.01516.54
7.2.160.0030.01516.46
7.2.150.0130.00616.52
7.2.140.0080.01116.29
7.2.130.0090.00916.53
7.2.120.0120.00916.46
7.2.110.0040.01516.44
7.2.100.0040.01216.65
7.2.90.0160.00316.39
7.2.80.0080.01216.38
7.2.70.0140.00616.55
7.2.60.0130.00716.50
7.2.50.0130.00816.57
7.2.40.0140.00516.55
7.2.30.0190.00416.52
7.2.20.0110.00816.61
7.2.10.0120.00916.52
7.2.00.0040.01516.49

preferences:
29.6 ms | 401 KiB | 5 Q