|
|
|
|
|
Something like :
#ifndef _STDIO_H
#define _STDIO_H
...
#endif
in C, would look like :
if (!isset($_STDIO_INC)):
$_STDIO_INC=1;
function foo()
{
...
}
function bar()
{
...
}
...
endif;
in PHP3.
|
|
| How to control the number of decimal places when outputting numbers. Categories : PHP, Strings, Variables | | | This functions compares the current PHP version with a
desired version. Because of the 3 tiered version system, a
direct compare of a string to phpversion() will not be
accurate. Categories : PHP Configuration, PHP, Variables | | | Global Dump Highlighted Categories : PHP, Variables, Global Variables | | | serialize -- Generates a storable representation of a value Categories : PHP, PHP Functions, Variables | | | Simple script to passing persistent and growing array between recalls of one page (manipulate little stack). Categories : Arrays, Global Variables, PHP, HTML and PHP, Variables | | | Pageinfo: Array containing page URI, page query string (parameters), request method (GET or POST) and the complete URI Categories : Variables, PHP Options and Info, Arrays, URLs, PHP | | | getting the name of the current script and query string Categories : PHP, Global Variables, Variables, URLs | | | Newbie Notes #5 - To double quote, or single quote, that is the question Categories : PHP, Beginner Guides, Variables | | | Variable serialization and unserialization. Loading and saving variable structures
to and from file. Categories : Arrays, Filesystem, Variables, Strings, PHP | | | Automatic global variable definer Categories : PHP, Variables, Beginner Guides | | | A quick way set data from a form to a function or other places where you can lose scope. Categories : PHP, HTML and PHP, Variables | | | The following snippet gives complete info about all submitted
HTTP_POST_VARS and HTTP_GET_VARS Categories : Variables, HTTP, PHP | | | Display variables when a form is submitted using POST/GET Categories : PHP, Functions, Variables, Debugging | | | clearing variables in php3 Categories : Variables, Arrays, PHP | | | How to implement a session tracking system. Categories : PHP, Sessions, Variables | |
| |
| |
|