/PHP-5.6/ext/standard/tests/array/ |
H A D | array_map_variation12.phpt | 2 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 D | array_intersect_uassoc_variation9.phpt | 2 Test array_intersect_uassoc() function : usage variation - Passing non-existing function name to ca… 6 …tes the intersection of arrays with additional index check, compares indexes by a callback function 16 //function name within double quotes 19 //function name within single quotes 22 //function name without quotes 29 …c() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f… 32 …c() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f… 37 …c() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
|
H A D | array_intersect_ukey_variation8.phpt | 2 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 D | array_walk_recursive_variation9.phpt | 6 * 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 D | array_filter_error.phpt | 2 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 D | array_udiff_assoc_variation5.phpt | 2 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 …]
|
/PHP-5.6/ext/spl/tests/ |
H A D | bug65328.phpt | 27 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.6/ext/reflection/tests/ |
H A D | ReflectionMethod_getModifiers_basic.phpt | 19 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 D | ReflectionObject_getConstructor_basic.phpt | 2 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 D | ReflectionClass_getConstructor_basic.phpt | 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() {} 45 function __construct() {}
|
H A D | ReflectionFunction_getExtensionName.phpt | 5 function foo() {} 7 $function = new ReflectionFunction('sort'); 8 var_dump($function->getExtensionName()); 10 $function = new ReflectionFunction('foo'); 11 var_dump($function->getExtensionName());
|
/PHP-5.6/Zend/tests/ |
H A D | lsb_015.phpt | 5 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 D | bug33710.phpt | 8 function offsetExists($offset) {/*...*/} 9 function offsetGet($offset) {/*...*/} 10 function offsetSet($offset, $value) {/*...*/} 11 function offsetUnset($offset) {/*...*/} 13 function fail() 18 function succeed()
|
H A D | bug50383.phpt | 7 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 D | bug53958.phpt | 7 $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.6/ext/standard/tests/strings/ |
H A D | strtok_variation2.phpt | 16 $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.6/ext/soap/tests/interop/Round4/GroupG/ |
H A D | round4_groupG_dimedoc.inc | 4 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 D | round4_groupG_dimerpc.inc | 4 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.6/tests/lang/ |
H A D | 019.phpt | 6 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 D | 032.phpt | 6 function foo() {} 10 function foo() {} 14 function foo() {} 21 function foo() {} 27 function foo() {} 28 function foo() {}
|
/PHP-5.6/ext/session/tests/ |
H A D | session_set_save_handler_sid_001.phpt | 2 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 D | session_set_save_handler_sid_002.phpt | 2 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 D | session_module_name_variation2.phpt | 2 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.6/ext/spl/internal/ |
H A D | splfileobject.inc | 55 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 …]
|
/PHP-5.6/ext/date/tests/ |
H A D | gmmktime_variation7.phpt | 2 Test gmmktime() function : usage variation - Checking with few optional arguments. 20 echo "\n-- Testing gmmktime() function with one optional argument --\n"; 23 echo "\n-- Testing gmmktime() function with two optional argument --\n"; 26 echo "\n-- Testing gmmktime() function with three optional argument --\n"; 29 echo "\n-- Testing gmmktime() function with four optional argument --\n"; 32 echo "\n-- Testing gmmktime() function with five optional argument --\n"; 40 -- Testing gmmktime() function with one optional argument -- 43 -- Testing gmmktime() function with two optional argument -- 46 -- Testing gmmktime() function with three optional argument -- 49 -- Testing gmmktime() function with four optional argument -- [all …]
|