A nova versión 5.3 de PHP vén con moitas novidades. É unha desas versións polas que se leva esperando moito e que conleva moitos cambios. Outros cambios de versión da 4.2.x a 4.3.x ou 4.3 a 4.4 ou mesmo de 4.4 a 5.0 non crearon tanta expectación para min como a inclusión de namespaces, as función lambda (tan empregadas en javascript), melloras na SPL, ...
ou definir directivas do php.ini por dominio, wow!
[HOST=dev.site.com]
error_reporting = E_ALL
display_errors = On
The key features of PHP 5.3.0 include:
- Support for namespaces
- Late static binding
- Lambda Functions and Closures
- Syntax additions: NOWDOC, ternary short cut "?:" and jump label (limited goto), __callStatic()
- Under the hood performance improvements
- Optional garbage collection for cyclic references
- Optional mysqlnd PHP native replacement for libmysql
- Improved Windows support including VC9 and experimental X64 binaries as well as portability to other supported platforms
- More consistent float rounding
- Deprecation notices are now handled via
E_DEPRECATED(part ofE_ALL) instead of theE_STRICTerror level - Several enhancements to enable more flexiblity in php.ini (and ini parsing in general)
- New bundled extensions: ext/phar, ext/intl, ext/fileinfo, ext/sqlite3, ext/enchant
- Over 140 bug fixes and improvements to PHP, in particular to: ext/openssl, ext/spl and ext/date





