Now a days PHP 6 is a very popular term among all php developers.

Also several books in the market have already written about PHP 6 such as PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition) (link).

Ten Main Features in PHP 6 are as follows:

  1. Internationalization: Native Unicode – UTF-8 – to the core (strings, APIs).
  2. Performance: Page level (opcode) caching through moving Alternative PHP Cache (APC) into the PHP core. Native application caching.
  3. Break to label: Sending a break to a label (like a goto).
  4. Enhanced array indexing: Array indexing can be used to substring or take an array slice.
  5. Namespaces 
  6. Late static binding
  7. Mysqlnd  – nd for Native Driver
  8. Foreach on multidimensional arrays
  9. Removed features – register globals, magic quotes, safe mode,  ereg removed from the core
  10. Calling dynamic functions statically throws E_ERROR

Please pen down your thoughts in comments if I missed any features

Check out my previous post on  New features in PHP 5.4 version

Thanks

If you enjoyed this article, Get email updates (It’s Free)
http://w3lessons.info/wp-content/uploads/2011/12/IMG_29591-1024x711.jpghttp://w3lessons.info/wp-content/uploads/2011/12/IMG_29591-150x150.jpgKarthikeyan KPHPphp
Now a days PHP 6 is a very popular term among all php developers.Also several books in the market have already written about PHP 6 such as PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition) (link). Ten Main Features in PHP 6 are as follows:Internationalization: Native...