I was looking to my bookmarks and wow found this very nice slides show about the PHP 5 Magic function. I think it is worth sharing, and is quite help full for the PHP OOPs beginners
A project started to share my PHP experiences and the content from the web to give the user one stop search for the PHP resources. And always working for the betterment :)
Showing posts with label tips. Show all posts
Showing posts with label tips. Show all posts
Sunday, April 24, 2011
Nice silde show about the PHP 5 Magic Methods
Labels:
Classes,
slideshows,
tips
Monday, April 18, 2011
The difference between the "isset", "empty" and "is_null"
Most the times I have noticed the beginners are confused in testing the variable, whether it contains some data or not. Most of the time these checks fail as the wrong function is being used to assert the correct value. While it is important to be checking values, it is equally important to understand the difference between the different methods of checking and testing values for empty, null, or if they are set.
The following difference chart between "isset", "empty" and "is_null" will be quite helpful for everyone.
The following difference chart between "isset", "empty" and "is_null" will be quite helpful for everyone.
Sunday, April 17, 2011
PHP type comparison tables
It is sometimes hard to determine the type of the given variable while comparing it. So this table might help lot in such cases.
Labels:
tips
Subscribe to:
Posts (Atom)