高性能 PHP 框架,Phalcon 2.0.8 發布
PhalconPHP 是一個使用 C 擴展開發的 PHP Web 框架,提供高性能和低資源占用。
Phalcon 是一個開源的、全堆棧的 PHP 5 框架,使用 C 擴展編寫,專門為高性能優化。無需學習和使用 C 語言,所有函數都以 PHP 類的方式曾現。Phalcon 是一個松耦合的框架。
使用時需在 php.ini 中添加:extension=phalcon.so
Phalcon 2.0.8 發布,此版本更新內容如下:-
Added
</li>Phalcon\Security\Random::base58
- to generate a random base58 string -
Added
</li>Phalcon\Logger\Adapter::isTransaction()
to check whether the logger is currently in transaction mode or not (Phalcon 1.3 behavior) -
</li>Phalcon\Session\Adapter
now closes the session when the adapter is destroyed (Phalcon 1.3 behavior) -
Fixed fetching of data in modes FETCH_CLASS, FETCH_INTO and FETCH_FUNC in
</li>Phalcon\Db
-
Added missing code property in
</li>Phalcon\Validation\Message
available in Phalcon 1.3.x -
Added
</li>Phalcon\Db\Column::TYPE_TIMESTAMP
to allow migrations on these kind of columns -
Added
</li>Phalcon\Db\ColumnInterface::hasDefault
to check if a column has a default value declared in its database column definition -
Fixed determining of default value for column in
</li>Phalcon\Db\Dialect\MySQL
,Phalcon\Db\Dialect\Sqlite
andPhalcon\Db\Dialect\Postgresql
classes -
Now Phalcon\Mvc\Model::__call invokes finders as in __callStatic
</li> -
Fixed
</li>Phalcon\Db\Dialect\Postgresql::getColumnDefinition
forBIGINT
andBOOLEAN
data types -
Fixed
</li>BOOLEAN
default value inPhalcon\Db\Dialect\Postgresql
-
Added
</li> </ul>Phalcon\Validation\Validator\CreditCard
- validation credit card number using luhn algorithm下載:https://github.com/phalcon/cphalcon/archive/phalcon-v2.0.8.zip。
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!