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, error_reporting(), ini_get('display_errors')); echo "/default_error_handler\r\n"; } set_error_handler('default_error_handler'); echo error_reporting()."\r\n"; @mkdir('/tmp/xynta/nya'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3f587
function name:  (null)
number of ops:  13
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                                                 
    8     3        INIT_FCALL                                               'error_reporting'
          4        DO_ICALL                                         $1      
          5        CONCAT                                           ~2      $1, '%0D%0A'
          6        ECHO                                                     ~2
   10     7        BEGIN_SILENCE                                    ~3      
          8        INIT_FCALL                                               'mkdir'
          9        SEND_VAL                                                 '%2Ftmp%2Fxynta%2Fnya'
         10        DO_ICALL                                                 
         11        END_SILENCE                                              ~3
   11    12      > RETURN                                                   1

Function default_error_handler:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3f587
function name:  default_error_handler
number of ops:  18
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        INIT_FCALL                                               'error_reporting'
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        INIT_FCALL                                               'ini_get'
         12        SEND_VAL                                                 'display_errors'
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
    5    16        ECHO                                                     '%2Fdefault_error_handler%0D%0A'
    6    17      > RETURN                                                   null

End of function default_error_handler

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.81 ms | 1396 KiB | 23 Q