PHP date_get_last_errors() 函数

PHP 教程 · 2019-01-23 20:14:14

实例

返回解析日期字符串时的警告和错误:

<?php
date_create("gyuiyiuyui%&&/");
print_r(date_get_last_errors());
?>

定义和用法

date_get_last_errors() 函数返回解析日期字符串时找到的警告/错误。

语法

date_get_last_errors();

技术细节

返回值: 返回一个包含有关错误/警告信息的数组。
PHP 版本: 5.3+

点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html

查看所有标签

CSS

CSS

David Sawyer McFarland / O'Reilly / 2006-08-24 / USD 34.99

Book Description Web site design has grown up. Unlike the old days, when designers cobbled together chunky HTML, bandwidth-hogging graphics, and a prayer to make their sites look good, Cascading St......一起来看看 《CSS》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

在线进制转换器
在线进制转换器

各进制数互转换器

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器