3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(json_decode(<<<JSON [{"id":"1","name":"Muslin","image1":"muslin.jpg"},{"id":"72","name":"Gagra choli","image1":"gagra choli.jpg"},{"id":"73","name":"Lahenga saree","image1":"lahenga saree.jpg"},{"id":"74","name":"Ao dai","image1":"Ao dai.jpg"},{"id":"75","name":"Brocade","image1":"brocade.jpg"},{"id":"77","name":"Button","image1":"button.jpg"},{"id":"78","name":"Bathrobe","image1":"Bathrobe.jpg"},{"id":"79","name":"Bathtowel","image1":"Bathtowel.jpg"},{"id":"80","name":"Cassock","image1":"cassock.jpg"},{"id":"81","name":"Shirt","image1":"shirt.jpg"},{"id":"82","name":"Dolce and Gabanna","image1":"dolce_and_gabanna.jpg"},{"id":"83","name":"asasa","image1":"1009578_1392050054339713_1292927121_o.jpg"},{"id":"84","name":"knbdfjhbjhbvjh","image1":"images_(1)10.jpg"}] JSON ,true));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Array ( [id] => 1 [name] => Muslin [image1] => muslin.jpg ) [1] => Array ( [id] => 72 [name] => Gagra choli [image1] => gagra choli.jpg ) [2] => Array ( [id] => 73 [name] => Lahenga saree [image1] => lahenga saree.jpg ) [3] => Array ( [id] => 74 [name] => Ao dai [image1] => Ao dai.jpg ) [4] => Array ( [id] => 75 [name] => Brocade [image1] => brocade.jpg ) [5] => Array ( [id] => 77 [name] => Button [image1] => button.jpg ) [6] => Array ( [id] => 78 [name] => Bathrobe [image1] => Bathrobe.jpg ) [7] => Array ( [id] => 79 [name] => Bathtowel [image1] => Bathtowel.jpg ) [8] => Array ( [id] => 80 [name] => Cassock [image1] => cassock.jpg ) [9] => Array ( [id] => 81 [name] => Shirt [image1] => shirt.jpg ) [10] => Array ( [id] => 82 [name] => Dolce and Gabanna [image1] => dolce_and_gabanna.jpg ) [11] => Array ( [id] => 83 [name] => asasa [image1] => 1009578_1392050054339713_1292927121_o.jpg ) [12] => Array ( [id] => 84 [name] => knbdfjhbjhbvjh [image1] => images_(1)10.jpg ) )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/2jE2O on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/2jE2O on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/2jE2O on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/2jE2O on line 2