3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = http_build_query ([ 'name' => 'toto', 'email' => 'test@toto.com' ]); parse_str($string, $output); var_dump $output;

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)
5.4.370.1600.03019.24
5.4.360.1570.04019.08
5.4.350.0200.04718.95
5.4.340.0270.03718.88
5.4.320.0170.03718.98
5.4.310.0270.06719.20
5.4.300.0230.04018.88
5.4.290.0200.04018.98
5.4.280.0200.04718.87
5.4.270.0200.07019.07
5.4.260.0270.03318.84
5.4.250.0100.06718.94
5.4.240.0170.05718.88
5.4.230.0130.06319.22
5.4.220.0130.05018.99
5.4.210.0230.07319.06
5.4.200.0300.06318.94
5.4.190.0230.07019.25
5.4.180.0270.06319.05
5.4.170.0170.03718.86
5.4.160.0170.04318.82
5.4.150.0170.03719.08
5.4.140.0230.04716.45
5.4.130.0170.03716.53
5.4.120.0130.04016.29
5.4.110.0270.04016.23
5.4.100.0230.05016.51
5.4.90.0330.08016.54
5.4.80.0270.05016.53
5.4.70.0270.06016.26
5.4.60.0230.04316.34
5.4.50.0170.03716.53
5.4.40.0170.03316.25
5.4.30.0200.06716.55
5.4.20.0170.03716.48
5.4.10.0270.04716.25
5.4.00.0230.03315.89
5.3.290.0170.03714.65
5.3.280.0270.03714.43
5.3.270.0130.05014.47
5.3.260.0170.05714.55
5.3.250.0200.03714.62
5.3.240.0230.04014.62
5.3.230.0230.04014.54
5.3.220.0170.08314.45
5.3.210.0170.03714.52
5.3.200.0200.06714.44
5.3.190.0200.04014.52
5.3.180.0230.06314.39
5.3.170.0230.05314.40
5.3.160.0230.03314.44
5.3.150.0070.04714.53
5.3.140.0230.07314.64
5.3.130.0200.04314.60
5.3.120.0200.03314.53
5.3.110.0100.04314.50
5.3.100.0270.03313.99
5.3.90.0230.03713.96
5.3.80.0270.06713.85
5.3.70.0170.04313.96
5.3.60.0230.04713.85
5.3.50.0130.04013.80
5.3.40.0270.03313.88
5.3.30.0100.04314.00
5.3.20.0200.03713.53
5.3.10.0230.04013.70
5.3.00.0270.06713.43
5.2.170.0130.03011.15
5.2.160.0170.05711.16
5.2.150.0100.03311.19
5.2.140.0200.03011.19
5.2.130.0130.03011.26
5.2.120.0170.02311.11
5.2.110.0130.03011.25
5.2.100.0170.03310.94
5.2.90.0100.03310.94
5.2.80.0130.03010.95
5.2.70.0170.03711.00
5.2.60.0170.03711.00
5.2.50.0130.03010.87
5.2.40.0230.05310.82
5.2.30.0130.02710.81
5.2.20.0030.02710.97
5.2.10.0100.03010.88
5.2.00.0170.02710.68
5.1.60.0100.0239.89
5.1.50.0130.0309.88
5.1.40.0030.0309.95
5.1.30.0130.02710.45
5.1.20.0100.02710.36
5.1.10.0130.03010.04
5.1.00.0170.03010.04
5.0.50.0130.0138.47
5.0.40.0000.0238.47
5.0.30.0030.0338.47
5.0.20.0130.0378.47
5.0.10.0070.0378.47
5.0.00.0070.0678.47
4.4.90.0030.0178.47
4.4.80.0070.0308.47
4.4.70.0100.0278.47
4.4.60.0030.0278.47
4.4.50.0070.0338.47
4.4.40.0070.0408.47
4.4.30.0070.0208.47
4.4.20.0130.0308.47
4.4.10.0100.0238.47
4.4.00.0030.0308.47
4.3.110.0030.0208.47
4.3.100.0070.0138.47
4.3.90.0070.0178.47
4.3.80.0170.0408.47
4.3.70.0130.0278.47
4.3.60.0400.0178.47
4.3.50.0170.0338.47
4.3.40.0100.0338.47
4.3.30.0100.0338.47
4.3.20.0030.0238.47
4.3.10.0070.0178.47
4.3.00.0030.0178.47

preferences:
143.94 ms | 1394 KiB | 7 Q