3v4l.org

run code in 300+ PHP versions simultaneously
<?php $values = ['foo' => 'bar', 'test' => NULL]; var_dump(http_build_query($values)); $values = ['foo' => 'bar', 'test' => FALSE]; var_dump(http_build_query($values));

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.0160.00618.28
8.3.60.0090.00916.38
8.3.50.0070.00719.98
8.3.40.0130.00020.14
8.3.30.0100.00318.45
8.3.20.0030.00524.18
8.3.10.0000.00724.66
8.3.00.0080.00026.16
8.2.190.0160.00616.58
8.2.180.0100.00325.92
8.2.170.0110.00318.87
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0120.00019.41
8.2.110.0000.00920.89
8.2.100.0090.00317.66
8.2.90.0050.00317.50
8.2.80.0030.00718.68
8.2.70.0030.00517.50
8.2.60.0000.00817.36
8.2.50.0000.00817.98
8.2.40.0040.00418.03
8.2.30.0070.00017.95
8.2.20.0040.00420.29
8.2.10.0000.00818.00
8.2.00.0050.00219.14
8.1.280.0150.00025.92
8.1.270.0040.00423.99
8.1.260.0120.00626.35
8.1.250.0000.00728.09
8.1.240.0090.00023.92
8.1.230.0060.00620.89
8.1.220.0040.00418.30
8.1.210.0040.00419.09
8.1.200.0060.00317.00
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0050.00317.62
8.1.160.0000.00718.73
8.1.150.0050.00318.55
8.1.140.0020.00517.28
8.1.130.0000.00718.82
8.1.120.0000.00717.40
8.1.110.0070.00017.39
8.1.100.0050.00517.26
8.1.90.0050.00517.34
8.1.80.0070.00017.39
8.1.70.0040.00417.31
8.1.60.0040.00417.48
8.1.50.0100.00317.27
8.1.40.0170.00017.39
8.1.30.0030.00617.52
8.1.20.0030.00617.52
8.1.10.0110.00817.41
8.1.00.0060.00617.16
8.0.300.0040.00419.85
8.0.290.0050.00216.58
8.0.280.0070.00018.37
8.0.270.0030.00316.79
8.0.260.0040.00418.35
8.0.250.0030.00316.81
8.0.240.0040.00416.91
8.0.230.0040.00416.75
8.0.220.0000.00716.73
8.0.210.0000.00716.70
8.0.200.0060.00616.81
8.0.190.0040.00416.72
8.0.180.0000.00916.77
8.0.170.0040.00716.75
8.0.160.0110.00316.71
8.0.150.0100.00516.67
8.0.140.0070.00716.70
8.0.130.0090.00616.60
8.0.120.0100.00716.69
8.0.110.0120.00416.71
8.0.100.0050.01016.78
8.0.90.0100.00216.68
8.0.80.0150.00016.66
8.0.70.0110.00816.66
8.0.60.0150.00216.65
8.0.50.0120.00416.69
8.0.30.0000.01216.79
8.0.20.0080.00516.71
8.0.10.0050.00516.85
7.4.330.0050.00315.55
7.4.320.0030.00316.50
7.4.300.0130.00316.40
7.4.290.0120.00316.52
7.4.280.0060.00516.32
7.4.270.0090.00316.21
7.4.260.0120.00016.45
7.4.250.0140.00316.37
7.4.240.0110.00516.48
7.4.230.0150.00316.41
7.4.220.0080.00616.43
7.4.210.0040.00916.38
7.4.200.0120.00216.54
7.4.190.0140.00016.46
7.4.180.0110.00216.53
7.4.160.0070.00716.52
7.4.150.0100.00516.30
7.4.140.0050.00616.44
7.4.130.0090.00016.20
7.4.120.0100.00016.27
7.4.110.0080.00316.10
7.4.100.0040.00416.33
7.4.90.0050.00316.23
7.4.80.0070.00216.23
7.4.70.0040.00416.28
7.4.60.0080.00316.25
7.4.50.0070.00316.21
7.4.40.0100.00015.99
7.4.30.0080.00416.27
7.4.20.0080.00216.01
7.4.10.0000.00816.04
7.4.00.0030.00516.03

preferences:
28.63 ms | 401 KiB | 5 Q