6月14日 上海 OSC 源创会开始报名啦,有很多机械键盘送哦!!!
Phalcon 2.0.2 发布,此版本包括很多新功能,bug修复和性能方面的改进:
Added `stats()` methods to Beanstalk
Fixed segfault when a docblock does not have annotations #10301
Fixed wrong number of parameters passed when triggering an event in Mvc/Collection
Now Mvc/Model checks if an attribute has a default value associated in the database and ignores it from the insert/update generated SQL
Readded Http/Request::hasPut() (#10283)
Phalcon/Text: Added method reduceSlashes() - Reduces multiple slashes in a string to single slashes
Phalcon/Text: Added method concat() - Concatenates strings using the separator only once without duplication in places concatenation
Added conditional on Session adapter start() to check if the session has already been started
Added status() function in Session adapter to return the status of the session (disabled/none/started)
Implementation of subqueries as expressions in PHQL
Performance improvements focused on PHP 5.6
此版本现已提供下载: https://github.com/phalcon/cphalcon/archive/phalcon-v2.0.2.zip
更多内容请查看 发行页面 。
PhalconPHP 是一个使用 C 扩展开发的 PHP Web 框架,提供高性能和低资源占用。
Phalcon 是一个开源的、全堆栈的 PHP 5 框架,使用 C 扩展编写,专门为高性能优化。无需学习和使用 C 语言,所有函数都以 PHP 类的方式曾现。Phalcon 是一个松耦合的框架。
使用时需在 php.ini 中添加:extension=phalcon.so