Home
last modified time | relevance | path

Searched refs:function (Results 76 – 100 of 5863) sorted by relevance

12345678910>>...235

/PHP-5.5/ext/standard/tests/array/
H A Darray_intersect_ukey_variation8.phpt2 Test array_intersect_ukey() function : usage variation - Passing non-existing function name to call…
6 …* Description: Computes the intersection of arrays using a callback function on the keys for compa…
16 //function name within double quotes
19 //function name within single quotes
22 //function name without quotes
29 …y() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
32 …y() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
37 …y() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
H A Darray_map_variation12.phpt2 Test array_map() function : usage variations - built-in function as callback
11 * Test array_map() by passing buit-in function as callback function
14 echo "*** Testing array_map() : built-in function ***\n";
19 echo "-- with built-in function 'pow' and two parameters --\n";
22 echo "-- with built-in function 'pow' and one parameter --\n";
31 *** Testing array_map() : built-in function ***
32 -- with built-in function 'pow' and two parameters --
41 -- with built-in function 'pow' and one parameter --
58 …ray_map() expects parameter 1 to be a valid callback, function 'echo' not found or invalid functio…
H A Darray_walk_recursive_variation9.phpt6 * Description: Apply a user function to every member of an array
20 echo "-- callback function with both parameters --\n";
21 function callback_two_parameter($value, $key)
31 echo "-- callback function with only one parameter --\n";
32 function callback_one_parameter($value)
41 echo "-- callback function without parameters --\n";
42 function callback_no_parameter()
55 -- callback function with both parameters --
69 -- callback function with only one parameter --
79 -- callback function without parameters --
[all …]
H A Darray_filter_error.phpt2 Test array_filter() function : error conditions
13 echo "-- Testing array_filter() function with Zero arguments --";
17 /* callback function
23 function odd($input)
30 echo "-- Testing array_filter() function with more than expected no. of arguments --";
33 // with incorrect callback function
34 echo "-- Testing array_filter() function with incorrect callback --";
41 -- Testing array_filter() function with Zero arguments --
44 -- Testing array_filter() function with more than expected no. of arguments --
47 -- Testing array_filter() function with incorrect callback --
[all …]
H A Darray_udiff_assoc_variation5.phpt2 Test array_udiff_assoc() function : usage variation - incorrect comparison functions
6 … but do additional checks whether the keys are equal. Keys are compared by user supplied function.
17 echo "\n-- comparison function with an incorrect return value --\n";
18 function incorrect_return_value ($val1, $val2) {
23 echo "\n-- comparison function taking too many parameters --\n";
24 function too_many_parameters ($val1, $val2, $val3) {
29 echo "\n-- comparison function taking too few parameters --\n";
30 function too_few_parameters ($val1) {
41 -- comparison function with an incorrect return value --
47 -- comparison function taking too many parameters --
[all …]
H A Darray_diff_ukey_variation10.phpt2 Test array_diff_ukey() function : usage variation - Passing non-existing function name to callback
16 //function name within double quotes
19 //function name within single quotes
22 //function name without quotes
30 …y() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
33 …y() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
38 …y() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
/PHP-5.5/
H A DREADME.EXTENSIONS17 foo_functions, /* extension function list */
18 NULL, /* extension-wide startup function */
19 NULL, /* extension-wide shutdown function */
20 PHP_RINIT(foo), /* per-request startup function */
21 PHP_RSHUTDOWN(foo), /* per-request shutdown function */
22 PHP_MINFO(foo), /* information function */
34 foo_functions, /* extension function list */
35 NULL, /* extension-wide startup function */
37 PHP_RINIT(foo), /* per-request startup function */
38 PHP_RSHUTDOWN(foo), /* per-request shutdown function */
[all …]
/PHP-5.5/ext/spl/tests/
H A Dbug65328.phpt27 public function getHead()
36 public function find($uid)
71 public function getIterator()
140 public function getUid()
181 public function getData()
227 public function current()
235 public function key()
243 public function next()
251 public function rewind()
259 public function valid()
[all …]
/PHP-5.5/ext/reflection/tests/
H A DReflectionMethod_getModifiers_basic.phpt19 public function foo() {
23 static function stat() {
27 private function priv() {
31 protected function prot() {}
33 public final function fin() {}
39 public function __clone() {}
41 public function __get($a) {}
51 public function __sleep() {}
63 public function int();
64 public function __clone();
[all …]
H A DReflectionObject_getConstructor_basic.phpt2 ReflectionObject::getConstructor() - basic function test
6 function __construct() {}
13 function OldCtor() {}
21 function Y() {}
28 function OldAndNewCtor() {}
29 function __construct() {}
33 function __construct() {}
34 function NewAndOldCtor() {}
37 function B() {}
41 function C() {}
[all …]
H A DReflectionClass_getConstructor_basic.phpt6 function __construct() {}
13 function OldCtor() {}
21 function Y() {}
28 function OldAndNewCtor() {}
29 function __construct() {}
33 function __construct() {}
34 function NewAndOldCtor() {}
37 function B() {}
41 function C() {}
45 function __construct() {}
H A DReflectionFunction_getExtensionName.phpt5 function foo() {}
7 $function = new ReflectionFunction('sort');
8 var_dump($function->getExtensionName());
10 $function = new ReflectionFunction('foo');
11 var_dump($function->getExtensionName());
/PHP-5.5/ext/standard/tests/strings/
H A Dstrtok_variation2.phpt16 $str = 'this testcase test strtok() function ';
24 public function __toString() {
111 string(37) "this testcase test strtok() function "
113 string(37) "this testcase test strtok() function "
115 string(37) "this testcase test strtok() function "
117 string(37) "this testcase test strtok() function "
119 string(37) "this testcase test strtok() function "
121 string(37) "this testcase test strtok() function "
123 string(37) "this testcase test strtok() function "
125 string(37) "this testcase test strtok() function "
[all …]
/PHP-5.5/Zend/tests/
H A Dlsb_015.phpt5 function foo() {
9 public static function bla() {
12 public static function getException() {
19 public static function throwException_after() {
22 public static function throwException() {
25 public static function test() {
28 public static function who() {
32 public static function mycatch() {
48 public static function simpleCatch() {
59 public static function who() {
H A Dbug33710.phpt8 function offsetExists($offset) {/*...*/}
9 function offsetGet($offset) {/*...*/}
10 function offsetSet($offset, $value) {/*...*/}
11 function offsetUnset($offset) {/*...*/}
13 function fail()
18 function succeed()
H A Dbug50383.phpt7 public static function __callStatic($method, $args) {
10 public function __call($method, $args) {
15 function thrower() {
18 function thrower2() {
46 [function] => __callStatic
64 [function] => ThrowException
77 [function] => thrower
92 [function] => __call
110 [function] => foo
123 [function] => thrower2
H A Dbug53958.phpt7 $fn1 = function() use ($a) {echo "$a\n"; $a++;};
8 $fn2 = function() use ($a) {echo "$a\n"; $a++;};
17 $fn1 = function() use (&$b) {echo "$b\n"; $b++;};
18 $fn2 = function() use (&$b) {echo "$b\n"; $b++;};
27 $fn1 = function() use (&$c) {echo "$c\n"; $c++;};
28 $fn2 = function() use ($c) {echo "$c\n"; $c++;};
37 $fn1 = function() use ($d) {echo "$d\n"; $d++;};
38 $fn2 = function() use (&$d) {echo "$d\n"; $d++;};
/PHP-5.5/ext/soap/tests/interop/Round4/GroupG/
H A Dround4_groupG_dimedoc.inc4 function EchoBase64AsAttachment($in) {
8 function EchoAttachmentAsBase64($in) {
12 function EchoAttachment($in) {
16 function EchoAttachments($in) {
20 function EchoAttachmentAsString($in) {
24 function EchoUnrefAttachments($in) {
H A Dround4_groupG_dimerpc.inc4 function EchoBase64AsAttachment($in) {
8 function EchoAttachmentAsBase64($in) {
12 function EchoAttachment($in) {
16 function EchoAttachments($in) {
20 function EchoAttachmentAsString($in) {
24 function EchoUnrefAttachments($in) {
/PHP-5.5/tests/lang/
H A D019.phpt6 eval("function test() { echo \"hey, this is a function inside an eval()!\\n\"; }");
18 hey, this is a function inside an eval()!
20 hey, this is a function inside an eval()!
22 hey, this is a function inside an eval()!
24 hey, this is a function inside an eval()!
26 hey, this is a function inside an eval()!
28 hey, this is a function inside an eval()!
30 hey, this is a function inside an eval()!
32 hey, this is a function inside an eval()!
34 hey, this is a function inside an eval()!
[all …]
H A D032.phpt6 function foo() {}
10 function foo() {}
14 function foo() {}
21 function foo() {}
27 function foo() {}
28 function foo() {}
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_sid_001.phpt2 Test session_set_save_handler() function: create_sid
13 echo "*** Testing session_set_save_handler() function: create_sid ***\n";
18 public function open($path, $name) {
26 public function close() {
30 public function read($id) {
34 public function write($id, $data) {
38 public function destroy($id) {
42 public function gc($maxlifetime) {
51 public function create_sid() {
75 *** Testing session_set_save_handler() function: create_sid ***
H A Dsession_set_save_handler_sid_002.phpt2 Test session_set_save_handler() function: create_sid
13 echo "*** Testing session_set_save_handler() function: create_sid ***\n";
18 public function open($path, $name) {
26 public function close() {
30 public function read($id) {
34 public function write($id, $data) {
38 public function destroy($id) {
42 public function gc($maxlifetime) {
51 public function create_sid() {
75 *** Testing session_set_save_handler() function: create_sid ***
H A Dsession_module_name_variation2.phpt2 Test session_module_name() function : variation
18 function open($save_path, $session_name) { }
19 function close() { }
20 function read($id) { }
21 function write($id, $session_data) { }
22 function destroy($id) { }
23 function gc($maxlifetime) { }
/PHP-5.5/ext/spl/internal/
H A Dsplfileobject.inc55 function eof()
63 function fgets()
127 function fflush()
135 function ftell()
155 function fgetc()
202 function fstat()
266 function rewind()
275 function valid()
284 function current()
301 function key()
[all …]

Completed in 33 milliseconds

12345678910>>...235