3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = ' ~^ (?: (?:(?P<function>function)\s*\(\s* (?:(?P<table1>.+)(?:\.))?(?P<column1>[^ ]+) \s*\)) | (?:(?P<table2>.+)(?:\.))?(?P<column2>[^ ]+) ) (?:\s+as\s+(?P<alias>.+))? $~ix '; var_dump(PCRE_VERSION); var_dump(preg_match($pattern, 'id')); var_dump(preg_last_error());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hdiM4
function name:  (null)
number of ops:  17
compiled vars:  !0 = $pattern
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%0A++++%7E%5E%0A++++++++%28%3F%3A%0A++++++++++++%28%3F%3A%28%3FP%3Cfunction%3Efunction%29%5Cs%2A%5C%28%5Cs%2A%0A++++++++++++++++%28%3F%3A%28%3FP%3Ctable1%3E.%2B%29%28%3F%3A%5C.%29%29%3F%28%3FP%3Ccolumn1%3E%5B%5E+%5D%2B%29%0A++++++++++++%5Cs%2A%5C%29%29%0A++++++++++++%7C%0A++++++++++++%28%3F%3A%28%3FP%3Ctable2%3E.%2B%29%28%3F%3A%5C.%29%29%3F%28%3FP%3Ccolumn2%3E%5B%5E+%5D%2B%29%0A++++++++%29%0A++++++++%28%3F%3A%5Cs%2Bas%5Cs%2B%28%3FP%3Calias%3E.%2B%29%29%3F%0A++++%24%7Eix%0A'
   16     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAL                                                 '10.35+2020-05-09'
          3        DO_ICALL                                                 
   17     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'preg_match'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'id'
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
   18    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'preg_last_error'
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.74 ms | 1395 KiB | 19 Q