<?php
$sizes = [
'sizingTable' => [
[
'womens_clothing' => ['XXS', 'XS','XS/S','S','S/M','M','M/L','L','L/XL','XL','XXL','XXXL', '', ''],
'germany' => ['32', '34', '34/36', '36', '38', '38', '38/40', '40', '40/42', '42', '44', '46', '', ''],
'italien' => ['32', '34', '34/36', '36', '38', '38', '38/40', '40', '40/42', '42', '44', '46', '', '']
],
[
'womens_clothing' => ['XXS', 'XS','XS/S','S','S/M','M','M/L','L','L/XL','XL','XXL','XXXL', '', ''],
'germany' => ['32', '34', '34/36', '36', '38', '38', '38/40', '40', '40/42', '42', '44', '46', '', ''],
'italien' => ['32', '34', '34/36', '36', '38', '38', '38/40', '40', '40/42', '42', '44', '46', '', '']
],
[
'womens_clothing' => ['XXS', 'XS','XS/S','S','S/M','M','M/L','L','L/XL','XL','XXL','XXXL', '', ''],
'germany' => ['32', '34', '34/36', '36', '38', '38', '38/40', '40', '40/42', '42', '44', '46', '', ''],
'italien' => ['32', '34', '34/36', '36', '38', '38', '38/40', '40', '40/42', '42', '44', '46', '', '']
]
]
];
function getElement()
{
return $sizes;
}
echo json_encode((getElement())['sizingTable'], JSON_PRETTY_PRINT);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/M0HOS
function name: (null)
number of ops: 10
compiled vars: !0 = $sizes
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
5 0 E > ASSIGN !0, <array>
32 1 INIT_FCALL 'json_encode'
2 INIT_FCALL 'getelement'
3 DO_FCALL 0 $2
4 FETCH_DIM_R ~3 $2, 'sizingTable'
5 SEND_VAL ~3
6 SEND_VAL 128
7 DO_ICALL $4
8 ECHO $4
9 > RETURN 1
Function getelement:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/M0HOS
function name: getElement
number of ops: 2
compiled vars: !0 = $sizes
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
27 0 E > > RETURN !0
28 1* > RETURN null
End of function getelement
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
162.89 ms | 1397 KiB | 16 Q