News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
PHP Functions
August 01, 2006 @ 09:52:57

DevShed shares some basic PHP knowledge today with this new tutorial, an introduction to functions in PHP. This time, they're specifically focusing on custom function creation.

If you're looking for a way to save time when you program, look no further. Creating functions lets you reuse code that you've used before without having to rewrite the whole thing.

This will save you time and make programming easier, especially as websites become more complex. Another advantage of a function is that it executes wherever and whenever you call it, in the same way that print() displays text.

They start off basic, defining what a "user defined function" is before moving on to arguments in their use. They include the method to define default values and how to return values once the function is through.

0 comments voice your opinion now!
tutorial introduction function variable default return tutorial introduction function variable default return


blog comments powered by Disqus

Similar Posts

Sameer Borate's Blog: Refactoring 3: Replace Temp with Query

Justin Carmony's Blog: SMS Nagios Notifications with PHP & Twilio

PHPBuilder.com: Import MS Access Data to MySQL 5

Sudheer Satyanarayana's Blog: XML RPC Client Using PHP PEAR - A Real World Example: Ping Technorati

Carson McDonald's Blog: Google OAuth for Installed Apps PHP Example


Community Events





Don't see your event here?
Let us know!


podcast community install framework experience code refactor testing list symfony2 language series release unittest developer interview laravel introduction opinion threedevsandamaybe

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework