downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SEND_VAR> <SEND_REF
[edit] Last updated: Fri, 26 Apr 2013

view this page in

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


add a note add a note User Contributed Notes SEND_VAL - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites