Changes - php5


Speaking of changes, i’ve been noticing a lot of them creeping up in php5, i’m going to try to start blogging some of the biggest backwards compatiblity breaks.

Todays is the get_class() method now returns class names with matching case.

This breaks its standard use

if (get_class($object) == “phpdocumentor”))
{
echo “were good”;
}

Thanks goto Greg Beaver for bringing this to my and PEARs attention

Leave a Reply

This circle expands additional navigation
You should really buy my AJAX book.
You'll learn not only the technology you need for implementation but also an understanding that will help you get the most from AJAX.
You'll also have my eternal thanks :-)