<?php
$data = array
(
array
(
'title' => 'About Us',
'url' => '/about-us/',
'children' => array
(
array
(
'title' => 'Who We Are',
'url' => '/who-we-are/',
),
array
(
'title' => 'What We Do',
'url' => '/what-we-do/',
),
array
(
'title' => 'Other Things',
'url' => '/other-things/',
),
),
),
array
(
'title' => 'Random',
'url' => '/random/',
'children' => array
(
array
(
'title' => 'Link One',
'url' => '/link-one/',
),
array
(
'title' => 'Link Two',
'url' => '/link-two/',
'children' => array
(
array
(
'title' => 'Level Three',
'url' => '/level-three/',
),
),
),
),
),
);
$json = array2json($data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/KhjW7
function name: (null)
number of ops: 6
compiled vars: !0 = $data, !1 = $json
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > ASSIGN !0, <array>
58 1 INIT_FCALL_BY_NAME 'array2json'
2 SEND_VAR_EX !0
3 DO_FCALL 0 $3
4 ASSIGN !1, $3
5 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
171.79 ms | 1392 KiB | 13 Q