3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtoupper(chunk_split(str_replace('whodrug_', '','whodrug_2003q4'), 4, ' '));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/knGWr
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtoupper'
          1        INIT_FCALL                                               'chunk_split'
          2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 'whodrug_'
          4        SEND_VAL                                                 ''
          5        SEND_VAL                                                 'whodrug_2003q4'
          6        DO_ICALL                                         $0      
          7        SEND_VAR                                                 $0
          8        SEND_VAL                                                 4
          9        SEND_VAL                                                 '+'
         10        DO_ICALL                                         $1      
         11        SEND_VAR                                                 $1
         12        DO_ICALL                                         $2      
         13        ECHO                                                     $2
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.24 ms | 1394 KiB | 19 Q