Home
last modified time | relevance | path

Searched refs:function (Results 26 – 50 of 5095) sorted by relevance

12345678910>>...204

/PHP-5.5/ext/standard/tests/array/
H A Darray_walk_variation8.phpt2 Test array_walk() function : usage variations - buit-in function as callback
6 * Description: Apply a user function to every member of an array
11 * Passing different buit-in functionns as callback function
12 * pow function
13 * min function
21 echo "-- With 'pow' built-in function --\n";
24 echo "-- With 'min' built-in function --\n";
33 *** Testing array_walk() : built-in function as callback ***
34 -- With 'pow' built-in function --
36 -- With 'min' built-in function --
[all …]
H A Darray_walk_recursive_variation8.phpt2 Test array_walk_recursive() function : usage variations - buit-in function as callback
6 * Description: Apply a user function to every member of an array
11 * Passing different buit-in functionns as callback function
12 * pow function
13 * min function
21 echo "-- With 'pow' built-in function --\n";
24 echo "-- With 'min' built-in function --\n";
33 *** Testing array_walk_recursive() : built-in function as callback ***
34 -- With 'pow' built-in function --
36 -- With 'min' built-in function --
[all …]
H A Duasort_error.phpt2 Test uasort() function : error conditions
12 // comparison function
20 function cmp($value1, $value2)
37 echo "-- Testing uasort() function with Zero argument --\n";
49 // With non existent comparison function
50 echo "-- Testing uasort() function with non-existent compare function --\n";
54 echo "-- Testing uasort() function with non-existent compare function and extra argument --\n";
61 -- Testing uasort() function with Zero argument --
73 -- Testing uasort() function with non-existent compare function --
75 …ort() expects parameter 2 to be a valid callback, function 'non_existent' not found or invalid fun…
[all …]
H A Darray_filter_variation8.phpt2 Test array_filter() function : usage variations - Callback function with different return values
21 function callback1($input)
29 function callback2($input)
37 function callback3($input)
45 function callback4($input)
53 function callback5($input)
64 callback function with int return value
85 callback function with float return value
106 callback function with string return value
127 callback function with null return value
[all …]
H A Darray_map_variation10.phpt2 Test array_map() function : usage variations - anonymous callback function
14 echo "*** Testing array_map() : anonymous callback function ***\n";
19 echo "-- anonymous function with all parameters and body --\n";
22 echo "-- anonymous function with two parameters and passing one array --\n";
25 echo "-- anonymous function with NULL parameter --\n";
28 echo "-- anonymous function with NULL body --\n";
37 *** Testing array_map() : anonymous callback function ***
38 -- anonymous function with all parameters and body --
62 -- anonymous function with two parameters and passing one array --
98 -- anonymous function with NULL parameter --
[all …]
H A Darray_filter_variation4.phpt2 Test array_filter() function : usage variations - Different types of 'callback' function
23 // callback function without parameters and with return value
24 function callback1()
31 // callback function with parameter and without return value
32 function callback2($input)
40 function callback3()
46 // callback function with parameter and with return value
47 function callback4($input)
63 -- Callback function without parameter and with return --
85 -- Callback function without parameter and return --
[all …]
H A Darray_walk_recursive_variation7.phpt2 Test array_walk_recursive() function : usage variations - anonymous callback function
23 echo "-- Anonymous function with one argument --\n";
26 echo "-- Anonymous function with two arguments --\n";
29 echo "-- Anonymous function with three arguments --\n";
32 echo "-- Anonymous function with one more argument --\n";
35 echo "-- Anonymous function with null argument --\n";
41 -- Anonymous function with one argument --
51 -- Anonymous function with two arguments --
65 -- Anonymous function with three arguments --
83 -- Anonymous function with one more argument --
[all …]
H A Darray_walk_variation7.phpt2 Test array_walk() function : usage variations - anonymous callback function
23 echo "-- Anonymous function with one argument --\n";
26 echo "-- Anonymous function with two arguments --\n";
29 echo "-- Anonymous function with three arguments --\n";
32 echo "-- Anonymous function with one more argument --\n";
35 echo "-- Anonymous function with null argument --\n";
41 -- Anonymous function with one argument --
51 -- Anonymous function with two arguments --
65 -- Anonymous function with three arguments --
83 -- Anonymous function with one more argument --
[all …]
/PHP-5.5/tests/lang/
H A DreturnByReference.006.phpt2 Returning a reference from a function via another function
7 function returnConstantByValue() {
11 function &returnConstantByRef() {
15 function &returnVariableByRef() {
19 function &returnFunctionCallByRef($functionToCall) {
23 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
30 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
37 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
46 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
52 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
[all …]
/PHP-5.5/ext/soap/tests/interop/Round4/GroupI/
H A Dround4_groupI_xsd.inc4 function echoString($inputString)
13 function echoInteger($inputInteger)
18 function echoFloat($inputFloat)
23 function echoVoid()
27 function echoBase64($inputBase64)
36 function echoDate($timeInstant)
86 function echoHexBinary($hb)
95 function echoDecimal($dec)
147 function echoChoice($input)
156 function echoEnum($input)
[all …]
/PHP-5.5/tests/classes/
H A Dvisibility_000a.phpt9 function f0() {}
10 function f1() {}
11 public function f2() {}
12 protected function f3() {}
13 private function f4() {}
19 function f0() {}
20 public function f1() {}
21 public function f2() {}
22 protected function f3() {}
23 private function f4() {}
[all …]
H A Dvisibility_000b.phpt9 function f0() {}
10 function f1() {}
11 public function f2() {}
12 protected function f3() {}
13 private function f4() {}
19 function f0() {}
20 public function f1() {}
21 public function f2() {}
22 protected function f3() {}
23 private function f4() {}
[all …]
H A Dvisibility_001a.phpt9 function f0() {}
10 function f1() {}
11 public function f2() {}
12 protected function f3() {}
13 private function f4() {}
19 function f0() {}
20 public function f1() {}
21 public function f2() {}
22 protected function f3() {}
23 private function f4() {}
[all …]
H A Dvisibility_001b.phpt9 function f0() {}
10 function f1() {}
11 public function f2() {}
12 protected function f3() {}
13 private function f4() {}
19 function f0() {}
20 public function f1() {}
21 public function f2() {}
22 protected function f3() {}
23 private function f4() {}
[all …]
H A Dvisibility_002a.phpt9 function f0() {}
10 function f1() {}
11 public function f2() {}
12 protected function f3() {}
13 private function f4() {}
19 function f0() {}
20 public function f1() {}
21 public function f2() {}
22 protected function f3() {}
23 private function f4() {}
[all …]
H A Dvisibility_002b.phpt9 function f0() {}
10 function f1() {}
11 public function f2() {}
12 protected function f3() {}
13 private function f4() {}
19 function f0() {}
20 public function f1() {}
21 public function f2() {}
22 protected function f3() {}
23 private function f4() {}
[all …]
H A Dvisibility_003b.phpt9 function f0() {}
10 function f1() {}
11 public function f2() {}
12 protected function f3() {}
13 private function f4() {}
19 function f0() {}
20 public function f1() {}
21 public function f2() {}
22 protected function f3() {}
23 private function f4() {}
[all …]
/PHP-5.5/ext/oci8/tests/
H A Dreflection1.phpt231 Function [ <internal%s> function oci_cancel ] {
238 Function [ <internal%s> function oci_fetch ] {
315 Function [ <internal%s> function oci_parse ] {
330 Function [ <internal%s> function oci_result ] {
359 Function [ <internal%s> function oci_close ] {
399 Function [ <internal%s> function oci_error ] {
776 Function [ <internal%s> function ocicancel ] {
783 Function [ <internal%s> function ocifetch ] {
822 Function [ <internal%s> function ociparse ] {
873 Function [ <internal%s> function ocilogon ] {
[all …]
/PHP-5.5/Zend/tests/
H A Dbug29104.phpt7 function g()
9 echo "function g - begin\n";
11 function f()
13 echo "function f\n";
16 echo "function g - end\n";
25 function g - begin
26 function g - end
27 function f
H A Dmethod_exists_002.phpt7 static public function stat_a2() {
9 static private function stat_b2() {
11 static protected function stat_c2() {
14 private function method_a() {
16 protected function method_b() {
18 public function method_c() {
25 static public function stat_a() {
27 static private function stat_b() {
32 private function method_a() {
34 protected function method_b() {
[all …]
/PHP-5.5/ext/spl/tests/
H A DCallbackFilterIteratorTest.phpt7 function test($value, $key, $inner) {
13 static function test($value, $key, $inner) {
18 function test($value, $key, $inner) {
29 'instance method' => function() { return array(new A, 'test'); },
30 'static method' => function() { return array('B', 'test'); },
31 'static method (2)' => function() { return 'B::test'; },
32 'function' => function() { return 'test'; },
33 …'anonymous function' => function() { return function($value, $key, $inner) { return test($value, $…
104 = function =
119 = anonymous function =
H A DRecursiveCallbackFilterIteratorTest.phpt7 function test($value, $key, $inner) {
13 static function test($value, $key, $inner) {
18 function test($value, $key, $inner) {
32 'instance method' => function() { return array(new A, 'test'); },
33 'static method' => function() { return array('B', 'test'); },
34 'static method (2)' => function() { return 'B::test'; },
35 'function' => function() { return 'test'; },
36 …'anonymous function' => function() { return function($value, $key, $inner) { return test($value, $…
109 = function =
124 = anonymous function =
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_iface_002.phpt22 public function open($path, $name);
23 public function close();
24 public function read($id);
25 public function write($id, $data);
26 public function destroy($id);
27 public function gc($maxlifetime);
41 public function close() {
45 public function read($id) {
53 public function destroy($id) {
57 public function gc($maxlifetime) {
[all …]
/PHP-5.5/scripts/dev/
H A Dgenerate-phpt.phar278 The function name is not a valid PHP function name.
1318 public static function getInstance($optionalSections, $type = 'function') {
1599 public function setFunction($function) {
1659 public function setFunction($function) {
1719 public function setUp(gtfunction $function, $argumentNumber, $variationData) {
1768 protected $function;
1780 public function setFunction(gtFunction $function) {
1781 $this->function = $function;
1878 public static function getInstance($optionalSections, $type = 'function') {
1924 public static function getInstance ($optionalSections, $type = 'function') {
[all …]
/PHP-5.5/ext/reflection/tests/
H A DReflectionObject_isInstantiable_variation.phpt7 public static function reflectionObjectFactory() {
13 public function __construct() {}
14 public static function reflectionObjectFactory() {
20 protected function __construct() {}
21 public static function reflectionObjectFactory() {
27 private function __construct() {}
28 public static function reflectionObjectFactory() {
34 public function publicCtorOld() {}
35 public static function reflectionObjectFactory() {
41 protected function protectedCtorOld() {}
[all …]

Completed in 51 milliseconds

12345678910>>...204