3v4l.org

run code in 300+ PHP versions simultaneously
<?php trigger_error('this is no problem - just a notice'); set_error_handler(function ($s, $m, $f, $l) { throw new ErrorException($m, 0, $s, $f, $l); }); echo "this will still work fine:"; @trigger_error('see? no problem'); echo "\nthis, however, will not:"; trigger_error('problems');
based on 222oU
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XukW5
function name:  (null)
number of ops:  18
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'trigger_error'
         1        SEND_VAL                                                 'this+is+no+problem+-+just+a+notice'
         2        DO_ICALL                                                 
   5     3        INIT_FCALL                                               'set_error_handler'
         4        RAISE_ABSTRACT_ERROR                             ~1      '%00%7Bclosure%7D%2Fin%2FXukW50x7f901567a09a'
   7     5        SEND_VAL                                                 ~1
         6        DO_ICALL                                                 
   9     7        ASSIGN_OBJ                                               'this+will+still+work+fine%3A'
         8        BEGIN_SILENCE                                    ~3      
         9        INIT_FCALL                                               'trigger_error'
        10        SEND_VAL                                                 'see%3F+no+problem'
        11        DO_ICALL                                                 
        12        END_SILENCE                                              ~3
  10    13        ASSIGN_OBJ                                               '%0Athis%2C+however%2C+will+not%3A'
        14        INIT_FCALL                                               'trigger_error'
        15        SEND_VAL                                                 'problems'
        16        DO_ICALL                                                 
        17      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FXukW50x7f901567a09a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/XukW5
function name:  {closure}
number of ops:  13
compiled vars:  !0 = $s, !1 = $m, !2 = $f, !3 = $l
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   5     0  E >   RECV                                             !0      
         1        RECV                                             !1      
         2        RECV                                             !2      
         3        RECV                                             !3      
   6     4        NEW                                              $4      :13
         5        SEND_VAR_EX                                              !1
         6        SEND_VAL_EX                                              0
         7        SEND_VAR_EX                                              !0
         8        SEND_VAR_EX                                              !2
         9        SEND_VAR_EX                                              !3
        10        DO_FCALL                                      0          
        11      > THROW                                         0          $4
   7    12*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FXukW50x7f901567a09a

Generated using Vulcan Logic Dumper, using php 7.4.0