PHP - Manual: INIT_STRING
2024-12-21
<?php
/*
* appears to create a string variable in result
* opcode number: 53
*/
echo "hello$a world";
?>
Function name: (null)
Compiled variables: !0=$a
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | ADD_STRING | ~0 | 'hello' | ||
1 | ADD_VAR | ~0 | ~0,!0 | |||
2 | ADD_STRING | ~0 | ~0,'+world' | |||
3 | ECHO | ~0 | ||||
7 | 4 | RETURN | 1 |
官方地址:https://www.php.net/manual/en/internals2.opcodes.init-string.php