3v4l.org

run code in 300+ PHP versions simultaneously
<?php function lpErrorHandler($no,$str,$file,$line) { aaaaaaaa; echo $no,$str,$file,$line; throw new ErrorException($str,0,$no,$file,$line); return true; } set_error_handler("lpErrorHandler"); a();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7UrvA
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        INIT_FCALL_BY_NAME                                       'a'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

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

End of function lperrorhandler

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.11 ms | 1395 KiB | 15 Q