3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = "/** * This exception is thrown when no constant function is found. * * @author Time.ly Network Inc. * @since 2.0 * * @instantiator Ai1ec_View_Factory Category_Exception * @package AI1EC * @subpackage AI1EC.Config */"; preg_match_all('#^\s*[*]\s*@instantiator\s+(.*)$#m', $doc, $annotations); echo var_dump($annotations);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SM0Dd
function name:  (null)
number of ops:  11
compiled vars:  !0 = $doc, !1 = $annotations
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%2A%2A%0A+%2A+This+exception+is+thrown+when+no+constant+function+is+found.%0A+%2A%0A+%2A+%40author+++++Time.ly+Network+Inc.%0A+%2A+%40since++++++2.0%0A+%2A%0A+%2A+%40instantiator+Ai1ec_View_Factory+Category_Exception%0A+%2A+%40package++++AI1EC%0A+%2A+%40subpackage+AI1EC.Config%0A+%2A%2F'
   12     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%23%5E%5Cs%2A%5B%2A%5D%5Cs%2A%40instantiator%5Cs%2B%28.%2A%29%24%23m'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
   13     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $4      
          9        ECHO                                                     $4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.76 ms | 1394 KiB | 17 Q