牛牛在线工具

PHP 函数大全

收录 8868 个 PHP 函数,含用途说明与用法示例。

本地收录 8868 条,找到 8868 条记录

ps_shading()

创建一个阴影供以后使用

(PECL ps >= 1.3.0) ps_shading — 创建一个阴影供以后使用 说明 ps_shading( resource $psdoc, string $type, float $x0, float $y0, float $x1, float $y1, flo…

ps_show()

输出文本

(PECL ps >= 1.1.0) ps_show — 输出文本 说明 ps_show(resource $psdoc, string $text): bool 在当前文本位置输出文本。文本位置可以通过使用ps_set_value()函数将x和y坐标存储到值textx和…

ps_show2()

在当前位置输出文本

(PECL ps >= 1.1.0) ps_show2 — 在当前位置输出文本 说明 ps_show2(resource $psdoc, string $text, int $len): bool 在当前位置输出文本。不要打印超过len个字符。 参数 psdoc pos…

ps_show_boxed()

在框中输出文本

(PECL ps >= 1.1.0) ps_show_boxed — 在框中输出文本 说明 ps_show_boxed( resource $psdoc, string $text, float $left, float $bottom, float $width, flo…

ps_show_xy()

在给定位置输出文本

(PECL ps >= 1.1.0) ps_show_xy — 在给定位置输出文本 说明 ps_show_xy( resource $psdoc, string $text, float $x, float $y ): bool 在给定的文本位置输出文本。 参数 psd…

ps_show_xy2()

位置输出文本

(PECL ps >= 1.1.0) ps_show_xy2 — 位置输出文本 说明 ps_show_xy2( resource $psdoc, string $text, int $len, float $xcoor, float $ycoor ): bool 警告 本…

ps_shading_pattern()

创建一个新的渐变图案

函数名称:ps_shading_pattern() 函数描述:ps_shading_pattern() 函数用于创建一个新的渐变图案。 适用版本:PHP 4 >= 4.0.5, PHP 5, PHP 7 语法:int ps_shading_pattern(resource …

QuickHashIntSet::__construct()

创建一个新的QuickHashIntSet对象

函数名称:QuickHashIntSet::__construct() 函数描述:该函数用于创建一个新的QuickHashIntSet对象。 参数: 无参数。 返回值: 无返回值。 示例: // 创建一个QuickHashIntSet对象 $set = new Quic…

QuickHashStringIntHash::saveToString()

将 QuickHashStringIntHash 对象的内容保存为一个字符串

函数名称:QuickHashStringIntHash::saveToString() 适用版本:PHP 5 >= 5.2.0, PHP 7 函数说明:saveToString() 方法用于将 QuickHashStringIntHash 对象的内容保存为一个字符串。可以使用…

QuickHashStringIntHash::saveToFile()

将QuickHashStringIntHash对象的内容保存到文件中

函数名称:QuickHashStringIntHash::saveToFile() 适用版本:PHP 5 >= 5.6.0, PHP 7 函数说明:QuickHashStringIntHash::saveToFile()函数用于将QuickHashStringIntHash对…

QuickHashStringIntHash::loadFromString()

从字符串中加载已序列化的 QuickHashStringIntHash 对象

函数名:QuickHashStringIntHash::loadFromString() 适用版本:PHP 7.4.0 及以上版本 用法:该函数用于从字符串中加载已序列化的 QuickHashStringIntHash 对象。 示例: // 创建一个 QuickHashS…

QuickHashStringIntHash::loadFromFile()

从文件中加载已经序列化的QuickHashStringIntHash对象

PHP版本:5.6.0及以上 函数用途:QuickHashStringIntHash::loadFromFile()函数用于从文件中加载已经序列化的QuickHashStringIntHash对象。 函数语法:public static QuickHashStringIntH…

QuickHashStringIntHash::getSize()

获取QuickHashStringIntHash对象的元素数量

函数名称:QuickHashStringIntHash::getSize() 函数说明:该函数用于获取QuickHashStringIntHash对象的元素数量。 适用版本:该函数适用于PHP版本5.4.0及以上的所有版本。 用法示例: // 创建QuickHashStr…

QuickHashStringIntHash::get()

通过键获取哈希表中对应的值

PHP版本:5.6.0及以上(需要安装QuickHash扩展) QuickHashStringIntHash::get()函数用于通过键获取哈希表中对应的值。 用法示例: // 创建一个新的QuickHashStringIntHash对象 $hash = new Quick…

QuickHashStringIntHash::exists()

检查指定的键是否存在于QuickHashStringIntHash对象中

函数名:QuickHashStringIntHash::exists() 适用版本:PHP 5 >= 5.4.0, PHP 7 函数说明:QuickHashStringIntHash::exists()函数用于检查指定的键是否存在于QuickHashStringIntHash…

QuickHashStringIntHash::delete()

从QuickHashStringIntHash对象中删除指定的键及其关联的值

函数名:QuickHashStringIntHash::delete() 适用版本:PHP 5 >= 5.4.0, PHP 7 函数描述:该函数用于从QuickHashStringIntHash对象中删除指定的键及其关联的值。 用法: bool QuickHashStri…

QuickHashStringIntHash::add()

将指定的键和值添加到QuickHashStringIntHash哈希表中

函数名称:QuickHashStringIntHash::add() 适用版本:PHP 5 >= 5.4.0, PHP 7 函数描述:将指定的键和值添加到QuickHashStringIntHash哈希表中。 用法: bool QuickHashStringIntHash…

QuickHashIntStringHash::update()

向哈希表中添加或更新键和对应的值

函数名:QuickHashIntStringHash::update() 适用版本:PHP 5 >= 5.4.0, PHP 7 用法:QuickHashIntStringHash::update() 方法用于向哈希表中添加或更新键和对应的值。 语法:public Quick…

QuickHashIntStringHash::set()

将指定的键值对添加到QuickHashIntStringHash哈希表中

函数名:QuickHashIntStringHash::set() 适用版本:PHP 5 >= 5.4.0, PHP 7 函数说明:QuickHashIntStringHash::set()函数用于将指定的键值对添加到QuickHashIntStringHash哈希表中。 …

QuickHashIntStringHash::saveToString()

将QuickHashIntStringHash对象保存为字符串表示形式

函数名:QuickHashIntStringHash::saveToString() 函数说明:该函数用于将QuickHashIntStringHash对象保存为字符串表示形式。 适用版本:PHP 5 >= 5.4.0, PHP 7 用法: public QuickHas…

QuickHashIntStringHash::saveToFile()

将QuickHashIntStringHash对象的内容保存到文件中

函数名:QuickHashIntStringHash::saveToFile() 函数描述:该函数用于将QuickHashIntStringHash对象的内容保存到文件中。 适用版本:该函数适用于PHP 7.0.0及以上版本。 语法:bool QuickHashIntStr…

QuickHashIntStringHash::loadFromString()

从字符串中加载哈希表数据到QuickHashIntStringHash对象中

函数名称:QuickHashIntStringHash::loadFromString() 函数描述:该函数从字符串中加载哈希表数据到QuickHashIntStringHash对象中。 适用版本:PHP 5 >= 5.4.0, PECL quickhash >= 1.0.0…

QuickHashIntStringHash::getSize()

获取QuickHashIntStringHash对象中存储的键值对数量

函数名称:QuickHashIntStringHash::getSize() 函数描述:获取QuickHashIntStringHash对象中存储的键值对数量。 适用版本:PHP 7.2.0或更高版本 语法:public QuickHashIntStringHash::ge…

QuickHashIntStringHash::exists()

检查一个键是否存在于QuickHashIntStringHash对象中

函数名称:QuickHashIntStringHash::exists() 适用版本:PHP 5 >= 5.4.0, PHP 7, PECL quickhash >= 1.0.0 函数描述:检查一个键是否存在于QuickHashIntStringHash对象中。 用法: b…

上一页第 224 / 370 页下一页