Archive

Posts Tagged ‘Optional Arguments’

Using Optional Argument with User Defined Functions in PHP

March 11th, 2010 Mehmatrix No comments

Hi everybody. After a long time, I am here again with my new articles. I thought it can be good to start with a little clue for PHP coders.

Usage of PHP functions is so easy and practical. However, usually we need to write our own functions while we are making our applications.

1.1) User Defined Functions in PHP

Structure 1.0:

1
2
3
4
5
6
7
<?php
function FunctionName( arguments ){

//php codes

}
?>

The function ends when return() statement is executed. Click to Read Complete Article »

Bookmark and Share
eXTReMe Tracker