## SEND_VAL

## PHP コード

`<?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 オペコード

関数名: (null)

コンパイルされた変数: none

line | # | op | fetch | ext | return | operands
--- | --- | --- | --- | --- | --- | ---
6 | 0 | NOP |  |  |  |
10 | 1 | SEND_VAL |  |  |  | 'HELLO'
| 2 | DO_FCALL |  | 1 |  | 'funca'
12 | 3 | SEND_VAL |  |  |  | 'IN_PHPBB'
| 4 | DO_FCALL |  | 1 |  | 'defined'
13 | 5 | RETURN |  |  |  | 1

関数名: funcA

コンパイルされた変数: !0=$msg

line | # | op | fetch | ext | return | operands
--- | --- | --- | --- | --- | --- | ---
6 | 0 | RECV |  |  |  | 1
7 | 1 | PRINT |  |  | ~0 | !0
| 2 | FREE |  |  |  | ~0
8 | 3 | RETURN |  |  |  | null