略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ASSIGN

2024-03-28

ASSIGN

PHP code

<?php
/*
 * assigns value1 to result
 * opcode number: 38
 */
$a=1;
$a='a';
$a=new A();
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$a

line#op fetchextreturn operands
60 ASSIGN     !0,1
71 ASSIGN     !0,'a'
82 ZEND_FETCH_CLASS   :2 'A'
 3 NEW   $3 :2
 4 DO_FCALL_BY_NAME  0   
 5 ASSIGN     !0,$3
96 RETURN     1
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.assign.php

冷却塔厂家 广告
-- 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3