Home  >  Article  >  Backend Development  >  PHP中的extract的作用分析_php技巧

PHP中的extract的作用分析_php技巧

WBOY
WBOYOriginal
2016-05-17 09:37:40755browse

addslashes -- 使用反斜线引用字符串     

extract(addslashes($_POST)); --处理POST表单     
把客户端

表单中的变量名取出来。     

extract(addslashes($_GET)); --处理GET表单     
把客户端
表单中的变量名取出来。  
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