PHP Language - Builtin Functions

PHP
PHP Information

The PHP Array Function star
A PHP array is a special type of variable that stores and organizes data. What makes an array variable special is that it can store more than one value; in fact, you can store as many values in one array as you need. It is very easy to create a new array using the PHP array function.

The PHP Date Function star
The PHP date() function is one of the most useful built-in functions. There are many uses for the PHP built-in date() function. You can use it to simply collect and display the current date and time on you webpages. You can also use the date() function as a timestamp in your PHP programs.

The PHP Date Function Format Chart star
PHP date() function is one of the most useful built-in functions. Below is the syntax and description for the various format controls.

The PHP Getdate Function star
Working with time is a frequent task for most PHP programs. In a shopping cart program you would want to store the date and time of a purchase made by your customer. One way to do this is to store them in a Unix timestamp and use the getdate function to display the information on a webpage.

The PHP Mktime Function star
You can use PHP to easily find the current, local time and date but you do not always want to work with the current or actual time. In many cases, you will need to work with a specific, arbitrary date and time. To work with this specific time and date, you first use the built-in PHP mktime function.

The PHP Printf Function And Type Specifiers star
The PHP printf( ) function works much like the print( ) function in that it outputs (prints) a string (argument) to the web browser. However, you will use the printf( ) function when you want to control how this argument will be formatted.

The PHP Strtotime Function star
The PHP strtotime function is used to store a Unix timestamp as a value of a variable. But what makes this PHP function so versatile is the list of human keywords and abbreviations that you can use to create a specific timestamp.

Editor's Picks Articles
Top Ten Articles
Previous Features
Site Map







Content copyright © 2018 by . All rights reserved.
This content was written by . If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.