3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 47) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
Branch analysis from position: 12
2 jumps found. (Code = 47) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
Branch analysis from position: 21
Branch analysis from position: 9
filename:       /in/ovSao
function name:  (null)
number of ops:  26
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 1
    7     1        INIT_FCALL_BY_NAME                                       'logicalString'
          2        SEND_VAL_EX                                              'x%3D1'
          3        DO_FCALL                                      0  $2      
          4      > JMPZ_EX                                          ~3      $2, ->9
          5    >   INIT_FCALL_BY_NAME                                       'logicalString'
          6        SEND_VAL_EX                                              'x%3D0'
          7        DO_FCALL                                      0  $4      
          8        BOOL                                             ~3      $4
          9    > > JMPZ                                                     ~3, ->12
    8    10    >   ECHO                                                     '%26%26+-+True%0A'
    7    11      > JMP                                                      ->13
   10    12    >   ECHO                                                     '%26%26+-+False%0A'
   14    13    >   INIT_FCALL_BY_NAME                                       'logicalString'
         14        SEND_VAL_EX                                              'x%3D1'
         15        DO_FCALL                                      0  $5      
         16      > JMPNZ_EX                                         ~6      $5, ->21
         17    >   INIT_FCALL_BY_NAME                                       'logicalString'
         18        SEND_VAL_EX                                              'x%3D0'
         19        DO_FCALL                                      0  $7      
         20        BOOL                                             ~6      $7
         21    > > JMPZ                                                     ~6, ->24
   15    22    >   ECHO                                                     '%7C%7C+-+True%0A'
   14    23      > JMP                                                      ->25
   17    24    >   ECHO                                                     '%7C%7C+-+False%0A'
   28    25    > > RETURN                                                   1

Function logicalstring:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 18
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 18
Branch analysis from position: 7
2 jumps found. (Code = 47) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 14
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/ovSao
function name:  logicalString
number of ops:  21
compiled vars:  !0 = $str, !1 = $v, !2 = $var, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   RECV                                             !0      
   21     1        INIT_FCALL                                               'parse_str'
          2        SEND_VAR                                                 !0
          3        SEND_REF                                                 !1
          4        DO_ICALL                                                 
   22     5      > FE_RESET_R                                       $5      !1, ->18
          6    > > FE_FETCH_R                                       ~6      $5, !2, ->18
          7    >   ASSIGN                                                   !3, ~6
   23     8        ISSET_ISEMPTY_VAR                             2  ~8      !3
          9        BOOL_NOT                                         ~9      ~8
         10      > JMPNZ_EX                                         ~9      ~9, ->14
         11    >   FETCH_R                      global              ~10     !3
         12        IS_NOT_EQUAL                                     ~11     !2, ~10
         13        BOOL                                             ~9      ~11
         14    > > JMPZ                                                     ~9, ->17
   24    15    >   FE_FREE                                                  $5
         16      > RETURN                                                   <false>
   22    17    > > JMP                                                      ->6
         18    >   FE_FREE                                                  $5
   26    19      > RETURN                                                   <true>
   27    20*     > RETURN                                                   null

End of function logicalstring

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
240.94 ms | 971 KiB | 14 Q