3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode('{"query": [[{"field": "retailPrice", "operator": "isNumber", "value": 0}]], "type": "artworks"}'));
based on GCl4f
Output for 7.0.0 - 7.2.0
object(stdClass)#2 (2) { ["query"]=> array(1) { [0]=> array(1) { [0]=> object(stdClass)#1 (3) { ["field"]=> string(11) "retailPrice" ["operator"]=> string(8) "isNumber" ["value"]=> int(0) } } } ["type"]=> string(8) "artworks" }
Output for 5.3.21 - 5.6.28
object(stdClass)#1 (2) { ["query"]=> array(1) { [0]=> array(1) { [0]=> object(stdClass)#2 (3) { ["field"]=> string(11) "retailPrice" ["operator"]=> string(8) "isNumber" ["value"]=> int(0) } } } ["type"]=> string(8) "artworks" }