<?php
$locale = array(
'decimal_point' => '.',
'thousands_sep' => '',
'int_curr_symbol' => 'EUR',
'currency_symbol' => '€',
'mon_decimal_point' => ',',
'mon_thousands_sep' => '.',
'positive_sign' => '',
'negative_sign' => '-',
'int_frac_digits' => 2,
'frac_digits' => 2,
'p_cs_precedes' => 0,
'p_sep_by_space' => 1,
'p_sign_posn' => 1,
'n_sign_posn' => 1,
'grouping' => array(),
'mon_grouping' => array(0 => 3, 1 => 3)
);
setlocale(LC_MONETARY, "es_ES.UTF-8");
echo money_format('%=^-14#8.2i', 1234.563665) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/bhdNO
function name: (null)
number of ops: 12
compiled vars: !0 = $locale
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > ASSIGN !0, <array>
21 1 INIT_FCALL 'setlocale'
2 SEND_VAL 4
3 SEND_VAL 'es_ES.UTF-8'
4 DO_ICALL
22 5 INIT_FCALL_BY_NAME 'money_format'
6 SEND_VAL_EX '%25%3D%5E-14%238.2i'
7 SEND_VAL_EX 1234.56
8 DO_FCALL 0 $3
9 CONCAT ~4 $3, '%0A'
10 ECHO ~4
11 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
151.37 ms | 1394 KiB | 18 Q