apcu_enabled
(PECL apcu >= 4.0.3)
apcu_enabled — Whether APCu is usable in the current environment
说明
apcu_enabled(): bool...
归档
3年前 (2021-06-19) 286℃
0喜欢
The Stringable interface
(PHP 8)
简介
The Stringable interface denotes a class as having a __toString() method. Unlike most inte...
归档
3年前 (2021-06-19) 330℃
0喜欢
WeakReference 类
(No version information available, might only be in Git)
简介
弱引用可以指向一个对象,并且不阻止对象的销毁。可以实现具有对象结构的缓存。
弱引用类不能序列...
归档
3年前 (2021-06-19) 267℃
0喜欢
Throwable
(PHP 7, PHP 8)
简介
PHP 7 里,Throwable 是能被 throw 语句抛出的最基本的接口(interface),包含了 Error 和 Exception。
注意:
PH...
归档
3年前 (2021-06-19) 429℃
0喜欢
TypeError
(PHP 7, PHP 8)
简介
有三种情况会抛出 TypeError。第一种,传递给函数的参数类型与函数预期声明的参数类型不匹配;第二种,函数返回的值与声明的函数返回类型不匹配;第三种,调用 PHP 内置函数时,传递了非法的数字参...
归档
3年前 (2021-06-18) 250℃
0喜欢
ParseError
(PHP 7, PHP 8)
简介
ParseError 当解析 PHP 代码时发生错误时抛出,比如当 eval()被调用出错时。
注意: 从 PHP 7.3.0 开始,ParseError 继承自 ...
归档
3年前 (2021-06-18) 210℃
0喜欢
CompileError
(PHP 7 > 7.3.0, PHP 8)
简介
CompileError 是针对一些编译错误抛出的,之前是会发出致命错误。
类摘要
CompileError ...
归档
3年前 (2021-06-18) 178℃
0喜欢
DivisionByZeroError
(PHP 7, PHP 8)
简介
DivisionByZeroError 当除数为零时被抛出。
类摘要
DivisionByZeroError ...
归档
3年前 (2021-06-18) 234℃
0喜欢
AssertionError
(PHP 7, PHP 8)
简介
AssertionError 在函数 assert() 断言失败时被抛出。
类摘要
AssertionError e...
归档
3年前 (2021-06-18) 191℃
0喜欢
ArithmeticError
(PHP 7, PHP 8)
简介
ArithmeticError 当执行数学运算时发生错误时被抛出。PHP 7.0 these errors include attempting to perform a bitshif...
归档
3年前 (2021-06-18) 197℃
0喜欢