3v4l.org

run code in 300+ PHP versions simultaneously
<?php function handle($code, $message) { var_dump($code, $message); } error_reporting(-1); set_error_handler('handle'); preg_match('{.}', 'x', $m); parse_str('', $bar);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Qt4oC
function name:  (null)
number of ops:  16
compiled vars:  !0 = $m, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    9     3        INIT_FCALL                                               'set_error_handler'
          4        SEND_VAL                                                 'handle'
          5        DO_ICALL                                                 
   11     6        INIT_FCALL                                               'preg_match'
          7        SEND_VAL                                                 '%7B.%7D'
          8        SEND_VAL                                                 'x'
          9        SEND_REF                                                 !0
         10        DO_ICALL                                                 
   12    11        INIT_FCALL                                               'parse_str'
         12        SEND_VAL                                                 ''
         13        SEND_REF                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Function handle:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Qt4oC
function name:  handle
number of ops:  7
compiled vars:  !0 = $code, !1 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                                 
    5     6      > RETURN                                                   null

End of function handle

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.97 ms | 1395 KiB | 23 Q