My puppyのブログ

学んだ事や作っているプログラムなどについて書いています。

Slim Framework 3.0.0 released!

www.slimframework.com

PHPのマイクロフレームワーク「Slim」のバージョン3が12月7日にリリースされたそうです。
特徴は以下の通りです。

1.HTTP Router
Slim provides a fast and powerful router that maps route callbacks to specific HTTP request methods and URIs. It supports parameters and pattern matching.

2.Middleware
Build your application with concentric middleware to tweak the HTTP request and response objects around your Slim app.

3.PSR-7 Support
Slim supports any PSR-7 HTTP message implementation so you may inspect and manipulate HTTP message method, status, URI, headers, cookies, and body.

4.Dependency Injection
Slim supports dependency injection so you have complete control of your external tools. Use any Container-Interop container.

あとでいろいろ調べてみますね。

PHP 7.0.0 Released

PHP 7.0.0 Released」
http://php.net/archive/2015.php#id2015-12-03-1

12月3日にPHP7がリリースされたそうです。
公式サイトによると、改良点や新機能は以下の通りです。

  1. Improved performance: PHP 7 is up to twice as fast as PHP 5.6
  2. Significantly reduced memory usage
  3. Abstract Syntax Tree
  4. Consistent 64-bit support
  5. Improved Exception hierarchy
  6. Many fatal errors converted to Exceptions
  7. Secure random number generator
  8. Removed old and unsupported SAPIs and extensions
  9. The null coalescing operator (??)
  10. Return and Scalar Type Declarations
  11. Anonymous Classes
  12. Zero cost asserts

あとでちょっと試してみますね。