3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/EHtVV
function name:  (null)
number of ops:  8
compiled vars:  !0 = $pattern, !1 = $error
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   ASSIGN                                                   !0, '%2Fincorrect%29%2F'
   21     1        INIT_FCALL                                               'regexhaserrors'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0  $3      
          4        ASSIGN                                           ~4      !1, $3
          5      > JMPZ                                                     ~4, ->7
   22     6    >   ECHO                                                     !1
   23     7    > > RETURN                                                   1

Function regexhaserrors:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 19
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EHtVV
function name:  regexHasErrors
number of ops:  22
compiled vars:  !0 = $pattern
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   12     1        BEGIN_SILENCE                                    ~1      
          2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 ''
          5        DO_ICALL                                         $2      
          6        END_SILENCE                                              ~1
          7        TYPE_CHECK                                    4          $2
          8      > JMPZ                                                     ~3, ->19
   13     9    >   INIT_FCALL                                               'str_replace'
         10        SEND_VAL                                                 'preg_match%28%29%3A+'
         11        SEND_VAL                                                 ''
         12        INIT_FCALL                                               'error_get_last'
         13        DO_ICALL                                         $4      
         14        FETCH_DIM_R                                      ~5      $4, 'message'
         15        SEND_VAL                                                 ~5
         16        DO_ICALL                                         $6      
         17        VERIFY_RETURN_TYPE                                       $6
         18      > RETURN                                                   $6
   16    19    > > RETURN                                                   null
   17    20*       VERIFY_RETURN_TYPE                                       
         21*     > RETURN                                                   null

End of function regexhaserrors

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.06 ms | 971 KiB | 17 Q