略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: INIT_STRING

2024-04-19

INIT_STRING

PHP code

<?php
/*
 * appears to create a string variable in result
 * opcode number: 53
 */
echo "hello$a world";
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$a

line#op fetchextreturn operands
60 ADD_STRING   ~0 'hello'
 1 ADD_VAR   ~0 ~0,!0
 2 ADD_STRING   ~0 ~0,'+world'
 3 ECHO     ~0
74 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.init-string.php

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