Home
last modified time | relevance | path

Searched refs:function (Results 276 – 300 of 7337) sorted by relevance

1...<<11121314151617181920>>...294

/PHP-7.4/Zend/tests/
H A Dbug41209.phpt8 public function __construct()
13 public static function errorHandler($errno, $errstr, $errfile, $errline)
23 public function offsetGet($id) {}
25 public function offsetSet($id, $value) {}
27 public function offsetUnset($id) {}
29 public function offsetExists($id)
H A Dproperty_access_errors_for_guarded_properties.phpt6 function setProp($obj) {
10 function getProp($obj) {
14 function unsetProp($obj) {
21 public function __get($k) {
25 public function __set($k, $v) {
29 public function __unset($k) {
H A Dbug48770_2.phpt9 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 Dns_092.phpt6 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 Dbug32290.phpt10 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 Dlsb_011.phpt2 ZE2 Late Static Binding call to static::method() from internal function (array)
7 static function ok() {
10 static function test() {
16 static function ok() {
H A Dname_collision_08.phpt7 function bar() {}
11 use function Foo\bar;
12 function bar() {}
15 Fatal error: Cannot declare function Bazzle\bar because the name is already in use in %s on line %d
/PHP-7.4/ext/spl/tests/
H A Dbug37457.phpt10 public function __construct(array $a)
16 public function current()
22 public function key()
28 public function next()
34 public function valid()
40 public function rewind()
49 public function accept()
H A Diterator_003.phpt11 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.4/ext/session/tests/
H A Dsession_set_save_handler_error2.phpt2 Test session_set_save_handler() function : error functionality
20 function open($save_path, $session_name) { return true; }
21 function close() { return true; }
22 function read($id) { return false; }
23 function write($id, $session_data) { }
24 function destroy($id) { return true; }
25 function gc($maxlifetime) { return true; }
H A Dsession_set_save_handler_iface_001.phpt2 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.4/tests/classes/
H A Diterators_006.phpt10 function __construct() {
14 function rewind() {
19 function valid() {
23 function key() {
27 function current() {
31 function next() {
40 public function getIterator() {
H A Diterators_002.phpt10 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.4/ext/standard/tests/array/
H A Darray_intersect_uassoc_variation10.phpt2 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 Darray_intersect_uassoc_variation8.phpt2 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 Darray_intersect_ukey_variation9.phpt2 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 Darray_map_variation9.phpt2 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.4/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_error.phpt2 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 --
H A Dbug40459.phpt10 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()
/PHP-7.4/tests/lang/
H A DforeachLoopIteratorAggregate.004.phpt10 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.4/ext/reflection/tests/
H A DReflectionClass_getConstructor_basic.phpt6 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.4/ext/bcmath/tests/
H A Dstr2num_formatting.phpt43 Warning: bcadd(): bcmath function argument is not well-formed in %s on line %d
45 Warning: bcadd(): bcmath function argument is not well-formed in %s on line %d
47 Warning: bcadd(): bcmath function argument is not well-formed in %s on line %d
49 Warning: bcadd(): bcmath function argument is not well-formed in %s on line %d
51 Warning: bcadd(): bcmath function argument is not well-formed in %s on line %d
60 Warning: bccomp(): bcmath function argument is not well-formed in %s on line %d
62 Warning: bccomp(): bcmath function argument is not well-formed in %s on line %d
64 Warning: bccomp(): bcmath function argument is not well-formed in %s on line %d
66 Warning: bccomp(): bcmath function argument is not well-formed in %s on line %d
68 Warning: bccomp(): bcmath function argument is not well-formed in %s on line %d
/PHP-7.4/ext/hash/tests/
H A Dhash_hmac_error.phpt2 Hash: hash_hmac() function : basic functionality
12 $data = "This is a sample string used to test the hash_hmac function with various hashing algorithm…
15 echo "\n-- Testing hash_hmac() function with less than expected no. of arguments --\n";
20 echo "\n-- Testing hash_hmac() function with more than expected no. of arguments --\n";
24 echo "\n-- Testing hash_hmac() function with invalid hash algorithm --\n";
27 echo "\n-- Testing hash_hmac() function with non-cryptographic hash algorithm --\n";
35 -- Testing hash_hmac() function with less than expected no. of arguments --
46 -- Testing hash_hmac() function with more than expected no. of arguments --
51 -- Testing hash_hmac() function with invalid hash algorithm --
56 -- Testing hash_hmac() function with non-cryptographic hash algorithm --
H A Dhash_hmac_file_error.phpt2 Hash: hash_hmac_file() function : basic functionality
17 echo "\n-- Testing hash_hmac_file() function with less than expected no. of arguments --\n";
22 echo "\n-- Testing hash_hmac_file() function with more than expected no. of arguments --\n";
26 echo "\n-- Testing hash_hmac_file() function with invalid hash algorithm --\n";
29 echo "\n-- Testing hash_hmac_file() function with non-cryptographic hash algorithm --\n";
32 echo "\n-- Testing hash_hmac_file() function with bad path --\n";
40 -- Testing hash_hmac_file() function with less than expected no. of arguments --
51 -- Testing hash_hmac_file() function with more than expected no. of arguments --
55 -- Testing hash_hmac_file() function with invalid hash algorithm --
59 -- Testing hash_hmac_file() function with non-cryptographic hash algorithm --
[all …]
/PHP-7.4/ext/standard/tests/strings/
H A Dsetlocale_error.phpt2 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 …]

Completed in 54 milliseconds

1...<<11121314151617181920>>...294