3v4l.org

run code in 300+ PHP versions simultaneously
<?php function w3rfunction($value,$key) { echo "$key : $value<br />"; } $a = '{"Title": "The Cuckoos Calling", "Author": "Robert Galbraith", "Detail": { "Publisher": "Little Brown" } }'; $j1 = json_decode($a,true); array_walk_recursive($j1,"w3rfunction");?>

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.310.0300.06719.20
5.4.300.0370.05719.22
5.4.290.0170.04319.21
5.4.280.0200.07718.87
5.4.270.0270.04318.84
5.4.260.0130.04718.97
5.4.250.0270.06719.21
5.4.240.0270.06718.86
5.4.230.0130.07019.03
5.4.220.0170.03719.14
5.4.210.0270.04319.18
5.4.200.0300.06719.08
5.4.190.0170.05019.08
5.4.180.0300.06319.15
5.4.170.0270.07019.20
5.4.160.0270.06718.95
5.4.150.0170.04019.14
5.4.140.0300.04316.47
5.4.130.0230.06716.30
5.4.120.0270.06316.49
5.4.110.0330.04016.27
5.4.100.0270.04316.26
5.4.90.0270.06316.35
5.4.80.0330.03316.49
5.4.70.0270.06316.29
5.4.60.0230.04716.55
5.4.50.0170.03716.40
5.4.40.0270.04016.51
5.4.30.0170.03716.42
5.4.20.0230.04316.48
5.4.10.0230.07316.15
5.4.00.0170.03715.91
5.3.280.0170.07314.56
5.3.270.0300.04314.46
5.3.260.0230.03314.46
5.3.250.0230.03314.46
5.3.240.0170.07314.48
5.3.230.0300.04314.55
5.3.220.0170.07014.42
5.3.210.0170.06714.51
5.3.200.0230.06714.45
5.3.190.0270.05014.47
5.3.180.0230.04714.54
5.3.170.0200.07314.45
5.3.160.0300.04014.40
5.3.150.0200.06714.40
5.3.140.0100.04314.38
5.3.130.0200.03714.45
5.3.120.0230.07314.59
5.3.110.0300.03714.38
5.3.100.0230.04713.88
5.3.90.0200.05713.96
5.3.80.0330.04013.99
5.3.70.0200.04713.80
5.3.60.0270.04013.84
5.3.50.0200.04313.79
5.3.40.0130.04313.78
5.3.30.0170.04713.95
5.3.20.0270.03313.77
5.3.10.0200.07013.50
5.3.00.0130.07713.41
5.2.170.0230.05711.51
5.2.160.0200.04311.51
5.2.150.0170.03311.51
5.2.140.0230.02711.51
5.2.130.0170.03011.51
5.2.120.0070.04011.51
5.2.110.0130.03311.51
5.2.100.0130.03711.51
5.2.90.0200.05311.51
5.2.80.0270.04711.51
5.2.70.0170.05011.51
5.2.60.0130.05711.51
5.2.50.0170.03711.51
5.2.40.0030.03311.51
5.2.30.0070.03711.51
5.2.20.0070.03011.51
5.2.10.0130.05711.51
5.2.00.0130.04311.51
5.1.60.0100.05311.51
5.1.50.0170.02711.51
5.1.40.0100.03711.51
5.1.30.0200.02711.51
5.1.20.0100.03011.51
5.1.10.0100.03011.51
5.1.00.0170.03011.51
5.0.50.0170.03011.51
5.0.40.0070.02311.51
5.0.30.0130.03311.51
5.0.20.0030.03011.51
5.0.10.0100.03311.51
5.0.00.0070.03011.51
4.4.90.0130.03011.51
4.4.80.0070.02011.51
4.4.70.0100.03311.51
4.4.60.0100.02711.51
4.4.50.0070.03311.51
4.4.40.0030.02711.51
4.4.30.0030.03311.51
4.4.20.0070.02011.51
4.4.10.0070.02311.51
4.4.00.0070.05311.51
4.3.110.0100.01311.51
4.3.100.0100.01311.51
4.3.90.0030.02011.51
4.3.80.0100.02711.51
4.3.70.0130.01311.51
4.3.60.0100.01711.51
4.3.50.0070.01711.51
4.3.40.0070.02311.51
4.3.30.0030.02011.51
4.3.20.0070.03011.51
4.3.10.0070.02011.51
4.3.00.0000.02011.51

preferences:
140.03 ms | 1394 KiB | 7 Q