3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler("err"); function err($no, $str, $line, $file, $ctx) { var_dump($str, $ctx); } function from() { trigger_error("test", E_USER_NOTICE); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SGJjW
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'err'
          2        DO_ICALL                                                 
   11     3      > RETURN                                                   1

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

End of function err

Function from:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SGJjW
function name:  from
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'trigger_error'
          1        SEND_VAL                                                 'test'
          2        SEND_VAL                                                 1024
          3        DO_ICALL                                                 
   11     4      > RETURN                                                   null

End of function from

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.89 ms | 1395 KiB | 19 Q