PHP Function List
define. doesn't exist. Closest matches:
- define
- defined
- decbin
- isuserdefined
- die
- pdf_lineto
- pdf_new
- swf_defineline
- swf_definefont
- swf_definetext
- dirname
- swf_definerect
- swf_definepoly
- recode_file
- ocidefinebyname
- file
- datetime
- md5_file
- readline
- readfile
Site Search Results
-
Parameters. name. The name of the constant. value. The value of the constant; only scalar and null values are allowed. Scalar values are integer, float, string or ...
-
This can be useful if you want to protect pages which get included from outsiders eyes, on your mail page (the page viewable by people) put define("X", null); then on all your ...
-
I advise you to NOT use this in an included file, in a function or elsewhere outside the scope where the define('TRACE',TRUE) is placed) : if (TRACE) {}
-
define ('≈PI×3÷2', ≈PI + ≈PI÷2); // 270 degrees ≈ 4.71238898 radians define ('≈270°', ≈PI×3÷2); define ('≈PI×2', ≈PI * 2); // 360 degrees = 2π radians ≈ 6 ...
-
So, if you want to define a constant in a namespace, you will need to specify the namespace in your call to define(), even if you're calling define() from within a namespace.
-
Even if the included file seems to define global variables, they might not be defined as such. consider those two files: ---index.php----- <?php
-
/* Define Function */ function plus ($a, $b){$c = $a + $b; echo "$a+$b=$b </br>";} //calling fucntion plus (2, 3); //setting variable function $vars = 'plus'; $vars (2, 3); //same as plus(2,3);
-
else define ( "PATH_SEPARATOR", ":" ); } ?> For older versions of php, PATH_SEPARATOR is not defined. If it is so, we must check what kind of OS is on the web-server and define PATH ...
-
get_defined_constants - ManualYou'll need to erase the array and rerun the code if you define any new constants. But I found it handy when I wanted to use a couple of my defined constants in HEREDOC syntax.
-
#define CLIENT_FOUND_ROWS 2 /* Found instead of affected rows */ #define CLIENT_LONG_FLAG 4 /* Get all column flags */ #define CLIENT_CONNECT_WITH_DB 8 /* One can specify db on connect */

Other forms of search
To search the string "define." using other options, try searching:
- Only the documentation
- Only this mirror
- The entire php.net domain
- pear.php.net
- pecl.php.net
- The Bug DB
- php-general mailing list
- Internals mailing list
- Documentation mailing list
For a quick overview over all documented PHP functions, click here.
