New Features in PHP 6.0 (And A Few Things About 5.3) : Bryan Alsdorf Manager of Support Systems Mysql, Inc
New Features in PHP 6.0 (And A Few Things About 5.3) : Bryan Alsdorf Manager of Support Systems Mysql, Inc
0 (and
a few things about 5.3)
Bryan Alsdorf
[email protected]
Manager of Support Systems
MySQL, Inc.
unicode!!!!
• Written by Rasmus
• See http://blog.felho.hu/what-is-new-in-php-53-part-2-late-static-binding.html
<?php
class ActiveRecord
{
public static function findByPk($id)
{
$calledClass = get_called_class();
// The magic happens here
}
}
Blog::findByPk(1);
?>
mysqlnd
• MySQL database driver written in the Zend Engine (nd == ‘native driver’)
• faster execution
• performance statistics
• [,-2] is from the start until the last two elements in the array/string
• [,] doesn't work on the left side of an equation (but does on the right side)
microtime
• magic quotes
• safe mode
• <%
thank you
Questions?
• http://www.gravitonic.com/downloads/talks/afup-2007/php-i18n.pdf
• http://php100.wordpress.com/2007/08/17/namespaces-faq/
• http://wiki.pooteeweet.org/index.php?area=PHPTODO&page=PhP60
• http://www.tuxmachines.org/node/22115