3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9bZLE
function name:  (null)
number of ops:  9
compiled vars:  !0 = $map
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   27     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'converttosmall'
          3        SEND_VAL                                                 'aa+bc+da'
          4        SEND_VAR                                                 !0
          5        DO_FCALL                                      0  $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function converttosmall:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 7
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 7
Branch analysis from position: 20
Branch analysis from position: 7
Branch analysis from position: 16
filename:       /in/9bZLE
function name:  convertToSmall
number of ops:  22
compiled vars:  !0 = $string, !1 = $map, !2 = $return, !3 = $length, !4 = $i, !5 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   12     2        ASSIGN                                                   !2, ''
   13     3        STRLEN                                           ~7      !0
          4        ASSIGN                                                   !3, ~7
   14     5        ASSIGN                                                   !4, 0
          6      > JMP                                                      ->18
   15     7    >   INIT_FCALL                                               'strtoupper'
          8        FETCH_DIM_R                                      ~10     !0, !4
          9        SEND_VAL                                                 ~10
         10        DO_ICALL                                         $11     
         11        ASSIGN                                                   !5, $11
   16    12        ISSET_ISEMPTY_DIM_OBJ                         0          !1, !5
         13      > JMPZ                                                     ~13, ->16
   17    14    >   FETCH_DIM_R                                      ~14     !1, !5
         15        ASSIGN                                                   !5, ~14
   19    16    >   ASSIGN_OP                                     8          !2, !5
   14    17        PRE_INC                                                  !4
         18    >   IS_SMALLER                                               !4, !3
         19      > JMPNZ                                                    ~18, ->7
   23    20    > > RETURN                                                   !2
   25    21*     > RETURN                                                   null

End of function converttosmall

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
251.3 ms | 971 KiB | 16 Q