3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = new NumberFormatter('nl-NL', NumberFormatter::CURRENCY); $f2 = clone $f; $f2->format(0.1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AKNuh
function name:  (null)
number of ops:  12
compiled vars:  !0 = $f, !1 = $f2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'NumberFormatter'
          1        SEND_VAL_EX                                              'nl-NL'
          2        FETCH_CLASS_CONSTANT                             ~3      'NumberFormatter', 'CURRENCY'
          3        SEND_VAL_EX                                              ~3
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $2
    3     6        CLONE                                            ~6      !0
          7        ASSIGN                                                   !1, ~6
    4     8        INIT_METHOD_CALL                                         !1, 'format'
          9        SEND_VAL_EX                                              0.1
         10        DO_FCALL                                      0          
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.13 ms | 1384 KiB | 13 Q