3v4l.org

run code in 300+ 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) { // error was suppressed with the @-operator if (!(error_reporting() & $errno)) { 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/MFGOg
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                                  '%00%7Bclosure%7D%2Fin%2FMFGOg%3A8%240'
   15    15        SEND_VAL                                                 ~4
         16        DO_ICALL                                                 
   18    17        INIT_FCALL                                               'ini_set'
         18        SEND_VAL                                                 'error_reporting'
         19        SEND_VAL                                                 16383
         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

Function %00%7Bclosure%7D%2Fin%2FMFGOg%3A8%240:
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/MFGOg
function name:  {closure}
number of ops:  19
compiled vars:  !0 = $errno, !1 = $errstr, !2 = $errfile, !3 = $errline
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
   10     4        INIT_FCALL                                               'error_reporting'
          5        DO_ICALL                                         $4      
          6        BW_AND                                           ~5      !0, $4
          7        BOOL_NOT                                         ~6      ~5
          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 function %00%7Bclosure%7D%2Fin%2FMFGOg%3A8%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.67 ms | 1400 KiB | 25 Q