/PHP-7.0/ext/standard/tests/array/ |
H A D | usort_error2.phpt | 2 Test usort() function : error conditions - Pass unknown 'cmp_function' 6 * Description: Sort an array by values using a user-defined comparison function 11 * Pass an unknown comparison function to usort() to test behaviour. 18 function cmp($value1, $value2) 35 // With non existent comparison function 36 echo "\n-- Testing usort() function with non-existent compare function --\n"; 39 // With non existent comparison function and extra argument 40 echo "\n-- Testing usort() function with non-existent compare function and extra argument --\n"; 47 -- Testing usort() function with non-existent compare function -- 49 …ort() expects parameter 2 to be a valid callback, function 'non_existent' not found or invalid fun… [all …]
|
H A D | array_walk_variation8.phpt | 2 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 D | array_walk_recursive_variation8.phpt | 2 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 D | uasort_error.phpt | 2 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 D | array_filter_variation8.phpt | 2 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 D | array_map_variation10.phpt | 2 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 D | array_filter_variation4.phpt | 2 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 …]
|
/PHP-7.0/Zend/tests/ |
H A D | debug_backtrace_limit.phpt | 5 function a() { 9 function b() { 13 function c() { 29 [function] => c 43 [function] => c 54 [function] => b 68 [function] => c 79 [function] => b 90 [function] => a 104 [function] => c [all …]
|
H A D | bug29104.phpt | 7 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 D | method_exists_002.phpt | 7 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-7.0/ext/intl/tests/ |
H A D | ut_common.inc | 8 function ut_run() 37 function dump( $val ) 46 function ut_coll_create( $locale ) 86 function ut_coll_get_strength( $coll ) 118 function ut_coll_get_default() 122 function ut_coll_set_default( $coll ) 197 function ut_nfmt_get_pattern( $fmt ) 227 function ut_loc_get_default( ) 239 function ut_loc_get_script( $locale ) 243 function ut_loc_get_region( $locale ) [all …]
|
/PHP-7.0/tests/lang/ |
H A D | returnByReference.006.phpt | 2 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-7.0/tests/classes/ |
H A D | visibility_000a.phpt | 9 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 D | visibility_000b.phpt | 9 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 D | visibility_001a.phpt | 9 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 D | visibility_001b.phpt | 9 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 D | visibility_002a.phpt | 9 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 D | visibility_002b.phpt | 9 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 D | visibility_003b.phpt | 9 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-7.0/ext/soap/tests/interop/Round4/GroupI/ |
H A D | round4_groupI_xsd.inc | 4 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-7.0/ext/oci8/tests/ |
H A D | reflection1.phpt | 232 Function [ <internal%s> function oci_cancel ] { 239 Function [ <internal%s> function oci_fetch ] { 316 Function [ <internal%s> function oci_parse ] { 331 Function [ <internal%s> function oci_result ] { 360 Function [ <internal%s> function oci_close ] { 400 Function [ <internal%s> function oci_error ] { 777 Function [ <internal%s> function ocicancel ] { 784 Function [ <internal%s> function ocifetch ] { 823 Function [ <internal%s> function ociparse ] { 874 Function [ <internal%s> function ocilogon ] { [all …]
|
/PHP-7.0/Zend/tests/type_declarations/ |
H A D | add_return_type.phpt | 7 public function a(); 8 public function b(); 9 public function c(); 10 public function d(); 14 public function a() : stdClass; 15 public function c() : callable; 16 public function b() : array; 17 public function d() : int;
|
/PHP-7.0/ext/spl/tests/ |
H A D | CallbackFilterIteratorTest.phpt | 7 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 D | RecursiveCallbackFilterIteratorTest.phpt | 7 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-7.0/ext/session/tests/ |
H A D | session_set_save_handler_iface_002.phpt | 22 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 …]
|