开发 PHP 类库 拓展
发表于|更新于|php
可以使用
https://zephir-lang.com/
phalcon就是用这个写的
似乎是一个很不错的存在
文章作者: developer
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!
相关推荐
2015-09-09
getenv
取得系统的环境变量 语法: string getenv(string varname); 返回值: 字符串 函数种类: PHP 系统功能 内容说明 若正确取得环境变量 varname,则返回变量值。失败则返回 false。 使用范例 下例可以取得用户浏览器所在机器的网址 $ip = getenv(“REMOTE_ADDR”);
2015-12-07
php mb_regex_encoding
mb_regex_encoding — 设置/获得 多字节正则表达式 字符编码 如:中文
2021-01-14
php excel PhpSpreadsheet 处理大量数据 读取
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566use PhpOffice\PhpSpreadsheet\IOFactory;use PhpOffice\PhpSpreadsheet\Spreadsheet;class Xlsx{ public static function load($filePath) { $inputFileType = IOFactory::identify($filePath); $excelReader = IOFactory::createReader($inputFileType); $PHPExcel = $excelReader->load($filePath); return $PHPExcel; } /** * 迭代每一行...
2015-09-10
mysql_fetch_assoc
mysql_fetch_assoc取出关联数组和mysql_fetch_array用assoc参数是一样的
2019-09-05
PHP 获取 对象唯一id spl_object_hash
1234567// 对象spl_object_hash测试$object = new stdClass;$id = spl_object_hash($object);var_dump($id); // 00000000408de7e4000000006ad86d42$object->id = 1;$id = spl_object_hash($object);var_dump($id); // 00000000408de7e4000000006ad86d42 注意When an object is destroyed, its hash may be reused for other objects.当对象被销毁时候,这个哈希id可能被其他对象重用
2019-12-11
mongodb php 聚合 条件判断
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120...
公告
This is my Blog