3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = 'This is the test message for echo'; @err(); echo $msg; // This line does not appear... function err() { trigger_error('Error message', E_USER_ERROR); // Script stopped after this line... }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fjjkk
function name:  (null)
number of ops:  7
compiled vars:  !0 = $msg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'This+is+the+test+message+for+echo'
    5     1        BEGIN_SILENCE                                    ~2      
          2        INIT_FCALL_BY_NAME                                       'err'
          3        DO_FCALL                                      0          
          4        END_SILENCE                                              ~2
    7     5        ECHO                                                     !0
   14     6      > RETURN                                                   1

Function err:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fjjkk
function name:  err
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'trigger_error'
          1        SEND_VAL                                                 'Error+message'
          2        SEND_VAL                                                 256
          3        DO_ICALL                                                 
   14     4      > RETURN                                                   null

End of function err

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.39 ms | 1394 KiB | 15 Q