About Me

My photo
Kolkata - Durgapur - Santiniketan - Sainthia, West Bengal, India
A competent professional of about 3 Years of Experience in the Web Application and Development Scenario. Currently associated with also a web development company; Kolkata as a Project Leader. A result-oriented Team Player with proven expertise in Analysis / Development / Research / Project & Process Management/ Client Servicing. Exceptional analysis and problem solving skills to cut across the organisational levels and accomplish project business goals of the Organisation. Myself, very hardworking, committed, focused, think logically, talented, sincere on my work, doesn't stop until achieves success.

Saturday, August 28, 2010

New thing introduced in PHP 5.3

When PHP5.3 was released, and when I go for test several old developed projects mainly open-source on their compatibility with this new version. To my surprise a lot of them are not. To detect the use of these deprecated features the new error level E_DEPRECATED has been introduced in PHP5.3. This enables developers to detect incompatibilies with the future release and learn how to improve their code. Because one can set the error reporting level, the deprecated messages can be switched off. This way developers are not required to immediately adapt their code, if they want to use PHP5.3.

Now comes to the point of what's new in the php 5.3, let’s take a look.

New language (syntax) features
  • Namespaces
  • Closures
  • Compile time constants
  • late static binding
  • New operators
  • ?:
  • goto
  • NOWDOC syntax, HEREDOC with quotes
  • dynamic static calls

New functionality
  • New extensions
  • SQLite 3, fileinfo, intl, enchant, phar
  • Added “Unix” functions to Windows
  • fnmatch, symlink, readlink, time_sleep_until,
  • stream_socket_pair, …
  • Improved SPL functionality
  • Improved php.ini handling
  • E_DEPRECATED error level
  • etc...

Infrastructure improvements
  • Improved php.ini handling
  • FastCGI always available with CGI SAPI
  • New support for litespeed http server
  • mysqlnd as PHP-specific replacement for libmysql
  • Improved performance

No comments:

Post a Comment

Popular Posts