/PHP-5.6/ext/standard/tests/array/ |
H A D | array_diff_ukey_variation10.phpt | 2 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…
|
H A D | array_uintersect_assoc_variation5.phpt | 2 Test array_uintersect_assoc() function : usage variation - differing comparison functions 16 echo "\n-- comparison function with an incorrect return value --\n"; 17 function incorrect_return_value ($val1, $val2) { 22 echo "\n-- comparison function taking too many parameters --\n"; 23 function too_many_parameters ($val1, $val2, $val3) { 28 echo "\n-- comparison function taking too few parameters --\n"; 29 function too_few_parameters ($val1) { 40 -- comparison function with an incorrect return value -- 44 -- comparison function taking too many parameters -- 50 -- comparison function taking too few parameters --
|
H A D | array_filter_variation7.phpt | 2 Test array_filter() function : usage variations - anonymous callback functions 18 // anonymous callback function 19 echo "Anonymous callback function with regular parameter and statement\n"; 22 // anonymous callback function with reference 23 echo "Anonymous callback function with reference parameter\n"; 26 // anonymous callback function with null argument 30 // anonymous callback function with argument and null statement 31 echo "Anonymous callback function with regular argument and null statement\n"; 38 Anonymous callback function with regular parameter and statement 47 Anonymous callback function with reference parameter [all …]
|
/PHP-5.6/ext/standard/tests/filters/ |
H A D | php_user_filter_01.phpt | 6 function filter($in, $out, &$consumed, $closing) {} 7 function onCreate() {} 8 function onClose() {} 11 function filter($in, $out, &$consumed) {} 12 function onCreate() {} 13 function onClose() {}
|
/PHP-5.6/ext/reflection/tests/ |
H A D | ReflectionFunction_getExtension.phpt | 5 function foo () {} 7 $function = new ReflectionFunction('sort'); 8 var_dump($function->getExtension()); 10 $function = new ReflectionFunction('foo'); 11 var_dump($function->getExtension());
|
H A D | ReflectionClass_isIterateable_basic.phpt | 9 public function __construct() { } 10 public function key() {} 11 public function current() {} 12 function next() {} 13 function valid() {} 14 function rewind() {} 19 function dump_iterateable($class) {
|
/PHP-5.6/Zend/tests/ |
H A D | bug30828.phpt | 6 function __construct() { 10 print $t['class'].$t['type'].$t['function']."\n"; 14 function foo() { 18 print $t['class'].$t['type'].$t['function']."\n"; 22 static function bar() { 26 print $t['class'].$t['type'].$t['function']."\n"; 32 function __construct() { 36 function foo() { 40 static function bar() {
|
H A D | bug48770.phpt | 9 public function func($str) { 12 private function func2($str) { 15 protected function func3($str) { 18 private function func22($str) { 24 public function func($str) { 34 private function func2($str) { 37 protected function func3($str) { 43 public function func($str) {
|
H A D | ns_040.phpt | 9 function f1($x=A) { 12 function f2($x=\X\A) { 15 function f3($x=Y\A) { 18 function f4($x=\X\A) { 21 function f5($x=B) { 24 function f6($x=array(A)) { 27 function f7($x=array("aaa"=>A)) { 30 function f8($x=array(A=>"aaa\n")) {
|
H A D | bug72496.phpt | 7 private function getFoo() 12 private function getBar() 17 private function getBaz() 25 public function getFoo($extraArgument) 30 protected function getBar($extraArgument) 35 private function getBaz($extraArgument)
|
H A D | get_class_methods_002.phpt | 7 function a(); 8 function b(); 12 public function a() { } 13 public function b() { } 15 public function __construct() { 20 public function __destruct() { }
|
/PHP-5.6/Zend/tests/traits/ |
H A D | bug60717.phpt | 10 function text($text); 11 function attributes(array $attributes = null); 12 function textArea(array $attributes = null, $value); 17 function text($text) {} 22 function textArea(array $attributes = null, $value) {} 23 abstract function attributes(array $attributes = null); 24 abstract function text($text); 29 function attributes(array $attributes = null) { } 30 abstract function text($text);
|
/PHP-5.6/ext/date/tests/ |
H A D | gmdate_variation10.phpt | 2 Test gmdate() function : usage variation - Passing Timezone format options to format argument. 17 echo "\n-- Testing gmdate() function with Timezone identifier format --\n"; 25 echo "\n-- Testing gmdate() function with difference to GMT in hours format --\n"; 33 echo "\n-- Testing gmdate() function with timezone abbreviation format --\n"; 37 echo "\n-- Testing gmdate() function with timezone offset format --\n"; 46 -- Testing gmdate() function with Timezone identifier format -- 50 -- Testing gmdate() function with checking whether date is in daylight saving time format -- 54 -- Testing gmdate() function with difference to GMT in hours format -- 58 -- Testing gmdate() function with Difference to GMT in hours using colon as separator format -- 62 -- Testing gmdate() function with timezone abbreviation format -- [all …]
|
/PHP-5.6/ext/session/tests/ |
H A D | session_set_save_handler_class_016.phpt | 2 Test session_set_save_handler() function: class with create_sid 19 echo "*** Testing session_set_save_handler() function: class with create_sid ***\n"; 24 public function open($path, $name) { 32 public function close() { 36 public function read($id) { 40 public function write($id, $data) { 44 public function destroy($id) { 48 public function gc($maxlifetime) { 57 public function create_sid() { 80 *** Testing session_set_save_handler() function: class with create_sid ***
|
H A D | session_set_save_handler_class_017.phpt | 2 Test session_set_save_handler() function: class with create_sid 19 echo "*** Testing session_set_save_handler() function: class with create_sid ***\n"; 24 public function open($path, $name) { 32 public function close() { 36 public function read($id) { 40 public function write($id, $data) { 44 public function destroy($id) { 48 public function gc($maxlifetime) { 57 public function create_sid() { 80 *** Testing session_set_save_handler() function: class with create_sid ***
|
H A D | session_set_save_handler_iface_003.phpt | 2 Test session_set_save_handler() function: id interface 19 echo "*** Testing session_set_save_handler() function: id interface ***\n"; 24 public function open($path, $name) { 32 public function close() { 36 public function read($id) { 40 public function write($id, $data) { 44 public function destroy($id) { 48 public function gc($maxlifetime) { 57 public function create_sid() { 80 *** Testing session_set_save_handler() function: id interface ***
|
H A D | session_module_name_variation3.phpt | 2 Test session_module_name() function : variation 20 function open($save_path, $session_name) { 24 function close() { } 25 function read($id) { } 26 function write($id, $session_data) { } 27 function destroy($id) { } 28 function gc($maxlifetime) { } 46 #0 [internal function]: open('', 'PHPSESSID')
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | hebrevc_basic.phpt | 2 Test hebrevc() function : basic functionality 13 …function converts logical Hebrew text to visual text.\nThis function is similar to hebrev() with t… 22 string(239) ".The hebrevc function converts logical Hebrew text to visual text<br /> 23 ) This function is similar to hebrev() with the difference that it converts newlines<br /> 26 .The function tries to avoid breaking words<br /> 32 function<br /> 40 ) This function<br /> 45 .The function<br />
|
H A D | hebrevc_variation2.phpt | 19 public function __toString() { 100 .The function tries to avoid breaking words<br /> 129 .The function tries to avoid breaking words<br /> 136 .The function tries to avoid breaking words<br /> 143 .The function tries to avoid breaking words<br /> 189 function<br /> 200 function<br /> 208 function<br /> 253 .The function tries to avoid breaking words<br /> 294 .The function tries to avoid breaking words<br /> [all …]
|
H A D | strncasecmp_error.phpt | 2 Test strncasecmp() function : error conditions 10 echo "*** Testing strncasecmp() function: error conditions ***\n"; 16 echo "\n-- Testing strncasecmp() function with Zero arguments --"; 19 echo "\n-- Testing strncasecmp() function with less than expected number of arguments --"; 23 echo "\n-- Testing strncasecmp() function with more than expected number of arguments --"; 26 echo "\n-- Testing strncasecmp() function with invalid argument --"; 32 *** Testing strncasecmp() function: error conditions *** 34 -- Testing strncasecmp() function with Zero arguments -- 38 -- Testing strncasecmp() function with less than expected number of arguments -- 45 -- Testing strncasecmp() function with more than expected number of arguments -- [all …]
|
H A D | convert_cyr_string_error.phpt | 2 Test convert_cyr_string() function : error conditions 18 echo "\n-- Testing convert_cyr_string() function with no arguments --\n"; 21 echo "\n-- Testing convert_cyr_string() function with no 'to' character set --\n"; 27 echo "\n-- Testing convert_cyr_string() function with invalid 'from' character set --\n"; 30 echo "\n-- Testing convert_cyr_string() function with invalid 'to' character set --\n"; 41 -- Testing convert_cyr_string() function with no arguments -- 46 -- Testing convert_cyr_string() function with no 'to' character set -- 51 -- Testing convert_cyr_string() function with more than expected no. of arguments -- 56 -- Testing convert_cyr_string() function with invalid 'from' character set -- 61 -- Testing convert_cyr_string() function with invalid 'to' character set -- [all …]
|
/PHP-5.6/tests/classes/ |
H A D | ctor_visibility.phpt | 8 function __construct() 16 function __construct() 22 static function f() 32 private function __construct() 37 static function f() 47 function __construct() 53 static function f()
|
/PHP-5.6/ext/openssl/tests/ |
H A D | ServerClientTestCase.inc | 5 function phpt_notify() 10 function phpt_wait() 31 public static function getInstance($isWorker = false) 40 public function __construct($isWorker = false) 49 private function spawnWorkerProcess($code) 60 private function cleanupWorkerProcess() 67 private function stripPhpTagsFromCode($code) 72 public function runWorker() 89 public function run($proc1Code, $proc2Code) 96 public function wait() [all …]
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | callbacks_001.phpt | 6 public static function who() { 9 public static function who2() { 15 public static function who() { 21 public function call($cb) { 25 public function test() { 37 public static function who() { 52 public function who() { 58 function __toString() { 61 public function who() { 64 public function call($cb) { [all …]
|
/PHP-5.6/ext/spl/tests/ |
H A D | iterator_041a.phpt | 11 static function fail($state, $method) 19 function __construct() 27 function rewind() 33 function valid() 39 function current() 45 function key() 51 function next() 57 function __destruct() 62 static function test($func, $skip = null)
|