3v4l.org

run code in 300+ PHP versions simultaneously
<?php function default_error_handler($errorNumber, $message, $errfile, $errline){ echo " default_error_handler:\r\n"; var_dump($errorNumber, $message, $errfile, $errline, error_get_last()); echo "/default_error_handler\r\n"; } set_error_handler('default_error_handler'); @mkdir('/tmp/xynta/nya'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HoCA4
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'default_error_handler'
          2        DO_ICALL                                                 
   10     3        BEGIN_SILENCE                                    ~1      
          4        INIT_FCALL                                               'mkdir'
          5        SEND_VAL                                                 '%2Ftmp%2Fxynta%2Fnya'
          6        DO_ICALL                                                 
          7        END_SILENCE                                              ~1
   11     8      > RETURN                                                   1

Function default_error_handler:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HoCA4
function name:  default_error_handler
number of ops:  16
compiled vars:  !0 = $errorNumber, !1 = $message, !2 = $errfile, !3 = $errline
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
    3     4        ECHO                                                     '+default_error_handler%3A%0D%0A'
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !2
          9        SEND_VAR                                                 !3
         10        INIT_FCALL                                               'error_get_last'
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
    5    14        ECHO                                                     '%2Fdefault_error_handler%0D%0A'
    6    15      > RETURN                                                   null

End of function default_error_handler

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.07 ms | 1400 KiB | 21 Q