Phalcon7 1.2.3 发布,高性能 PHP 7 框架
生活随笔
收集整理的這篇文章主要介紹了
Phalcon7 1.2.3 发布,高性能 PHP 7 框架
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
新增 Phalcon\Storage\Btree 類,測(cè)試插入10萬(wàn)數(shù)據(jù),7秒左右。
$btree = new Phalcon\Storage\Btree(__DIR__.'/cache/tree.db'); for ($i = 0; $i < 100000; $i++) {$btree->set('key_'.$i, 'value'.$i); }基本操作:
$btree = new Phalcon\Storage\Btree('unit-tests/cache/tree.db'); $this->assertTrue($btree->set("key1", "value1")); $this->assertEquals($btree->get("key1"), "value1"); $this->assertTrue($btree->delete("key1")); $this->assertEquals($btree->get("key1"), "");主要更新內(nèi)容:
Add class PhalconStorageBtree
Add method PhalconDispatcher::hasParam
Fix bug about class PhalconChartQrcode
Fix bug about method PhalconMvcModelQuery::_prepareInsert
Fix bug about method PhalconSecurity::checkToken
本文來(lái)自開源中國(guó)社區(qū) [http://www.oschina.net]
總結(jié)
以上是生活随笔為你收集整理的Phalcon7 1.2.3 发布,高性能 PHP 7 框架的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MySQL数据库管理(二)单机环境下My
- 下一篇: Windows 蠕虫首次现身 Mac 电