袁来如此的工作笔记
竹杖芒鞋轻胜马,谁怕? 一蓑烟雨任平生。

定义和用法:
error_reporting() 设置 PHP 的报错级别并返回当前级别。
函数语法:
error_reporting(report_level)
如果参数 level 未指定,当前报错级别将被返回。下面几项是 level 可能的值:
值 常量 描述
E_ERROR 致命的运行错误。错误无法恢复,暂停执行脚本。
E_WARNING 运行时警
$stmt=$pdo->query($sql);
if(empty($stmt->rowCount())){...
while($pp = $stmt->fetch_object()){
$list[] = $pp;
}
if(empty(count($list))){...<
MySQLi基于OOP的编程
<?php
//1.建立到MySQL的连接
$mysqli=@new mysqli('localhost','root','root','test');
if($mysqli->connect_errno){die('Connect Error://自定义函数手机号隐藏中间四位
function yc_phone($str){
$str=$str;
$resstr=substr_replace($str,'****',3,4); &nb