3v4l.org

run code in 300+ PHP versions simultaneously
<?php $query['test'] = [111, 222, 333]; echo http_build_query($query);

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.0120.00316.58
8.3.60.0090.00918.43
8.3.50.0120.00917.86
8.3.40.0120.00318.80
8.3.30.0000.01518.61
8.3.20.0050.00219.15
8.3.10.0040.00421.60
8.3.00.0080.00020.94
8.2.190.0120.00616.58
8.2.180.0130.00325.92
8.2.170.0080.00818.96
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0000.00719.39
8.2.120.0040.00426.35
8.2.110.0030.00721.05
8.2.100.0060.00617.71
8.2.90.0050.00320.08
8.2.80.0080.00017.97
8.2.70.0080.00017.63
8.2.60.0040.00417.48
8.2.50.0000.00718.10
8.2.40.0020.00519.46
8.2.30.0000.00719.22
8.2.20.0030.00518.06
8.2.10.0040.00418.05
8.2.00.0030.00619.31
8.1.280.0100.01025.92
8.1.270.0060.00822.04
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0100.00021.31
8.1.230.0040.00720.90
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0040.00417.40
8.1.180.0000.00818.10
8.1.170.0000.00818.38
8.1.160.0030.00618.75
8.1.150.0000.00818.67
8.1.140.0000.00722.23
8.1.130.0070.00017.35
8.1.120.0000.00717.34
8.1.110.0040.00417.23
8.1.100.0040.00417.29
8.1.90.0050.00317.33
8.1.80.0050.00317.32
8.1.70.0070.00417.31
8.1.60.0040.00417.42
8.1.50.0030.00717.36
8.1.40.0030.00517.35
8.1.30.0030.00517.51
8.1.20.0040.00417.52
8.1.10.0050.00317.49
8.1.00.0000.00717.43
8.0.300.0030.00319.64
8.0.290.0080.00016.58
8.0.280.0040.00418.29
8.0.270.0000.00817.09
8.0.260.0000.00716.78
8.0.250.0000.00716.86
8.0.240.0070.00016.84
8.0.230.0080.00016.85
8.0.220.0040.00416.69
8.0.210.0030.00316.79
8.0.200.0030.00316.81
8.0.190.0030.00316.70
8.0.180.0000.00916.71
8.0.170.0000.00816.78
8.0.160.0030.00416.74
8.0.150.0040.00416.66
8.0.140.0040.00416.69
8.0.130.0050.00013.14
8.0.120.0000.00716.74
8.0.110.0000.00716.57
8.0.100.0030.00516.75
8.0.90.0000.00716.72
8.0.80.0060.00916.71
8.0.70.0070.00016.64
8.0.60.0040.00416.63
8.0.50.0000.00716.64
8.0.30.0090.00916.97
8.0.20.0130.01417.40
8.0.10.0000.00816.93
8.0.00.0090.01116.64
7.4.330.0050.00015.55
7.4.320.0040.00416.38
7.4.300.0000.00716.44
7.4.290.0000.00716.44
7.4.280.0090.00016.56
7.4.270.0000.00716.44
7.4.260.0000.00716.58
7.4.250.0040.00416.53
7.4.240.0000.00716.42
7.4.230.0050.00216.54
7.4.220.0040.00416.45
7.4.210.0090.00916.50
7.4.200.0030.00316.52
7.4.160.0100.00916.49
7.4.140.0100.01017.86
7.4.130.0160.00316.56
7.4.120.0120.00616.47
7.4.110.0070.01716.48
7.4.100.0150.00716.43
7.4.90.0100.00716.46
7.4.80.0070.01119.39
7.4.70.0190.00016.46
7.4.60.0030.01316.29
7.4.50.0070.00716.29
7.4.40.0080.00816.54
7.4.10.0070.01214.81
7.4.00.0080.01014.92
7.3.330.0060.00013.13
7.3.320.0000.00612.95
7.3.310.0030.00316.27
7.3.300.0000.00716.19
7.3.290.0030.00316.26
7.3.280.0060.00916.21
7.3.260.0090.01116.28
7.3.240.0090.00916.40
7.3.230.0140.00316.15
7.3.210.0030.01416.22
7.3.200.0090.00916.55
7.3.190.0120.00616.25
7.3.180.0030.01916.42
7.3.170.0060.01016.41
7.3.160.0070.01016.30
7.3.130.0090.00814.90
7.3.120.0100.00714.75
7.3.110.0040.01314.67
7.3.100.0060.00814.89
7.3.90.0030.00914.68
7.3.80.0080.00414.85
7.3.70.0070.00714.69
7.3.60.0040.00714.82
7.3.50.0040.00814.65
7.3.40.0050.00714.75
7.3.30.0050.00714.83
7.3.20.0050.00916.50
7.3.10.0050.00716.44
7.3.00.0060.00816.60
7.2.330.0100.00716.66
7.2.320.0120.00416.72
7.2.310.0130.00316.25
7.2.300.0030.01316.57
7.2.290.0180.00616.34
7.2.260.0050.01415.19
7.2.250.0060.01014.88
7.2.240.0060.01114.88
7.2.230.0060.01015.12
7.2.220.0050.01015.03
7.2.210.0040.01014.86
7.2.200.0020.01015.02
7.2.190.0070.00814.85
7.2.180.0050.00814.88
7.2.170.0050.01214.92
7.2.160.0070.00814.73
7.2.150.0010.01316.84
7.2.140.0030.00916.68
7.2.130.0110.00316.78
7.2.120.0360.01016.21
7.2.110.0450.00816.19
7.2.100.0480.00816.18
7.2.90.0460.00516.28
7.2.80.0510.01116.19
7.2.70.0370.00816.33
7.2.60.0420.00816.12
7.2.50.0490.00916.19
7.2.40.0370.00716.31
7.2.30.0490.01116.16
7.2.20.0530.01116.15
7.2.10.0410.00616.31
7.2.00.0530.00616.22
7.1.330.0040.01015.72
7.1.320.0060.00715.82
7.1.310.0050.00815.69
7.1.300.0060.00615.78
7.1.290.0050.00715.78
7.1.280.0070.00715.71
7.1.270.0060.00715.69
7.1.260.0040.00815.74
7.1.250.0050.00615.82
7.1.240.0400.01115.01
7.1.230.0420.00914.89
7.1.220.0520.00915.10
7.1.210.0520.00915.00
7.1.200.0620.00814.92
7.1.190.0480.00715.16
7.1.180.0550.00915.02
7.1.170.0740.00815.05
7.1.160.0710.00414.93
7.1.150.0640.00715.02
7.1.140.0860.00714.94
7.1.130.0380.00514.99
7.1.120.0390.00514.94
7.1.110.0770.00815.00
7.1.100.0430.00715.12
7.1.90.0480.00915.01
7.1.80.0360.01015.15
7.1.70.0330.00814.87
7.1.60.0540.00815.12
7.1.50.0490.00914.91
7.1.40.0580.00615.11
7.1.30.0430.00414.80
7.1.20.0420.00614.90
7.1.10.0350.00714.81
7.1.00.0310.00815.11
7.0.330.0040.00715.54
7.0.320.0080.00515.56
7.0.310.0080.00615.36
7.0.300.0070.00615.48
7.0.290.0040.00815.39
7.0.280.0070.00915.28
7.0.270.0080.00515.34
7.0.260.0030.01015.27
7.0.250.0070.00915.37
7.0.240.0050.00715.51
7.0.230.0050.00915.08
7.0.220.0030.00915.43
7.0.210.0000.01415.33
7.0.200.0080.00515.29
7.0.190.0050.01015.47
7.0.180.0050.00715.14
7.0.170.0090.00415.35
7.0.160.0040.00715.31
7.0.150.0050.00715.45
7.0.140.0060.00615.39
7.0.130.0030.00815.35
7.0.120.0050.00515.47
7.0.110.0050.00915.38
7.0.100.0010.00915.25
7.0.90.0070.00515.36
7.0.80.0080.00315.18
7.0.70.0030.00715.49
7.0.60.0070.00315.48
7.0.50.0050.00615.46
7.0.40.0070.00713.48
7.0.30.0050.00713.40
7.0.20.0090.00313.53
7.0.10.0060.00213.38
7.0.00.0050.00513.48
5.6.400.0100.00314.65
5.6.390.0070.00414.24
5.6.380.0060.00614.17
5.6.370.0000.01114.69
5.6.360.0030.01114.28
5.6.350.0040.00814.50
5.6.340.0030.01114.38
5.6.330.0060.00914.14
5.6.320.0040.01014.47
5.6.310.0090.00514.13
5.6.300.0090.00614.49
5.6.290.0020.00914.29
5.6.280.0040.00514.23
5.6.270.0030.00914.43
5.6.260.0060.01014.40
5.6.250.0110.00214.17
5.6.240.0040.01014.37
5.6.230.0080.00414.37
5.6.220.0020.00814.21
5.6.210.0000.01114.26
5.6.200.0070.00514.60
5.6.190.0080.00314.36
5.6.180.0070.00314.24
5.6.170.0030.00814.29
5.6.160.0090.00714.11
5.6.150.0050.00914.43
5.6.140.0040.00914.27
5.6.130.0060.00714.44
5.6.120.0030.00914.15
5.6.110.0000.01014.34
5.6.100.0060.00714.31
5.6.90.0020.00914.37
5.6.80.0030.00814.49
5.6.70.0040.00914.22
5.6.60.0020.01114.26
5.6.50.0030.01214.30
5.6.40.0120.00414.07
5.6.30.0050.01314.24
5.6.20.0050.00914.18
5.6.10.0050.00714.20
5.6.00.0030.00714.32

preferences:
69.15 ms | 401 KiB | 5 Q