3v4l.org

run code in 500+ PHP versions simultaneously
<?php error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); ini_set('display_errors', 1); date_default_timezone_set('UTC'); set_time_limit(0); set_error_handler(function ($errno, $errstr, $errfile, $errline, array $errcontext) { // error was suppressed with the @-operator if (error_reporting() === 0) { return false; } throw new \ErrorException($errstr, 0, $errno, $errfile, $errline); }); ini_set('error_reporting', E_ALL & ~E_USER_DEPRECATED); ini_set('display_errors', 0); ini_set('date.timezone', 'Europe/Berlin'); @trigger_error('Test', E_USER_DEPRECATED);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9HAXe
function name:  (null)
number of ops:  36
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'error_reporting'
          1        SEND_VAL                                                     15
          2        DO_ICALL                                                     
    4     3        INIT_FCALL                                                   'ini_set'
          4        SEND_VAL                                                     'display_errors'
          5        SEND_VAL                                                     1
          6        DO_ICALL                                                     
    5     7        INIT_FCALL                                                   'date_default_timezone_set'
          8        SEND_VAL                                                     'UTC'
          9        DO_ICALL                                                     
    6    10        INIT_FCALL                                                   'set_time_limit'
         11        SEND_VAL                                                     0
         12        DO_ICALL                                                     
    8    13        INIT_FCALL                                                   'set_error_handler'
         14        DECLARE_LAMBDA_FUNCTION                              ~4      [0]
   15    15        SEND_VAL                                                     ~4
    8    16        DO_ICALL                                                     
   18    17        INIT_FCALL                                                   'ini_set'
         18        SEND_VAL                                                     'error_reporting'
         19        SEND_VAL                                                     14335
         20        DO_ICALL                                                     
   19    21        INIT_FCALL                                                   'ini_set'
         22        SEND_VAL                                                     'display_errors'
         23        SEND_VAL                                                     0
         24        DO_ICALL                                                     
   20    25        INIT_FCALL                                                   'ini_set'
         26        SEND_VAL                                                     'date.timezone'
         27        SEND_VAL                                                     'Europe%2FBerlin'
         28        DO_ICALL                                                     
   23    29        BEGIN_SILENCE                                        ~9      
         30        INIT_FCALL                                                   'trigger_error'
         31        SEND_VAL                                                     'Test'
         32        SEND_VAL                                                     16384
         33        DO_ICALL                                                     
         34        END_SILENCE                                                  ~9
         35      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/9HAXe
function name:  {closure:/in/9HAXe:8}
number of ops:  19
compiled vars:  !0 = $errno, !1 = $errstr, !2 = $errfile, !3 = $errline, !4 = $errcontext
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
          2        RECV                                                 !2      
          3        RECV                                                 !3      
          4        RECV                                                 !4      
   10     5        INIT_FCALL                                                   'error_reporting'
          6        DO_ICALL                                             $5      
          7        IS_IDENTICAL                                                 $5, 0
          8      > JMPZ                                                         ~6, ->10
   11     9    > > RETURN                                                       <false>
   14    10    >   NEW                                                  $7      '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          $7
   15    18*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
270.58 ms | 2098 KiB | 19 Q