<?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($locale);
echo money_format('%=*^-14#8.2i', 1234.56) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/2usgd
function name: (null)
number of ops: 11
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_VAR !0
3 DO_ICALL
22 4 INIT_FCALL_BY_NAME 'money_format'
5 SEND_VAL_EX '%25%3D%2A%5E-14%238.2i'
6 SEND_VAL_EX 1234.56
7 DO_FCALL 0 $3
8 CONCAT ~4 $3, '%0A'
9 ECHO ~4
10 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
154.26 ms | 1394 KiB | 15 Q