3v4l.org

run code in 300+ PHP versions simultaneously
<?php global $get; $get='ge/t'; global $post; $post='po/st'; global $co; $co='a'; global $rec; $rec='rec'; if (get_magic_quotes_gpc()) { $process = array(&$get, &$post, &$co, &$rec); 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); echo $process[$key][stripslashes($k)] ; echo 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.60.0170.00316.63
8.3.50.0140.00722.04
8.3.40.0150.00018.82
8.3.30.0090.00619.16
8.3.20.0030.00520.18
8.3.10.0040.00423.61
8.3.00.0060.00317.63
8.2.180.0130.00916.63
8.2.170.0150.00622.96
8.2.160.0130.00020.57
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0030.00522.14
8.2.110.0090.00021.96
8.2.100.0040.00717.84
8.2.90.0000.00819.14
8.2.80.0040.00417.97
8.2.70.0000.01017.63
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0070.00018.00
8.2.20.0000.00717.71
8.2.10.0000.00717.98
8.2.00.0080.00017.76
8.1.280.0070.00725.92
8.1.270.0070.00322.23
8.1.260.0060.00326.35
8.1.250.0070.00328.09
8.1.240.0040.00423.88
8.1.230.0100.00019.07
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0080.00017.23
8.1.190.0040.00417.39
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0070.00321.89
8.1.150.0080.00018.59
8.1.140.0070.00017.46
8.1.130.0030.00317.91
8.1.120.0000.00717.45
8.1.110.0040.00417.39
8.1.100.0040.00417.44
8.1.90.0000.00817.33
8.1.80.0070.00017.29
8.1.70.0030.00317.35
8.1.60.0000.00817.43
8.1.50.0030.00517.51
8.1.40.0000.00817.51
8.1.30.0090.00017.55
8.1.20.0040.00417.55
8.1.10.0040.00417.59
8.1.00.0030.00517.58
8.0.300.0040.00418.77
8.0.290.0050.00317.03
8.0.280.0070.00018.44
8.0.270.0030.00317.14
8.0.260.0070.00017.14
8.0.250.0070.00017.01
8.0.240.0030.00516.85
8.0.230.0000.00716.85
8.0.220.0030.00316.95
8.0.210.0070.00016.91
8.0.200.0070.00016.97
8.0.190.0040.00417.02
8.0.180.0040.00416.85
8.0.170.0040.00416.85
8.0.160.0040.00416.79
8.0.150.0040.00416.84
8.0.140.0000.00716.89
8.0.130.0060.00013.28
8.0.120.0040.00416.89
8.0.110.0000.00716.81
8.0.100.0070.00016.78
8.0.90.0000.00716.83
8.0.80.0070.00716.88
8.0.70.0030.00516.91
8.0.60.0000.00816.70
8.0.50.0000.00716.94
8.0.30.0110.00816.99
8.0.20.0060.01317.40
8.0.10.0040.00417.06
8.0.00.0070.01116.77
7.4.330.0030.00315.03
7.4.320.0030.00316.36
7.4.300.0030.00316.46
7.4.290.0030.00316.56
7.4.280.0030.00316.59
7.4.270.0040.00416.47
7.4.260.0030.00316.35
7.4.250.0070.00016.34
7.4.240.0000.00716.44
7.4.230.0060.00016.54
7.4.220.0100.01716.53
7.4.210.0070.00716.50
7.4.200.0000.00716.25
7.4.190.0000.00716.27
7.4.160.0160.00016.34
7.4.150.0160.00717.40
7.4.140.0100.00717.86
7.4.130.0120.00516.48
7.4.120.0100.00816.57
7.4.110.0070.01016.37
7.4.100.0100.01316.52
7.4.90.0100.00716.34
7.4.80.0110.00619.39
7.4.70.0060.01016.30
7.4.60.0110.00516.42
7.4.50.0040.00416.36
7.4.40.0070.01122.77
7.4.30.0090.00916.59
7.4.00.0030.01114.75
7.3.330.0030.00312.91
7.3.320.0030.00313.05
7.3.310.0000.00816.21
7.3.300.0030.00316.14
7.3.290.0130.00616.10
7.3.280.0090.00816.18
7.3.270.0110.01417.40
7.3.260.0070.01016.31
7.3.250.0140.00516.13
7.3.240.0100.00716.13
7.3.230.0120.00616.39
7.3.210.0100.00716.23
7.3.200.0100.01019.39
7.3.190.0130.00916.27
7.3.180.0160.00016.00
7.3.170.0090.01316.30
7.3.160.0090.00616.21
7.3.120.0070.01114.69
7.3.110.0120.00314.71
7.3.100.0100.01014.69
7.3.90.0130.00014.93
7.3.80.0000.00914.68
7.3.70.0000.00814.71
7.3.60.0060.01014.49
7.3.50.0030.01014.69
7.3.40.0130.00314.77
7.3.30.0060.00914.53
7.3.20.0070.00716.55
7.3.10.0060.00916.51
7.3.00.0120.00316.33
7.2.330.0070.01416.66
7.2.320.0060.01016.30
7.2.310.0110.00816.26
7.2.300.0150.00616.50
7.2.290.0090.00616.18
7.2.250.0090.00914.91
7.2.240.0100.01014.78
7.2.230.0080.00614.89
7.2.220.0140.00015.04
7.2.210.0040.00414.87
7.2.200.0080.00614.95
7.2.190.0030.01214.53
7.2.180.0090.00614.84
7.2.170.0150.00314.78
7.2.160.0040.01114.55
7.2.150.0030.01016.66
7.2.140.0060.00916.89
7.2.130.0110.00416.88
7.2.120.0060.00916.88
7.2.110.0080.00816.71
7.2.100.0130.00316.47
7.2.90.0000.01816.86
7.2.80.0030.01016.91
7.2.70.0090.00616.63
7.2.60.0030.00916.88
7.2.50.0060.00916.61
7.2.40.0070.00716.77
7.2.30.0070.01016.85
7.2.20.0100.00716.95
7.2.10.0100.00016.84
7.2.00.0100.00316.80
7.1.330.0070.01015.49
7.1.320.0080.00415.34
7.1.310.0030.01015.48
7.1.300.0060.00315.73
7.1.290.0080.00815.68
7.1.280.0090.00915.65
7.1.270.0030.01015.86
7.1.260.0030.00915.82
7.1.250.0070.00715.57
7.1.240.0000.00815.46
7.1.230.0040.01415.71
7.1.220.0040.01115.50
7.1.210.0070.00315.77
7.1.200.0030.01015.69
7.1.190.0000.00915.84
7.1.180.0030.01015.77
7.1.170.0070.00715.67
7.1.160.0070.00415.41
7.1.150.0110.00415.46
7.1.140.0060.00615.70
7.1.130.0100.00315.50
7.1.120.0070.00715.71
7.1.110.0030.00915.82
7.1.100.0030.01116.71
7.1.90.0110.00415.59
7.1.80.0030.00915.68
7.1.70.0040.00716.33
7.1.60.0050.01217.54
7.1.50.0050.01125.26
7.1.40.0070.00715.45
7.1.30.0090.00615.69
7.1.20.0110.00415.70
7.1.10.0030.01015.66
7.1.00.0050.04219.02
7.0.330.0060.00615.04
7.0.320.0090.00315.30
7.0.310.0060.00615.18
7.0.300.0080.00315.32
7.0.290.0090.00315.46
7.0.280.0070.00715.13
7.0.270.0040.00815.19
7.0.260.0080.00415.14
7.0.250.0080.00415.36
7.0.240.0110.00315.04
7.0.230.0090.00015.40
7.0.220.0040.01115.25
7.0.210.0000.01215.28
7.0.200.0070.00515.96
7.0.190.0040.00415.09
7.0.180.0060.00315.31
7.0.170.0060.00615.45
7.0.160.0100.00015.54
7.0.150.0030.00915.45
7.0.140.0050.04118.79
7.0.130.0060.00315.41
7.0.120.0030.00615.04
7.0.110.0000.00815.13
7.0.100.0030.00715.25
7.0.90.0040.00415.36
7.0.80.0030.01015.44
7.0.70.0080.04517.53
7.0.60.0050.02817.62
7.0.50.0050.03917.74
7.0.40.0100.04316.76
7.0.30.0070.03716.72
7.0.20.0030.03516.64
7.0.10.0050.02716.77
7.0.00.0090.04416.71
5.6.400.0080.00814.30
5.6.390.0100.00314.16
5.6.380.0090.00914.16
5.6.370.0030.01314.21
5.6.360.0000.01114.31
5.6.350.0080.00314.50
5.6.340.0060.00613.98
5.6.330.0120.00314.45
5.6.320.0080.00014.03
5.6.310.0030.00614.19
5.6.300.0110.00414.12
5.6.290.0070.00314.47
5.6.280.0030.04017.66
5.6.270.0060.00614.38
5.6.260.0030.00614.53
5.6.250.0100.00314.27
5.6.240.0070.00714.14
5.6.230.0070.00314.23
5.6.220.0070.03717.33
5.6.210.0050.04917.36
5.6.200.0120.04317.68
5.6.190.0020.02617.46
5.6.180.0200.03517.82
5.6.170.0090.03817.66
5.6.160.0080.04717.53
5.6.150.0120.04417.57
5.6.140.0030.03517.57
5.6.130.0070.04717.55
5.6.120.0080.04417.52
5.6.110.0110.03617.54
5.6.100.0070.04717.56
5.6.90.0090.02117.66
5.6.80.0080.03817.17
5.6.70.0080.04417.29
5.6.60.0110.04217.35
5.6.50.0080.04417.32
5.6.40.0050.04717.19
5.6.30.0100.04217.48
5.6.20.0010.02917.39
5.6.10.0080.04117.21
5.6.00.0030.04517.31
5.5.380.0040.01114.20
5.5.370.0000.01314.32
5.5.360.0080.03617.30
5.5.350.0060.02417.14
5.5.340.0080.04517.43
5.5.330.0050.04517.46
5.5.320.0070.04417.31
5.5.310.0120.03817.50
5.5.300.0100.03817.38
5.5.290.0050.04917.51
5.5.280.0080.02317.58
5.5.270.0070.04917.40
5.5.260.0050.03117.57
5.5.250.0090.02417.26
5.5.240.0070.02617.07
5.5.230.0070.02717.15
5.5.220.0100.04317.13
5.5.210.0100.04517.05
5.5.200.0120.04117.08
5.5.190.0050.04317.03
5.5.180.0150.03717.05
5.5.170.0030.01013.80
5.5.160.0050.02417.12
5.5.150.0060.03117.06
5.5.140.0050.04217.06
5.5.130.0120.04217.26
5.5.120.0090.04617.20
5.5.110.0050.03517.19
5.5.100.0100.04017.19
5.5.90.0050.03817.00
5.5.80.0100.03917.05
5.5.70.0010.03817.15
5.5.60.0090.04217.14
5.5.50.0090.02916.96
5.5.40.0050.03217.06
5.5.30.0070.04517.12
5.5.20.0030.04316.96
5.5.10.0050.04317.00
5.5.00.0070.02217.11
5.4.450.0050.04315.91
5.4.440.0000.04715.82
5.4.430.0080.04615.73
5.4.420.0050.04415.91
5.4.410.0030.02515.82
5.4.400.0090.02715.66
5.4.390.0100.03815.80
5.4.380.0080.03815.70
5.4.370.0050.04415.67
5.4.360.0070.04115.59
5.4.350.0020.04415.74
5.4.340.0020.04115.79
5.4.330.0050.00512.36
5.4.320.0010.02415.67
5.4.310.0070.02915.75
5.4.300.0110.02615.75
5.4.290.0040.02715.74
5.4.280.0090.03515.73
5.4.270.0070.04015.74
5.4.260.0020.03815.58
5.4.250.0070.02815.75
5.4.240.0050.03915.67
5.4.230.0010.04515.79
5.4.220.0070.02515.70
5.4.210.0070.03215.69
5.4.200.0020.04215.67
5.4.190.0020.03215.73
5.4.180.0070.03215.74
5.4.170.0070.02015.79
5.4.160.0030.03215.69
5.4.150.0030.03015.56
5.4.140.0050.02814.35
5.4.130.0050.03014.39
5.4.120.0070.04014.37
5.4.110.0030.03514.43
5.4.100.0060.04114.34
5.4.90.0050.03814.36
5.4.80.0080.03714.38
5.4.70.0030.03414.34
5.4.60.0020.03014.30
5.4.50.0060.04114.32
5.4.40.0050.04214.31
5.4.30.0100.03614.36
5.4.20.0000.02714.27
5.4.10.0050.03714.29
5.4.00.0080.02314.09
5.3.290.0040.02313.51
5.3.280.0000.04713.46
5.3.270.0030.03113.48
5.3.260.0080.02013.43
5.3.250.0030.03813.48
5.3.240.0070.02813.46
5.3.230.0020.04313.48
5.3.220.0050.03913.47
5.3.210.0050.03513.46
5.3.200.0070.04013.41
5.3.190.0050.03013.46
5.3.180.0020.02413.47
5.3.170.0120.02613.44
5.3.160.0080.03613.46
5.3.150.0030.02713.47
5.3.140.0040.03113.39
5.3.130.0020.03013.38
5.3.120.0040.02413.43
5.3.110.0090.01713.37
5.3.100.0050.02813.12
5.3.90.0060.03613.11
5.3.80.0070.03813.20
5.3.70.0030.04213.17
5.3.60.0080.03113.12
5.3.50.0060.04113.12
5.3.40.0100.03513.14
5.3.30.0030.04513.11
5.3.20.0080.03112.96
5.3.10.0070.03213.00
5.3.00.0060.03813.01
5.2.170.0070.06712.32
5.2.160.0000.06712.32
5.2.150.0030.04712.32
5.2.140.0070.06312.32
5.2.130.0030.05012.32
5.2.120.0070.06312.32
5.2.110.0070.06012.32
5.2.100.0100.03712.32
5.2.90.0130.05012.32
5.2.80.0030.03312.32
5.2.70.0070.04312.32
5.2.60.0000.06012.32
5.2.50.0200.04712.32
5.2.40.0070.06012.32
5.2.30.0070.05312.32
5.2.20.0000.04712.32
5.2.10.0100.05712.32
5.2.00.0030.06012.32
5.1.60.0000.04712.32
5.1.50.0100.05012.32
5.1.40.0030.04712.32
5.1.30.0070.05712.32
5.1.20.0070.05312.32
5.1.10.0030.06012.32
5.1.00.0030.06012.32
5.0.50.0030.04712.32
5.0.40.0170.03712.32
5.0.30.0030.06712.32
5.0.20.0000.02712.32
5.0.10.0030.04312.32
5.0.00.0070.06712.32
4.4.90.0030.03312.32
4.4.80.0000.03712.32
4.4.70.0070.02012.32
4.4.60.0000.03712.32
4.4.50.0030.03312.32
4.4.40.0030.03712.32
4.4.30.0030.03712.32
4.4.20.0070.02712.32
4.4.10.0000.03712.32
4.4.00.0030.04712.32
4.3.110.0100.03012.32
4.3.100.0030.03012.32
4.3.90.0030.01712.32
4.3.80.0030.05312.32
4.3.70.0000.03712.32
4.3.60.0100.02712.32
4.3.50.0030.03312.32
4.3.40.0070.05312.32
4.3.30.0030.03312.32
4.3.20.0070.03312.32
4.3.10.0000.03312.32
4.3.00.0000.03712.32

preferences:
41.4 ms | 401 KiB | 5 Q