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/WA6dr
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'var_dump'
   14     1        INIT_FCALL                                               'isphpkeyword'
          2        SEND_VAL                                                 'if'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
   15     5        INIT_FCALL                                               'isphpkeyword'
          6        SEND_VAL                                                 'flibble'
          7        DO_FCALL                                      0  $1      
          8        SEND_VAR                                                 $1
   16     9        INIT_FCALL                                               'isphpkeyword'
         10        SEND_VAL                                                 'while'
         11        DO_FCALL                                      0  $2      
         12        SEND_VAR                                                 $2
   13    13        DO_ICALL                                                 
   17    14      > RETURN                                                   1

Function isphpkeyword:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WA6dr
function name:  isPhpKeyword
number of ops:  21
compiled vars:  !0 = $testString, !1 = $tokenised
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%5Ba-z%5D%2B%24%2Fi'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        BOOL_NOT                                         ~3      $2
          6      > JMPZ                                                     ~3, ->8
    6     7    > > RETURN                                                   <false>
    8     8    >   INIT_FCALL                                               'token_get_all'
          9        CONCAT                                           ~4      '%3C%3Fphp+', !0
         10        CONCAT                                           ~5      ~4, '%3B+%3F%3E'
         11        SEND_VAL                                                 ~5
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !1, $6
   10    14        INIT_FCALL                                               'reset'
         15        FETCH_DIM_W                                      $8      !1, 1
         16        SEND_REF                                                 $8
         17        DO_ICALL                                         $9      
         18        IS_NOT_IDENTICAL                                 ~10     $9, 313
         19      > RETURN                                                   ~10
   11    20*     > RETURN                                                   null

End of function isphpkeyword

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
238.49 ms | 975 KiB | 20 Q