<?php
$valor = array (
"invoice"=> 34843,
"date"=> 980208000,
"bill-to"=> 'mu',
"ship-to"=> 'kikiriki',
"product"=> array(
array(
"sku"=> "BL394D",
"quantity"=> 4,
"description"=> "Basketball",
"price"=> 450,
),
array(
"sku"=> "BL4438H",
"quantity"=> 1,
"description"=> "Super Hoop",
"price"=> 2392,
),
),
"tax"=> 251.42,
"total"=> 4443.52,
"comments"=> "Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338.",
);
var_dump($valor);
$valoryml = yaml_emit($valor);
var_dump($valoryml);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/ZIsdS
function name: (null)
number of ops: 12
compiled vars: !0 = $valor, !1 = $valoryml
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > ASSIGN !0, <array>
26 1 INIT_FCALL 'var_dump'
2 SEND_VAR !0
3 DO_ICALL
27 4 INIT_FCALL_BY_NAME 'yaml_emit'
5 SEND_VAR_EX !0
6 DO_FCALL 0 $4
7 ASSIGN !1, $4
28 8 INIT_FCALL 'var_dump'
9 SEND_VAR !1
10 DO_ICALL
11 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
171.57 ms | 1394 KiB | 15 Q