PHP Function List
function.n doesn't exist. Closest matches:
- rename_function
- function_exists
- create_function
- swfaction
- reflection
- override_function
- reflectionfunction
- runkit_function_rename
- swf_enddoaction
- swf_oncondition
- runkit_function_add
- runtimeexception
- outofboundsexception
- runkit_function_copy
- badfunctioncallexception
- runkit_function_redefine
- ftruncate
- exception
- swfbutton
- yaf_exception
Site Search Results
-
The following are recognized as single line breaks, and are replaced using this function: \r, \n, \r\n, <BR>, <br>, <br/>, <br />, and any combination of a single tag with any quantity of \r, \n, \r\n following it. convert_line_breaks.php <?php /**
-
if (function_exists ($h-> lamda)) { print "Its a function\n"; } else { print "No it isnt"; } ?> It creates a function which $h->lamda points to. Under PHP4 you could simply add an argument $this which meant it *behaved* like a method (though it existed ...
-
function n_abs ($v) { return ~ abs ($v) + 1; }?> A NOT operation on any number with a sign bit will produce the negative of that number minus one. All we need to do is add one. Voila! Speed test results (30000 iterations of various methods) produced ...
-
$that-> test = "Source Anonymous Function Scope: wow! Object attribute modified from inside anonymous function\n"; $outscope = "Source Anonymous Function Scope: yey! Variable Modified from the scope of an anonymous function!\n";
-
echo "But the functions declared inside of a require called from a class function, just as when defined from inside any other function, are always global\n";}?> <mainfile.php>: <?php error_reporting (E_ALL | E_STRICT); class UserClass { protected $a
-
Wrote up my own key preservation function for array mapping. It allows n arguments to be passed, and should be easy enough to follow if you need to make any mods. If you've got any thoughts let me know. <?php /** * arrayMap ...
-
$item1 = " $prefix: $item1 ";} function test_print ($item2, $key) { echo " $key. $item2 <br />\n";} echo "Before ...:\n"; array_walk ($fruits, 'test_print'); array_walk ($fruits, 'test_alter', 'fruit'); echo "... and after:\n"; array_walk ($fruits, 'test_print');?>
-
function DownloadToString () { $crlf = "\r\n"; // generate request $req = 'GET ' . $this-> _uri . ' HTTP/1.0' . $crlf . 'Host: ' . $this-> _host . $crlf . $crlf; // fetch $this-> _fp = fsockopen (($this-> ...
-
if (! function_exists ('')) { echo "empty string function doesnt exist as compared as negative\n"; } if (! function_exists (NULL)) { echo "NULL function doesnt exist as compared as negative\n"; }?> Works.
-
Multiple extra headers should be separated with a CRLF (\r\n) I have found out when developing a function sending a text/html multipart message that multiple headers are better separated by \n instead of \r\n. I have used \r\n only in te last one. This ...

Other forms of search
To search the string "function.n" 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.
