3v4l.org

run code in 500+ PHP versions simultaneously
<?php set_error_handler(function ($errno) { if (!(error_reporting() & $errno)) { return; } return false; }); $a = @(1/0); var_dump(error_get_last());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nvNsr
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                              ~1      [0]
   11     2        SEND_VAL                                                     ~1
    3     3        DO_ICALL                                                     
   13     4        BEGIN_SILENCE                                        ~3      
          5        DIV                                                  ~4      1, 0
          6        END_SILENCE                                                  ~3
          7        ASSIGN                                                       !0, ~4
   14     8        INIT_FCALL                                                   'var_dump'
          9        INIT_FCALL                                                   'error_get_last'
         10        DO_ICALL                                             $6      
         11        SEND_VAR                                                     $6
         12        DO_ICALL                                                     
         13      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nvNsr
function name:  {closure:/in/nvNsr:3}
number of ops:  9
compiled vars:  !0 = $errno
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
    5     1        INIT_FCALL                                                   'error_reporting'
          2        DO_ICALL                                             $1      
          3        BW_AND                                               ~2      !0, $1
          4        BOOL_NOT                                             ~3      ~2
          5      > JMPZ                                                         ~3, ->7
    6     6    > > RETURN                                                       null
    9     7    > > RETURN                                                       <false>
   11     8*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
128.74 ms | 481 KiB | 11 Q