Home >php教程 >php手册 >PHP字符串内调用函数的方式

PHP字符串内调用函数的方式

WBOY
WBOYOriginal
2016-06-13 10:52:221198browse

"{$o0_0o{phpinfo()}}"
1
"{$我勒个去[phpinfo()]}"


"${~-~phpinfo()}"


"${0e0+phpinfo()}"
What fuck?

 



$→_→${$←_←{pHPINfo(~@-@~-$$总之,我是好人)}}


我是好人;


?>
我简单整理了下规则:

可变变量


" ${phpinfo()} "


" ${@phpinfo()} "


" ${${phpinfo()} }"


" ${{0x00-0x20}phpinfo()} "


" ${{逻辑||运算}phpinfo()} "

数组索引


" {${合法变量名}[phpinfo()]} "


" {${合法变量名}{phpinfo()}} "

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn