log_errors display_errors

Posted by 夏泽民

display_errors,开启log_errors,配置error_log路径 1)display_error



int 比 intval 性能高出3至6倍

Posted by 夏泽民

OPCODE 进行了分析,解释了其深层原因



extract eval

Posted by 夏泽民

@extract($a); //extract() 函数从数组中把变量导入到当前的符号表中



expose_php

Posted by 夏泽民

https://manual.phpdoc.org/ expose_php boolean 决定是否暴露 PHP 被安装在服务器上(例如在 Web 服务器的信息头中加上其签名:X-Powered-By: PHP/5.3.7)。 The PHP logo guids are also exposed, thus appending them to the URL of a PHP enabled site will display the appropriate logo (e.g., » https://www.php.net/?=PHPE9568F34-D428-11d2-A769-00AA001ACF42). This also affects the output of phpinfo(), as when disabled, the PHP logo and credits information will not be displayed. https://www.php.net/manual/zh/ini.core.php 一、如何触发PHP彩蛋? 我们只要在运行PHP的服务器上,在域名后面输入下面的字符参数,就能返回一些意想不到的信息。当然有些服务器是把菜单屏蔽了的。彩蛋只有这4个,PHP是开放源代码的,所以不必担心还有其他。



escapeshellarg

Posted by 夏泽民

(PHP 4 >= 4.0.3, PHP 5, PHP 7)



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required