“PHP学习网” 公众号会天天分享一些面试题,正在找工做的小伙伴们能够来看看哦。
500 Internal Server Error 服务器遇到了意料不到的状况,不能完成客户的请求
Header(“ HTTP/1.0 404 NOT FOUND”);php
arsort:对数组进行逆向排序并保持索引关系;
error_reporting(2047)的做用是:report All errors and warningshtml
在如何处理失败时,include() 产生一个警告而 require() 则致使一个致命错误; require_once()/include_once()面试
本函数取得 PHP 环境配置的变量 magic_quotes_gpc (GPC, Get/Post/Cookie) 值。返回 0 表示关闭本功能;返回 1 表示本功能打开。当 magic_quotes_gpc 打开时,全部的 ' (单引号), " (双引号), (反斜线) and 空字符会自动转为含有反斜线的溢出字符。正则表达式
结束标识符所在的行不能包含任何其它字符除";"redis
preg_replace('/\d/U','',$string);
find /data1/source +size >100k | cp ~/temp/35/
find ./-type f:找寻当前目录下的类型为f的文件apache
-a 归档模式,递归传输文件;
-v 详细模式输出;
-u, --update 仅仅进行更新,也就是跳过全部已经存在于DST,而且文件时间晚于要备份的文件。(不覆盖更新的文件)数组
function test(){ this.msg='hello'; msg='nice'; this.test=function(){ msg='hi'; var msg='good'; return this.msg; } return this; } var x=new test().test(); var y=test().test(); value of x is__hello___; value of y is ___nice___;
<div id="box"> <img src="/xx/" alt="" /> </div> #box{ width:200px; height:200px; text-align:center; line-height:200px; }
最后各位能够扫下方二维码关注我公众号,目前我正在更新基础面试题,以后会更新中高级、redis、liunx面试题