3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET = [ 'q' => 'Modules/ShowDocument.aspx', 'documentlD' => '278', ]; // The following query strings should be corrected for case sensitivity or url // redirects won't match properly. $substitutions = [ 'documentid' => 'documentID', 'imageid' => 'imageID', ]; // if (!empty(array_intersect(array_map('strtolower', array_keys($_GET)), array_keys($substitutions)))) { foreach ($_GET as $param_name => $value) { $param_lc = strtolower($param_name); if (in_array($param_lc, array_keys($substitutions)) && $param_name !== $substitutions[$param_lc]) { $_GET[$substitutions[$param_lc]] = $value; unset($_GET[$param_name]); } } // } var_dump($_GET);

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.0100.01018.43
8.3.50.0140.00718.18
8.3.40.0140.00718.61
8.3.30.0120.00318.45
8.3.20.0080.00019.20
8.3.10.0000.00821.67
8.3.00.0000.00820.87
8.2.180.0110.00418.29
8.2.170.0110.00422.96
8.2.160.0130.00619.08
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00420.52
8.2.120.0040.00426.35
8.2.110.0060.00321.18
8.2.100.0070.00419.77
8.2.90.0040.00419.27
8.2.80.0060.00317.97
8.2.70.0030.00617.50
8.2.60.0040.00417.93
8.2.50.0080.00018.10
8.2.40.0000.00820.42
8.2.30.0000.00819.31
8.2.20.0080.00017.81
8.2.10.0030.00518.13
8.2.00.0070.00018.01
8.1.280.0070.01325.92
8.1.270.0070.00023.83
8.1.260.0070.00028.09
8.1.250.0080.00028.09
8.1.240.0100.00317.95
8.1.230.0040.00717.89
8.1.220.0040.00417.74
8.1.210.0070.00318.77
8.1.200.0060.00317.25
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0050.00318.68
8.1.160.0000.00719.14
8.1.150.0000.00718.81
8.1.140.0040.00419.60
8.1.130.0030.00317.71
8.1.120.0040.00417.50
8.1.110.0060.00317.45
8.1.100.0000.00717.48
8.1.90.0030.00517.36
8.1.80.0030.00317.44
8.1.70.0040.00417.39
8.1.60.0000.00717.60
8.1.50.0040.00417.42
8.1.40.0020.00517.53
8.1.30.0050.00317.57
8.1.20.0000.00817.68
8.1.10.0040.00417.43
8.1.00.0040.00417.47
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0030.00318.45
8.0.270.0070.00017.19
8.0.260.0080.00317.17
8.0.250.0030.00316.98
8.0.240.0000.00717.01
8.0.230.0060.00316.97
8.0.220.0000.00616.96
8.0.210.0040.00416.90
8.0.200.0030.00316.92
8.0.190.0000.00817.03
8.0.180.0000.00716.80
8.0.170.0000.00816.97
8.0.160.0000.00816.80
8.0.150.0050.00216.88
8.0.140.0040.00416.80
8.0.130.0050.00013.37
8.0.120.0000.00816.79
8.0.110.0070.00016.82
8.0.100.0040.00417.02
8.0.90.0080.00016.91
8.0.80.0060.00916.91
8.0.70.0070.00016.97
8.0.60.0000.00716.96
8.0.50.0000.00816.92
8.0.30.0090.00917.18
8.0.20.0060.01317.40
8.0.10.0080.00016.84
8.0.00.0090.00916.74
7.4.330.0050.00015.08
7.4.320.0030.00316.52
7.4.300.0080.00016.54
7.4.290.0000.00816.53
7.4.280.0050.00316.65
7.4.270.0030.00316.59
7.4.260.0030.00616.38
7.4.250.0030.00316.46
7.4.240.0000.00716.62
7.4.230.0070.00016.71
7.4.220.0110.01516.68
7.4.210.0070.01116.67
7.4.200.0000.00716.37
7.4.160.0100.00616.59
7.4.150.0130.00617.40
7.4.140.0120.00617.86
7.4.130.0090.00916.43
7.4.120.0070.01116.45
7.4.110.0030.01616.36
7.4.100.0100.00616.57
7.4.90.0040.01316.49
7.4.80.0030.01419.39
7.4.70.0150.00316.44
7.4.60.0090.00916.46
7.4.50.0000.01016.54
7.4.40.0030.01316.47
7.4.30.0150.00616.34
7.4.00.0060.00915.18
7.3.330.0000.00613.11
7.3.320.0070.00013.10
7.3.310.0000.00716.25
7.3.300.0000.00816.06
7.3.290.0090.00616.26
7.3.280.0110.00816.18
7.3.270.0120.00617.40
7.3.260.0090.00816.47
7.3.250.0080.01316.39
7.3.240.0100.00816.43
7.3.230.0140.00316.39
7.3.210.0000.01616.40
7.3.200.0040.01216.25
7.3.190.0090.00616.26
7.3.180.0170.00016.11
7.3.170.0100.00716.28
7.3.160.0070.01716.43
7.3.10.0040.00916.57
7.3.00.0060.00616.54
7.2.330.0100.01216.77
7.2.320.0070.01016.87
7.2.310.0060.01616.44
7.2.300.0060.01416.72
7.2.290.0070.01016.53
7.2.130.0110.00616.82
7.2.120.0100.00317.00
7.2.110.0070.00616.58
7.2.100.0100.00616.95
7.2.90.0050.01017.02
7.2.80.0020.01316.95
7.2.70.0060.00616.83
7.2.60.0110.00316.95
7.2.50.0050.00816.81
7.2.40.0020.01116.86
7.2.30.0100.00517.08
7.2.20.0130.00316.91
7.2.10.0070.00716.83
7.2.00.0020.01216.98
7.1.250.0050.00515.61
7.1.240.0030.00715.54
7.1.230.0090.00915.81
7.1.220.0070.00715.57
7.1.210.0070.00715.64
7.1.200.0050.00915.70
7.1.190.0140.00315.71
7.1.180.0110.00715.57
7.1.170.0040.00715.42
7.1.160.0000.01415.43
7.1.150.0030.00915.62
7.1.140.0120.00615.71
7.1.130.0140.00015.68
7.1.120.0040.01115.54
7.1.110.0080.00415.68
7.1.100.0000.01315.73
7.1.90.0030.00915.90
7.1.80.0090.00315.64
7.1.70.0030.00716.12
7.1.60.0100.01017.64
7.1.50.0060.00915.76
7.1.40.0030.00915.87
7.1.30.0030.01015.69
7.1.20.0040.00415.79
7.1.10.0060.00915.28
7.1.00.0050.03819.11
7.0.330.0090.00415.10
7.0.320.0140.00915.09
7.0.310.0070.00715.15
7.0.300.0090.00915.11
7.0.290.0060.01215.17
7.0.280.0130.00414.89
7.0.270.0110.00315.35
7.0.260.0110.00315.30
7.0.250.0050.00315.07
7.0.240.0070.00314.97
7.0.230.0000.01015.20
7.0.220.0090.00615.35
7.0.210.0130.00714.96
7.0.200.0210.00614.96
7.0.190.0000.01115.15
7.0.180.0110.00015.36
7.0.170.0120.00615.16
7.0.160.0080.00815.09
7.0.150.0090.00615.12
7.0.140.0030.01015.31
7.0.130.0040.00915.14
7.0.120.0050.01415.23
7.0.110.0060.00615.07
7.0.100.0090.00315.09
7.0.90.0030.01015.09
7.0.80.0090.00315.27
7.0.70.0690.03517.62
7.0.60.0790.02817.68
7.0.50.0700.03517.98
7.0.40.0710.03816.79
7.0.30.0750.03216.70
7.0.20.0720.04316.93
7.0.10.0720.03716.77
7.0.00.0800.02816.88
5.6.380.0040.00714.11
5.6.370.0040.01114.15
5.6.360.0080.01014.81
5.6.350.0040.01514.35
5.6.340.0120.00914.27
5.6.330.0090.00814.10
5.6.320.0040.00814.31
5.6.310.0120.00414.39
5.6.300.0030.00914.45
5.6.290.0070.00414.57
5.6.280.0090.03717.61
5.6.270.0030.00714.25
5.6.260.0060.01114.12
5.6.250.0070.00714.34
5.6.240.0040.01114.33
5.6.230.0030.01014.06
5.6.220.0650.03117.48
5.6.210.0650.03217.42
5.6.200.0510.03717.63
5.6.190.0640.02817.78
5.6.180.0720.03917.73
5.6.170.0670.03217.63
5.6.160.0660.03417.67
5.6.150.0760.02417.80
5.6.140.0650.04017.57
5.6.130.0670.03017.76
5.6.120.0150.03317.57
5.6.110.0320.04017.75
5.6.100.0620.03017.63
5.6.90.0670.05017.62
5.6.80.0640.03317.10
5.6.70.0690.03017.28
5.6.60.0760.03717.36
5.6.50.0710.02517.43
5.6.40.0610.03317.16
5.6.30.0630.03417.26
5.6.20.0730.03317.26
5.6.10.0680.02917.22
5.6.00.0740.03117.22
5.5.380.0060.00311.15
5.5.370.0000.00710.86
5.5.360.0740.03615.70
5.5.350.0620.03015.56
5.5.340.0520.02915.75
5.5.330.0690.03815.99
5.5.320.0670.02715.62
5.5.310.0610.03015.90
5.5.300.0550.03515.87
5.5.290.0570.03915.96
5.5.280.0080.03416.08
5.5.270.0550.03315.80
5.5.260.0550.04016.00
5.5.250.0700.03515.88
5.5.240.0580.03415.49
5.5.230.0680.02715.55
5.5.220.0740.03815.47
5.5.210.0680.03115.55
5.5.200.0580.04215.63
5.5.190.0670.02915.62
5.5.180.0630.02815.59
5.5.170.0030.01010.77
5.5.160.0680.02715.55
5.5.150.0650.03315.70
5.5.140.0590.03015.52
5.5.130.0700.04015.71
5.5.120.0550.03615.71
5.5.110.0550.03315.63
5.5.100.0780.03215.70
5.5.90.0680.02715.69
5.5.80.0660.03115.72
5.5.70.0720.03115.42
5.5.60.0470.03415.52
5.5.50.0470.03815.59
5.5.40.0640.02715.47
5.5.30.0600.03115.52
5.5.20.0550.03015.49
5.5.10.0510.02915.54
5.5.00.0530.03015.49

preferences:
57.61 ms | 401 KiB | 5 Q