3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo (new \NumberFormatter('@numbers=roman', \NumberFormatter::DECIMAL))->format(1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K0VYW
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $0      'NumberFormatter'
          1        SEND_VAL_EX                                                  '%40numbers%3Droman'
          2        FETCH_CLASS_CONSTANT                                 ~1      'NumberFormatter', 'DECIMAL'
          3        SEND_VAL_EX                                                  ~1
          4        DO_FCALL                                          0          
          5        INIT_METHOD_CALL                                             $0, 'format'
          6        SEND_VAL_EX                                                  1
          7        DO_FCALL                                          0  $3      
          8        ECHO                                                         $3
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
154.15 ms | 1446 KiB | 12 Q