/PHP-7.2/Zend/tests/ |
H A D | bug32296.phpt | 6 function __construct(){} 7 abstract protected function unfold(); 11 private function x1() {} 12 protected final function unfold(){} 16 private function x2() {} 17 function buggy(){
|
H A D | closure_037.phpt | 8 function getClosure () { 9 return function () { 17 function printX () { 21 function print42() { 27 function print42() {
|
H A D | get_class_methods_001.phpt | 7 public function a() { } 8 private function b() { } 9 protected function c() { } 13 private function bb() { } 15 static public function test() {
|
H A D | bug32290.phpt | 10 public function doSomething($i) 16 public function doSomethingThis($i) 22 public function doSomethingParent($i) 28 public function doSomethingParentThis($i) 34 public static function doSomethingStatic($i) 43 public function doSomething($i) 51 public function doSomethingThis($i) 59 public function doSomethingParent($i) 67 public function doSomethingParentThis($i) 75 public static function doSomethingStatic($i)
|
H A D | bug48770_2.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) { 30 private function func2($str) { 33 protected function func3($str) { 39 public function func($str) {
|
H A D | ns_092.phpt | 6 class A { function __construct() {echo __METHOD__,"\n";} } 7 class B { function __construct() {echo __METHOD__,"\n";} } 8 function fiz(){ echo __FUNCTION__,"\n"; } 9 function biz(){ echo __FUNCTION__,"\n"; } 10 function buz(){ echo __FUNCTION__,"\n"; } 16 use function Foo\Bar\{ 31 function buz(){ echo __FUNCTION__,"\n"; } 66 Fatal error: Uncaught Error: Call to undefined function Foo\Bar\A() in %sns_092.php:45
|
H A D | bug24635.phpt | 6 function __construct() { $this->page = new PageClass(); } 9 function Display() { 14 function __construct($comment) { 17 function __destruct() { 22 function out($code) { return; }
|
/PHP-7.2/ext/sqlite3/tests/ |
H A D | sqlite3_33_createAggregate_notcallable.phpt | 2 …e3::createAggregate() Test whether a supplied PHP function is valid when using in an aggregate fun… 11 function aggregate_step ($var) { return $var; } 12 function aggregate_final ($var) { return $var; } 25 Warning: SQLite3::createAggregate(): Not a valid callback function aggregate_test_step in %s on lin… 27 Warning: SQLite3::createAggregate(): Not a valid callback function aggregate_test_final in %s on li…
|
/PHP-7.2/ext/ctype/tests/ |
H A D | 002.phpt | 11 function ctype_test_002($function) { 16 if($function($a)) $n1++; 17 if($function("$c$c$c")) $n2++; 18 if($function("1-$c$c$c-x")) $n3++; 20 print "$function $n1 $n2 $n3\n";
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_intersect_uassoc_error.phpt | 2 Test array_intersect_uassoc() function : error conditions 6 …tes the intersection of arrays with additional index check, compares indexes by a callback function 12 // Initialise function arguments 18 //Callback function 19 function key_compare_func($a, $b) { 27 echo "\n-- Testing array_intersect_uassoc() function with more than expected no. of arguments --\n"; 31 echo "\n-- Testing array_intersect_uassoc() function with less than expected no. of arguments --\n"; 36 echo "\n-- Testing array_intersect_uassoc() function with no arguments --\n"; 43 -- Testing array_intersect_uassoc() function with more than expected no. of arguments -- 48 -- Testing array_intersect_uassoc() function with less than expected no. of arguments -- [all …]
|
H A D | array_intersect_uassoc_variation10.phpt | 2 Test array_intersect_uassoc() function : usage variation - Passing class/object methods to callback 6 …tes the intersection of arrays with additional index check, compares indexes by a callback function 18 static function static_compare_func($a, $b) { 22 public function class_compare_func($a, $b) { 28 echo "\n-- Testing array_intersect_uassoc() function using class with static method as callback --\… 32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --… 40 -- Testing array_intersect_uassoc() function using class with static method as callback -- 50 -- Testing array_intersect_uassoc() function using class with regular method as callback --
|
H A D | array_intersect_uassoc_variation8.phpt | 2 Test array_intersect_uassoc() function : usage variation - arrays containing referenced variables 6 …tes the intersection of arrays with additional index check, compares indexes by a callback function 17 echo "\n-- Testing array_intersect_uassoc() function with referenced variable \$ref_var has value '… 22 echo "\n-- Testing array_intersect_uassoc() function with referenced variable \$ref_var value chang… 27 echo "\n-- Testing array_intersect_uassoc() function when \$array2 is referencd to \$array1 --\n"; 34 -- Testing array_intersect_uassoc() function with referenced variable $ref_var has value 'a' -- 40 -- Testing array_intersect_uassoc() function with referenced variable $ref_var value changed to 10 … 44 -- Testing array_intersect_uassoc() function when $array2 is referencd to $array1 --
|
H A D | array_intersect_ukey_variation9.phpt | 2 Test array_intersect_ukey() function : usage variation - Passing class/object methods to callback 6 …* Description: Computes the intersection of arrays using a callback function on the keys for compa… 18 static function static_compare_func($key1, $key2) { 22 public function class_compare_func($key1, $key2) { 28 echo "\n-- Testing array_intersect_ukey() function using class with static method as callback --\n"; 32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --… 40 -- Testing array_intersect_ukey() function using class with static method as callback -- 54 -- Testing array_intersect_uassoc() function using class with regular method as callback --
|
H A D | array_map_variation9.phpt | 2 Test array_map() function : usage variations - binary safe checking 16 function callback1($a) 20 function callback2($a, $b) 28 echo "-- checking binary safe array with one parameter callback function --\n"; 31 echo "-- checking binary safe array with two parameter callback function --\n"; 42 -- checking binary safe array with one parameter callback function -- 53 -- checking binary safe array with two parameter callback function -- 54 Exception: Too few arguments to function callback2(), 1 passed and exactly 2 expected
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | setlocale_error.phpt | 2 Test setlocale() function : error condition 22 echo "\n-- Testing setlocale() function with Zero arguments --"; 26 echo "\n-- Testing setlocale() function with One argument, 'category' = LC_ALL --"; 29 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n"; 34 echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n"; 38 echo "\n-- Testing setlocale() function with locale name too long, 'category' = LC_ALL --"; 47 -- Testing setlocale() function with Zero arguments -- 51 -- Testing setlocale() function with One argument, 'category' = LC_ALL -- 55 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL -- 58 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL -- [all …]
|
H A D | money_format_error.phpt | 2 Test money_format() function : error conditions 26 echo "\n-- Testing money_format() function with no arguments --\n"; 29 echo "\n-- Testing money_format() function with insufficient arguments --\n"; 32 echo "\n-- Testing money_format() function with more than expected no. of arguments --\n"; 35 echo "\n-- Testing money_format() function with more than one token --\n"; 42 -- Testing money_format() function with no arguments -- 47 -- Testing money_format() function with insufficient arguments -- 52 -- Testing money_format() function with more than expected no. of arguments -- 57 -- Testing money_format() function with more than one token --
|
/PHP-7.2/ext/reflection/tests/ |
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() {}
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_print.c | 295 if (!(func = zend_hash_str_find_ptr(&ce->function_table, function, strlen(function)))) { in phpdbg_print_opcodes_method_ce() 311 phpdbg_print_opcodes_method_ce(ce, function); in phpdbg_print_opcodes_method() 319 phpdbg_print_opcodes_method_ce(ce, function); in phpdbg_print_opcodes_method() 380 PHPDBG_API void phpdbg_print_opcodes(char *function) in phpdbg_print_opcodes() argument 382 if (function == NULL) { in phpdbg_print_opcodes() 384 } else if (function[0] == '*' && function[1] == 0) { in phpdbg_print_opcodes() 406 function = zend_str_tolower_dup(function, strlen(function)); in phpdbg_print_opcodes() 408 if (strstr(function, "::") == NULL) { in phpdbg_print_opcodes() 409 phpdbg_print_opcodes_function(function, strlen(function)); in phpdbg_print_opcodes() 411 char *method_name, *class_name = strtok(function, "::"); in phpdbg_print_opcodes() [all …]
|
/PHP-7.2/ext/session/tests/ |
H A D | session_set_save_handler_iface_001.phpt | 2 Test session_set_save_handler() function: interface 19 echo "*** Testing session_set_save_handler() function: 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) { 92 *** Testing session_set_save_handler() function: interface ***
|
/PHP-7.2/ext/spl/tests/ |
H A D | iterator_003.phpt | 11 public function __construct($id, $name) 17 public function __toString() 22 public function getId() 32 public function __construct(ArrayObject $students, Student $other) 38 public function accept() 49 public function __construct() 54 public function add(Student $student) 61 public function contains(Student $student) 72 public function getIterator() {
|
/PHP-7.2/ext/standard/tests/streams/ |
H A D | bug40459.phpt | 10 function __construct() { 14 function stream_open($path, $mode, $options, &$opened_path) 20 function url_stat($url, $flags) 26 function unlink($url) 31 function rename($from, $to) 36 function mkdir($dir, $mode, $options) 41 function rmdir($dir, $options) 46 function dir_opendir($url, $options) 51 function stream_metadata()
|
H A D | stream_get_meta_data_file_error.phpt | 2 Test stream_get_meta_data() function : error conditions 14 echo "\n-- Testing stream_get_meta_data() function with Zero arguments --\n"; 18 echo "\n-- Testing stream_get_meta_data() function with more than expected no. of arguments --\n"; 24 echo "\n-- Testing stream_get_meta_data() function with invalid stream resource --\n"; 28 echo "\n-- Testing stream_get_meta_data() function with closed stream resource --\n"; 38 -- Testing stream_get_meta_data() function with Zero arguments -- 43 -- Testing stream_get_meta_data() function with more than expected no. of arguments -- 48 -- Testing stream_get_meta_data() function with invalid stream resource -- 53 -- Testing stream_get_meta_data() function with closed stream resource --
|
/PHP-7.2/tests/classes/ |
H A D | iterators_002.phpt | 10 function __construct($obj) { 14 function rewind() { 18 function valid() { 23 function current() { 27 function next() { 31 function key() { 40 function __destruct() { 49 function getIterator() { 53 function __destruct() {
|
/PHP-7.2/tests/lang/ |
H A D | foreachLoopIteratorAggregate.004.phpt | 10 function __construct($obj) { 14 function rewind() { 18 function valid() { 23 function current() { 27 function next() { 31 function key() { 40 function __destruct() { 48 function getIterator() { 52 function __destruct() {
|
/PHP-7.2/ext/spl/examples/ |
H A D | dbareader.inc | 30 function __construct($file, $handler) { 39 function __destruct() { 46 function rewind() { 56 function next() { 64 private function fetch_data() { 73 function current() { 80 function valid() { 91 function key() {
|