3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET = ['user' => 'Bob', 'location' => 'city']; $_GET['job'] = 'none'; unset($_GET['location']); $_GET['user'] = 'Alice'; $queryStr = http_build_query($_GET); echo $queryStr, PHP_EOL;

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.4.130.0140.00617.57
8.4.120.0140.00520.53
8.4.110.0130.00622.57
8.4.100.0090.01117.83
8.4.90.0150.00518.59
8.4.80.0100.01017.63
8.4.70.0110.00917.73
8.4.60.0050.01518.89
8.4.50.0130.00517.61
8.4.40.0060.00317.47
8.4.30.0030.01219.13
8.4.20.0040.00419.34
8.4.10.0070.01019.65
8.3.260.0100.01016.46
8.3.250.0110.00818.89
8.3.240.0100.01016.82
8.3.230.0090.01016.64
8.3.220.0090.00617.51
8.3.210.0150.00416.75
8.3.200.0030.00616.64
8.3.190.0120.01117.13
8.3.180.0040.00416.49
8.3.170.0070.01019.12
8.3.160.0070.01118.48
8.3.150.0080.01118.65
8.3.140.0190.00017.18
8.3.130.0000.00818.29
8.3.120.0090.00021.01
8.3.110.0080.00018.45
8.3.100.0080.00016.62
8.3.90.0060.00326.77
8.3.80.0060.00317.97
8.3.70.0080.00616.88
8.3.60.0100.01318.31
8.3.50.0080.00816.48
8.3.40.0070.01118.63
8.3.30.0120.00318.71
8.3.20.0060.00321.94
8.3.10.0080.00023.48
8.3.00.0040.00423.48
8.2.290.0040.00420.33
8.2.280.0060.00518.45
8.2.270.0110.00717.15
8.2.260.0030.00518.39
8.2.250.0030.00618.65
8.2.240.0090.00917.03
8.2.230.0100.00620.94
8.2.220.0120.00316.36
8.2.210.0080.00026.77
8.2.200.0060.00316.50
8.2.190.0140.00016.58
8.2.180.0090.00616.59
8.2.170.0000.01522.96
8.2.160.0030.01719.29
8.2.150.0030.00624.18
8.2.140.0070.00024.66
8.2.130.0080.00020.89
8.2.120.0000.00826.35
8.2.110.0060.00319.36
8.2.100.0110.00020.48
8.2.90.0030.00519.13
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0040.00418.03
8.2.50.0080.00018.10
8.2.40.0040.00420.55
8.2.30.0000.00722.34
8.2.20.0000.00718.02
8.2.10.0020.00518.13
8.2.00.0000.00818.21
8.1.330.0130.00722.13
8.1.320.0120.00716.31
8.1.310.0040.00418.52
8.1.300.0060.00318.62
8.1.290.0060.00330.84
8.1.280.0040.01125.92
8.1.270.0000.00722.05
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00623.87
8.1.230.0090.00320.94
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0050.00317.35
8.1.190.0050.00317.22
8.1.180.0030.00618.10
8.1.170.0000.00818.58
8.1.160.0000.00718.88
8.1.150.0000.00820.32
8.1.140.0040.00417.80
8.1.130.0030.00619.06
8.1.120.0070.00317.45
8.1.110.0030.00517.45
8.1.100.0040.00417.46
8.1.90.0070.00017.40
8.1.80.0000.00817.45
8.1.70.0000.00717.36
8.1.60.0000.00817.55
8.1.50.0040.00417.52
8.1.40.0080.00017.45
8.1.30.0070.00017.48
8.1.20.0040.00417.62
8.1.10.0020.00517.57
8.1.00.0050.00217.39
8.0.300.0040.00419.66
8.0.290.0000.00816.75
8.0.280.0040.00418.36
8.0.270.0000.00817.14
8.0.260.0030.00316.79
8.0.250.0000.00716.92
8.0.240.0040.00416.89
8.0.230.0070.00016.84
8.0.220.0040.00416.82
8.0.210.0000.00716.88
8.0.200.0030.00316.89
8.0.190.0000.00716.87
8.0.180.0040.00416.89
8.0.170.0030.00616.78
8.0.160.0030.00616.77
8.0.150.0100.00016.73
8.0.140.0030.00416.76
8.0.130.0050.00013.31
8.0.120.0000.00816.72
8.0.110.0000.00716.80
8.0.100.0040.00416.93
8.0.90.0030.00316.87
8.0.80.0070.01416.84
8.0.70.0000.00816.76
8.0.60.0080.00016.77
8.0.50.0020.00516.79
8.0.30.0120.00817.04
8.0.20.0070.01117.40
8.0.10.0000.00717.00
8.0.00.0110.00916.83
7.4.330.0030.00315.55
7.4.320.0040.00416.49
7.4.300.0070.00016.49
7.4.290.0000.00716.48
7.4.280.0040.00416.58
7.4.270.0070.00016.41
7.4.260.0000.00716.43
7.4.250.0030.00316.47
7.4.240.0020.00516.41
7.4.230.0000.00716.57
7.4.220.0030.00516.70
7.4.210.0000.01516.53
7.4.200.0070.00016.34
7.4.160.0090.00816.54
7.4.140.0070.01017.86
7.4.130.0130.00416.54
7.4.120.0060.01216.46
7.4.110.0130.00316.52
7.4.100.0100.00716.41
7.4.90.0030.01416.50
7.4.80.0180.00319.39
7.4.70.0130.00716.48
7.4.60.0060.00916.37
7.4.50.0000.01716.30
7.4.40.0110.00516.56
7.4.10.0110.00314.84
7.4.00.0080.00914.92
7.3.330.0000.00613.08
7.3.320.0030.00213.30
7.3.310.0040.00416.38
7.3.300.0030.00316.35
7.3.290.0040.01016.32
7.3.280.0080.00716.30
7.3.260.0050.01216.38
7.3.240.0130.00716.39
7.3.230.0080.00816.32
7.3.210.0060.01016.25
7.3.200.0090.00616.32
7.3.190.0060.01016.60
7.3.180.0130.00316.44
7.3.170.0100.01016.33
7.3.160.0070.01316.39
7.3.130.0040.01414.79
7.3.120.0100.00814.82
7.3.110.0090.00814.51
7.3.100.0050.01014.67
7.3.90.0030.00914.71
7.3.80.0050.00714.78
7.3.70.0050.00814.76
7.3.60.0020.01314.67
7.3.50.0050.00614.70
7.3.40.0050.01214.71
7.3.30.0070.00914.89
7.3.20.0050.00816.67
7.3.10.0080.00516.57
7.3.00.0050.00916.68
7.2.330.0100.00716.60
7.2.320.0090.01416.73
7.2.310.0090.00916.71
7.2.300.0140.00316.68
7.2.290.0120.01016.51
7.2.260.0030.01614.97
7.2.250.0110.00415.06
7.2.240.0060.01114.88
7.2.230.0100.00715.05
7.2.220.0070.01114.77
7.2.210.0100.00315.14
7.2.200.0050.01114.85
7.2.190.0060.00615.01
7.2.180.0060.00814.83
7.2.170.0070.00514.95
7.2.160.0040.01114.98
7.2.150.0050.00516.84
7.2.140.0060.00616.85
7.2.130.0100.00516.92
7.2.120.0090.00516.88
7.2.110.0030.00916.77
7.2.100.0110.00516.54
7.2.90.0020.01217.06
7.2.80.0120.00516.99
7.2.70.0070.00717.12
7.2.60.0100.00516.85
7.2.50.0070.00616.96
7.2.40.0040.01016.73
7.2.30.0080.01017.79
7.2.20.0070.01117.87
7.2.10.0060.00817.70
7.2.00.0080.00917.83
7.1.330.0080.00315.82
7.1.320.0080.00515.89
7.1.310.0070.00515.90
7.1.300.0060.00315.80
7.1.290.0080.00515.69
7.1.280.0020.01215.69
7.1.270.0060.00515.81
7.1.260.0080.00515.76
7.1.250.0110.00315.64
7.1.240.0060.00815.89
7.1.230.0030.01115.73
7.1.220.0070.00715.44
7.1.210.0030.00715.82
7.1.200.0060.00815.88
7.1.190.0000.01515.75
7.1.180.0030.01015.72
7.1.170.0040.01115.66
7.1.160.0000.01515.82
7.1.150.0060.01017.23
7.1.140.0090.01017.03
7.1.130.0040.01117.34
7.1.120.0050.01317.17
7.1.110.0080.00916.98
7.1.100.0080.01017.00
7.1.90.0090.00816.64
7.1.80.0090.00916.68
7.1.70.0100.00616.28
7.1.60.0200.01125.18
7.1.50.0180.01225.09
7.1.40.0200.01224.99
7.1.30.0180.01324.96
7.1.20.0150.01825.11
7.1.10.0050.01216.04
7.1.00.0100.00616.12
7.0.330.0060.00615.33
7.0.320.0130.00015.41
7.0.310.0000.01515.34
7.0.300.0030.00515.35
7.0.290.0040.01115.11
7.0.280.0070.00715.07
7.0.270.0080.00415.59
7.0.260.0000.01115.17
7.0.250.0070.00715.46
7.0.240.0040.01115.20
7.0.230.0030.01215.49
7.0.220.0030.00615.31
7.0.210.0110.00415.35
7.0.200.0080.00315.22
7.0.190.0030.00715.25
7.0.180.0000.01215.50
7.0.170.0030.00915.36
7.0.160.0000.00815.49
7.0.150.0060.00315.38
7.0.140.0030.00915.23
7.0.130.0030.00615.34
7.0.120.0060.00915.42
7.0.110.0060.00615.27
7.0.100.0070.00715.45
7.0.90.0030.00615.48
7.0.80.0080.00815.24
7.0.70.0040.00815.38
7.0.60.0040.01215.39
7.0.50.0090.00315.25
7.0.40.0070.00713.43
7.0.30.0030.01013.38
7.0.20.0030.00713.43
7.0.10.0030.01313.52
7.0.00.0060.00913.46
5.6.400.0120.00314.65
5.6.390.0070.00714.38
5.6.380.0070.00714.39
5.6.370.0070.01014.43
5.6.360.0040.00714.47
5.6.350.0030.01414.42
5.6.340.0110.00414.48
5.6.330.0100.00314.61
5.6.320.0080.00414.56
5.6.310.0040.00714.39
5.6.300.0030.01314.35
5.6.290.0090.00614.41
5.6.280.0040.01114.11
5.6.270.0030.01014.37
5.6.260.0030.00714.37
5.6.250.0030.01014.15
5.6.240.0030.01414.66
5.6.230.0090.00614.48
5.6.220.0110.00414.16
5.6.210.0100.00714.25
5.6.200.0000.00914.57
5.6.190.0090.00014.35
5.6.180.0040.01114.12
5.6.170.0100.00614.12
5.6.160.0030.01014.09
5.6.150.0030.01014.31
5.6.140.0100.00314.48
5.6.130.0040.00814.35
5.6.120.0060.00314.51
5.6.110.0000.01514.15
5.6.100.0070.01114.32
5.6.90.0090.00614.69
5.6.80.0130.00614.29
5.6.70.0140.00014.10
5.6.60.0000.01014.35
5.6.50.0070.00414.33
5.6.40.0000.01114.39
5.6.30.0100.00314.15
5.6.20.0060.00314.13
5.6.10.0030.00614.55
5.6.00.0000.01414.50

preferences:
36.08 ms | 403 KiB | 5 Q