3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Er magic_quotes_gpc aktiv? if(get_magic_quotes_gpc()) { // Vi gemmer vores HTTP variabler som referencer, altså // er dette en reference til den aktuelle variabel $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST); print_r($process); // Vi gemmer hver enkelt references key og value, for at // behandle dem i en løkke while(list($key, $val) = each($process)) { // foreach($val as $k => $v) { unset($process[$key][$k]); if(is_array($v)) { $process[$key][stripslashes($k)] = $v; $process[] = &$process[$key][stripslashes($k)]; } else { $process[$key][stripslashes($k)] = stripslashes($v); } } } unset($process); }

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.40.0120.00618.70
8.3.30.0140.00020.18
8.3.20.0050.00220.38
8.3.10.0000.00821.98
8.3.00.0080.00022.40
8.2.170.0170.00322.96
8.2.160.0140.00020.37
8.2.150.0040.00424.18
8.2.140.0120.00624.66
8.2.130.0050.00826.16
8.2.120.0050.00319.41
8.2.110.0080.00322.25
8.2.100.0040.00819.45
8.2.90.0050.00319.14
8.2.80.0040.00419.22
8.2.70.0000.00817.50
8.2.60.0080.00017.80
8.2.50.0040.00418.07
8.2.40.0080.00018.21
8.2.30.0000.00818.07
8.2.20.0060.00317.63
8.2.10.0080.00017.70
8.2.00.0000.00817.57
8.1.270.0080.00020.23
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.95
8.1.230.0040.00719.01
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0070.00317.11
8.1.190.0000.00717.39
8.1.180.0060.00320.19
8.1.170.0000.00818.59
8.1.160.0000.00822.05
8.1.150.0040.00418.43
8.1.140.0040.00417.38
8.1.130.0000.00717.78
8.1.120.0040.00417.24
8.1.110.0000.00917.22
8.1.100.0100.00017.34
8.1.90.0050.00317.33
8.1.80.0040.00417.31
8.1.70.0070.00017.29
8.1.60.0080.00017.48
8.1.50.0030.00617.46
8.1.40.0000.00717.29
8.1.30.0040.00417.63
8.1.20.0040.00417.64
8.1.10.0050.00317.48
8.1.00.0040.00417.43
8.0.300.0040.00418.77
8.0.290.0050.00317.18
8.0.280.0000.00718.31
8.0.270.0000.00717.26
8.0.260.0030.00316.81
8.0.250.0030.00316.90
8.0.240.0030.00616.95
8.0.230.0000.00716.93
8.0.220.0040.00416.94
8.0.210.0000.00716.86
8.0.200.0060.00016.98
8.0.190.0040.00416.98
8.0.180.0050.00216.83
8.0.170.0000.00816.95
8.0.160.0050.00216.93
8.0.150.0030.00316.73
8.0.140.0060.00316.87
8.0.130.0030.00313.32
8.0.120.0050.00316.86
8.0.110.0000.00716.89
8.0.100.0000.00716.75
8.0.90.0040.00416.89
8.0.80.0070.00716.96
8.0.70.0040.00416.86
8.0.60.0000.00716.79
8.0.50.0000.00816.70
8.0.30.0080.01017.14
8.0.20.0130.00517.40
8.0.10.0030.00516.83
8.0.00.0100.00816.75
7.4.330.0050.00015.00
7.4.320.0060.00016.56
7.4.300.0060.00016.44
7.4.290.0030.00316.40
7.4.280.0000.00716.39
7.4.270.0000.00716.40
7.4.260.0050.00216.48
7.4.250.0040.00416.27
7.4.240.0030.00416.49
7.4.230.0030.00316.39
7.4.220.0090.00916.51
7.4.210.0070.00816.39
7.4.200.0000.00716.46
7.4.190.0000.00716.62
7.4.160.0160.00616.47
7.4.150.0150.00317.40
7.4.140.0100.00717.86
7.4.130.0120.00716.29
7.4.120.0120.01016.47
7.4.110.0040.01216.43
7.4.100.0120.00616.21
7.4.90.0070.01016.32
7.4.80.0130.01319.39
7.4.70.0030.01316.51
7.4.60.0030.01416.39
7.4.50.0000.00416.32
7.4.40.0090.00522.77
7.4.30.0130.00316.34
7.4.00.0030.01214.85
7.3.330.0000.00512.89
7.3.320.0020.00212.98
7.3.310.0000.00716.22
7.3.300.0000.00616.13
7.3.290.0060.01316.18
7.3.280.0080.00816.14
7.3.270.0140.00917.40
7.3.260.0100.01416.22
7.3.250.0080.00916.21
7.3.240.0050.01316.20
7.3.230.0080.00816.39
7.3.210.0170.00716.24
7.3.200.0120.00419.39
7.3.190.0090.00916.08
7.3.180.0130.00316.24
7.3.170.0060.00916.27
7.3.160.0100.00716.16
7.3.120.0070.00414.32
7.2.330.0130.00316.44
7.2.320.0100.00716.39
7.2.310.0140.00616.45
7.2.300.0060.00916.35
7.2.290.0030.01316.37
7.2.00.0000.01119.22
7.1.100.0030.00918.14
7.1.70.0040.00417.16
7.1.60.0100.01319.50
7.1.50.0090.01216.80
7.1.00.0130.06022.34
7.0.200.0070.00416.86
7.0.140.0030.07322.08
7.0.60.0130.07019.91
7.0.50.0030.04017.88
7.0.40.0070.08720.12
7.0.30.0270.08020.17
7.0.20.0330.07720.17
7.0.10.0270.04720.17
7.0.00.0070.06020.01
5.6.280.0070.07320.97
5.6.210.0230.06720.71
5.6.200.0130.07318.09
5.6.190.0100.08320.45
5.6.180.3530.04020.43
5.6.170.0430.07320.51
5.6.160.0030.05020.63
5.6.150.0070.08318.18
5.6.140.0070.08318.18
5.6.130.0030.07718.14
5.6.120.0070.05320.98
5.6.110.0170.07721.11
5.6.100.0030.07021.13
5.6.90.0070.07720.97
5.6.80.0230.06720.37
5.6.70.0170.05020.39
5.5.350.0130.03720.39
5.5.340.0100.08017.91
5.5.330.0170.07320.40
5.5.320.0170.04020.29
5.5.310.0370.07020.32
5.5.300.0000.08317.95
5.5.290.0000.05018.02
5.5.280.0100.06720.80
5.5.270.0030.04720.67
5.5.260.0030.07020.76
5.5.250.0000.06320.58
5.5.240.0130.03020.32
5.4.450.0100.06019.51
5.4.440.0200.06019.49
5.4.430.0270.04319.62
5.4.420.0200.06019.47
5.4.410.0230.04319.45
5.4.400.0430.06018.83
5.4.390.0230.04318.69
5.4.380.0300.04718.68
5.4.370.0130.06318.56
5.4.360.0100.05318.59
5.4.350.0100.03311.98
5.4.340.0080.04711.97
5.4.320.0080.04312.46
5.4.310.0080.03712.45
5.4.300.0080.04012.46
5.4.290.0100.04112.45
5.4.280.0050.03712.35
5.4.270.0100.03812.35
5.4.260.0070.03612.35
5.4.250.0030.07319.02
5.4.240.0170.05718.89
5.4.230.0000.05719.02
5.4.220.0000.06018.74
5.4.210.0070.07719.00
5.4.200.0200.04318.87
5.4.190.0100.05318.82
5.4.180.0000.06318.88
5.4.170.0100.05718.76
5.4.160.0070.06018.97
5.4.150.0200.04318.93
5.4.140.0130.04716.26
5.4.130.0000.05716.27
5.4.120.0130.04316.29
5.4.110.0100.05316.41
5.4.100.0070.05316.49
5.4.90.0100.04716.49
5.4.80.0170.04016.32
5.4.70.0130.04316.50
5.4.60.0170.05716.42
5.4.50.0070.04716.43
5.4.40.0070.05316.38
5.4.30.0170.04316.55
5.4.20.0100.06716.50
5.4.10.0100.05316.46
5.4.00.0130.04315.73
5.3.290.0110.04312.80
5.3.280.0170.05714.65
5.3.270.0200.04714.68
5.3.260.0130.07314.73
5.3.250.0070.07714.59
5.3.240.0100.06314.60
5.3.230.0070.07014.56
5.3.220.0230.05714.65
5.3.210.0070.05314.55
5.3.200.0130.07014.74
5.3.190.0070.05014.79
5.3.180.0130.04714.53
5.3.170.0230.06014.39
5.3.160.0070.05014.64
5.3.150.0130.04714.57
5.3.140.0070.07714.71
5.3.130.0030.06014.68
5.3.120.0000.06014.68
5.3.110.0200.04714.61
5.3.100.0070.05314.16
5.3.90.0030.05714.10
5.3.80.0070.06313.84
5.3.70.0100.07014.08
5.3.60.0130.04313.98
5.3.50.0100.05713.85
5.3.40.0130.05014.12
5.3.30.0070.05014.08
5.3.20.0070.04713.76
5.3.10.0100.04713.61
5.3.00.0100.04713.70
5.2.170.0100.05711.12
5.2.160.0070.05011.21
5.2.150.0130.05311.09
5.2.140.0070.04711.11
5.2.130.0000.06311.26
5.2.120.0100.05311.10
5.2.110.0000.04311.05
5.2.100.0070.03711.27
5.2.90.0130.03311.05
5.2.80.0100.04311.17
5.2.70.0100.03711.17
5.2.60.0070.05711.07
5.2.50.0100.05011.11
5.2.40.0000.06310.99
5.2.30.0070.04010.87
5.2.20.0070.03711.04
5.2.10.0070.03710.94
5.2.00.0070.04010.70
5.1.60.0030.03710.03
5.1.50.0000.04010.23
5.1.40.0030.0339.90
5.1.30.0070.03310.31
5.1.20.0070.03310.43
5.1.10.0100.0339.94
5.1.00.0070.05010.13
5.0.50.0070.0278.75
5.0.40.0000.0308.36
5.0.30.0030.0438.32
5.0.20.0070.0278.04
5.0.10.0030.0308.18
5.0.00.0070.0538.32
4.4.90.0070.0276.97
4.4.80.0070.0206.97
4.4.70.0030.0206.97
4.4.60.0030.0206.97
4.4.50.0100.0236.97
4.4.40.0030.0336.97
4.4.30.0030.0206.97
4.4.20.0030.0206.97
4.4.10.0030.0306.97
4.4.00.0000.0436.97
4.3.110.0070.0236.97
4.3.100.0030.0306.97
4.3.90.0070.0176.97
4.3.80.0030.0476.97
4.3.70.0000.0336.97
4.3.60.0100.0136.95
4.3.50.0100.0276.94
4.3.40.0030.0476.91
4.3.30.0070.0206.89
4.3.20.0030.0306.84
4.3.10.0030.0236.80
4.3.00.0000.0236.79

preferences:
47.77 ms | 400 KiB | 5 Q