Php/docs/internals2.opcodes.send-val

提供:Dev Guides
< Php
2020年12月14日 (月) 11:28時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

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