Recursive Functions Recursive functions, or functions that call themselves, offer considerable practical value to the programmer and a...
Functions in php – Part 3
Using Type Hinting PHP 5 introduced a new feature known as Type hinting , which gives you the ability to force parameters to be object...
Functions in php – Part 2
Passing Arguments by Value You‘ll often find it useful to pass data into a function . As an example, let’s create a function that calcu...
Functions in php – Part 1
You’ll often find that some tasks are comprised of bits of logic which can be reused elsewhere, not only within the same application bu...
Conversion Specifier for printf() and sprintf()
You have already been told about the Type specifiers for printf() and scanf(). Now here’s the complete list of conversion specifiers fo...
PHP Basics – Part 8 :: Control Structures – Part 4
File-Inclusion Statements Efficient programmers are always thinking in terms of ensuring reusability and modularity. The most prevalent...
PHP Basics - Part 4 :: continued
Converting Between Data Types Using Type Casting Converting values from one datatype to another is known as type casting. A variable ...
PHP Basics - Part 3 :: Outputting Data to the Browser
Of course, even the simplest of dynamic web sites will output data to the browser, and PHP offers several methods for doing so. Note...
PHP’s CONFIGURATION DIRECTIVES - Part 3
PHP’s CONFIGURATION DIRECTIVES The directives are introduced as they appear in php.ini file. This might be boring, but it's needed...
PHP’s CONFIGURATION DIRECTIVES - Part 2
The directives are introduced as they appear in php.ini file. This might be boring, but it's needed so read it carefully. Have it yo...