php教程

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#op fetchextreturn operands
60 NOP      
101 SEND_VAL     'HELLO'
 2 DO_FCALL  1  'funca'
123 SEND_VAL     'IN_PHPBB'
 4 DO_FCALL  1  'defined'
135 RETURN     1

Function name: funcA

Compiled variables: !0=$msg

line#op fetchextreturn operands
60 RECV     1
71 PRINT   ~0 !0
 2 FREE     ~0
83 RETURN     null

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788