3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function () {return true;}); @unlink('/goo'); print_r(error_get_last()); set_error_handler(function () {return false;}); @unlink('/goo'); print_r(error_get_last());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Smmt7
function name:  (null)
number of ops:  29
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FSmmt7%3A3%240'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    4     4        BEGIN_SILENCE                                    ~2      
          5        INIT_FCALL                                               'unlink'
          6        SEND_VAL                                                 '%2Fgoo'
          7        DO_ICALL                                                 
          8        END_SILENCE                                              ~2
    5     9        INIT_FCALL                                               'print_r'
         10        INIT_FCALL                                               'error_get_last'
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
    7    14        INIT_FCALL                                               'set_error_handler'
         15        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FSmmt7%3A7%241'
         16        SEND_VAL                                                 ~6
         17        DO_ICALL                                                 
    8    18        BEGIN_SILENCE                                    ~8      
         19        INIT_FCALL                                               'unlink'
         20        SEND_VAL                                                 '%2Fgoo'
         21        DO_ICALL                                                 
         22        END_SILENCE                                              ~8
    9    23        INIT_FCALL                                               'print_r'
         24        INIT_FCALL                                               'error_get_last'
         25        DO_ICALL                                         $10     
         26        SEND_VAR                                                 $10
         27        DO_ICALL                                                 
         28      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FSmmt7%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Smmt7
function name:  {closure}
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   <true>
          1*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FSmmt7%3A3%240

Function %00%7Bclosure%7D%2Fin%2FSmmt7%3A7%241:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Smmt7
function name:  {closure}
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                   <false>
          1*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FSmmt7%3A7%241

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.13 ms | 1401 KiB | 21 Q