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_WARNING); // Script stopped after this line... }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GCd7p
function name:  (null)
number of ops:  5
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        INIT_FCALL_BY_NAME                                       'err'
          2        DO_FCALL                                      0          
    7     3        ECHO                                                     !0
   14     4      > RETURN                                                   1

Function err:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GCd7p
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                                                 512
          3        DO_ICALL                                                 
   14     4      > RETURN                                                   null

End of function err

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.74 ms | 1394 KiB | 15 Q