SEND_VAL

PHP code

<?php
/*
 * Pass the constant value as an actual parameter to a function.  DO_FCALL follows.
 * opcode number: 65
 */
function funcA($msg){
    print $msg;
}

funcA('HELLO');

defined('IN_PHPBB');
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#opfetchextreturnoperands
60NOP    
101SEND_VAL   'HELLO'
 2DO_FCALL 1 'funca'
123SEND_VAL   'IN_PHPBB'
 4DO_FCALL 1 'defined'
135RETURN   1

Function name: funcA

Compiled variables: !0=$msg

line#opfetchextreturnoperands
60RECV   1
71PRINT  ~0!0
 2FREE   ~0
83RETURN   null