3v4l.org

run code in 500+ 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:  14
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.44+2024-06-07'
          3        DO_ICALL                                                     
   17     4        INIT_FCALL                                                   'var_dump'
          5        FRAMELESS_ICALL_2                preg_match          ~3      !0, 'id'
          6        SEND_VAL                                                     ~3
          7        DO_ICALL                                                     
   18     8        INIT_FCALL                                                   'var_dump'
          9        INIT_FCALL                                                   'preg_last_error'
         10        DO_ICALL                                             $5      
         11        SEND_VAR                                                     $5
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.96 ms | 2115 KiB | 17 Q