略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: RECV_INIT

2024-12-21

RECV_INIT

PHP code

<?php
/*
 * Initialize a function argument with "value" if not received from caller.  Otherwise same as RECV.
 * opcode number: 64
 */
function hello($a=5){}
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
60 NOP      
71 RETURN     1

Function name: hello

Compiled variables: !0=$a

line#op fetchextreturn operands
60 RECV_INIT     1,5
 1 RETURN     null
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/internals2.opcodes.recv-init.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3