3v4l.org

run code in 300+ PHP versions simultaneously
<?php function lpErrorHandler($no,$str, $file,$line,$varList) { print_r($varList); throw new ErrorException($str,0,$no,$file,$line); return true; } set_error_handler("lpErrorHandler"); 14/0;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OWHob
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'lpErrorHandler'
          2        DO_ICALL                                                 
   13     3        DIV                                              ~1      14, 0
          4        FREE                                                     ~1
          5      > RETURN                                                   1

Function lperrorhandler:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/OWHob
function name:  lpErrorHandler
number of ops:  18
compiled vars:  !0 = $no, !1 = $str, !2 = $file, !3 = $line, !4 = $varList
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
    6     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !4
          7        DO_ICALL                                                 
    7     8        NEW                                              $6      'ErrorException'
          9        SEND_VAR_EX                                              !1
         10        SEND_VAL_EX                                              0
         11        SEND_VAR_EX                                              !0
         12        SEND_VAR_EX                                              !2
         13        SEND_VAR_EX                                              !3
         14        DO_FCALL                                      0          
         15      > THROW                                         0          $6
    8    16*       RETURN                                                   <true>
    9    17*     > RETURN                                                   null

End of function lperrorhandler

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.31 ms | 1395 KiB | 17 Q