3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(error_reporting(E_ALL)); var_dump(error_reporting()); var_dump(@error_reporting(E_ERROR)); var_dump(error_reporting()); // does not returns E_ERROR on PHP 8.0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/odVHc
function name:  (null)
number of ops:  25
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'error_reporting'
          2        SEND_VAL                                                 32767
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'error_reporting'
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                                 
    5    11        INIT_FCALL                                               'var_dump'
         12        BEGIN_SILENCE                                    ~4      
         13        INIT_FCALL                                               'error_reporting'
         14        SEND_VAL                                                 1
         15        DO_ICALL                                         $5      
         16        END_SILENCE                                              ~4
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
    6    19        INIT_FCALL                                               'var_dump'
         20        INIT_FCALL                                               'error_reporting'
         21        DO_ICALL                                         $7      
         22        SEND_VAR                                                 $7
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.25 ms | 1395 KiB | 17 Q