3v4l.org

run code in 500+ PHP versions simultaneously
<?php setlocale(LC_MONETARY, 'en_US'); $str = money_format('%=*#4.4n',163.17852837291); $str = str_replace('*', '✪', $str); echo $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AtmFe
function name:  (null)
number of ops:  14
compiled vars:  !0 = $str
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'setlocale'
          1        SEND_VAL                                                     4
          2        SEND_VAL                                                     'en_US'
          3        DO_ICALL                                                     
    4     4        INIT_FCALL_BY_NAME                                           'money_format'
          5        SEND_VAL_EX                                                  '%25%3D%2A%234.4n'
          6        SEND_VAL_EX                                                  163.179
          7        DO_FCALL                                          0  $2      
          8        ASSIGN                                                       !0, $2
    5     9        FRAMELESS_ICALL_3                str_replace         ~4      '%2A', '%E2%9C%AA'
         10        OP_DATA                                                      !0
         11        ASSIGN                                                       !0, ~4
    6    12        ECHO                                                         !0
    7    13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
137.24 ms | 1999 KiB | 14 Q