3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $vars = json_decode('{ "name": "Cadastros", "uri": "cadastre", "children": [ { "name": "Clientes", "uri": "client" }, { "name": "Fornecedores", "uri": "supplier" }, { "name": "Produtos", "uri": "products" }, { "name": "Outros", "uri": "othercadastre" } ] }, { "name": "Financeiro", "uri": "finance", "children": [ { "name": "Movimentações", "uri": "transaction" }, { "name": "Receitas", "uri": "revenue" }, { "name": "Despesas", "uri": "expense" }, { "name": "Transferências", "uri": "transfer" }, { "name": "Outros", "uri": "otherfinance" } ] }, { "name": "Estoque", "uri": "inventory", "children": [ { "name": "Compras", "uri": "purchase" }, { "name": "Orçamentos", "uri": "estimate" }, { "name": "Pedidos de Venda", "uri": "sale" }, { "name": "Outros", "children": [ { "name": "Paranaue Alado", "uri": "paranaue" }, { "name": "Paranaue Alado", "uri": "paranaue" }, { "name": "Paranaue Alado", "uri": "paranaue" } ] } ] }, { "name": "Relatórios", "uri": "reports", "children": [ { "name": "Financeiro", "uri": "finance" }, { "name": "Estoque", "uri": "inventory" } ] }, { "name": "Revendas", "uri": "reseller", "children": [ { "name": "Painel", "uri": "dashboard" } ] }',true); var_export($vars);
Output for 5.2.0 - 7.2.0
NULL
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/MDR0N 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/MDR0N 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/MDR0N 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/MDR0N on line 2