Home
last modified time | relevance | path

Searched refs:function (Results 326 – 350 of 7337) sorted by relevance

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

/PHP-7.4/ext/standard/tests/serialize/
H A D__serialize_005.phpt8 public function __construct(array $data) {
11 public function __serialize() {
14 public function __unserialize(array $data) {
21 public function __construct(array $data, array $data2) {
25 public function __serialize() {
28 public function __unserialize(array $payload) {
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug29038.phpt5 function my_print_r($a) {
9 function f1() {
15 function f2() {
22 function f3() {
29 function f4() {
35 function f5() {
/PHP-7.4/Zend/tests/
H A Dlsb_001.phpt2 ZE2 Late Static Binding in a static function
10 protected static function staticFunction() {
14 public static function testStaticVar() {
18 public static function testClassConst() {
22 public static function testStaticFunction() {
31 protected static function staticFunction() {
H A Dbug38772.phpt7 public function __construct() {
11 private function foo() {
17 public function foo() {
23 protected function foo() {
29 private function foo() {
H A Dbug64239_2.phpt7 public function test() { $this->backtrace(); }
18 protected function backtrace() {
24 public function t2method() {
41 [function] => Bmethod
53 [function] => Bmethod
H A Dbug75420.16.phpt6 public function offsetExists($x) { }
7 public function offsetGet($x) { }
8 public function offsetSet($x, $y) { $GLOBALS["obj"] = 24; var_dump($this); }
9 public function offsetUnset($x) { }
H A Dclosure_007.phpt9 function getClosureGetter () {
10 return function () {
11 return function () {
17 function printX () {
/PHP-7.4/ext/hash/tests/
H A Dhash_pbkdf2_error.phpt2 Hash: Test hash_pbkdf2() function : error functionality
15 echo "\n-- Testing hash_pbkdf2() function with less than expected no. of arguments --\n";
24 echo "\n-- Testing hash_pbkdf2() function with invalid hash algorithm --\n";
30 echo "\n-- Testing hash_pbkdf2() function with invalid iterations --\n";
34 echo "\n-- Testing hash_pbkdf2() function with invalid length --\n";
42 -- Testing hash_pbkdf2() function with less than expected no. of arguments --
56 -- Testing hash_pbkdf2() function with more than expected no. of arguments --
61 -- Testing hash_pbkdf2() function with invalid hash algorithm --
66 -- Testing hash_pbkdf2() function with non-cryptographic hash algorithm --
71 -- Testing hash_pbkdf2() function with invalid iterations --
[all …]
/PHP-7.4/ext/posix/tests/
H A Dposix_getsid.phpt2 Test posix_getsid() function test
15 echo "*** Testing posix_getsid() : function test ***\n";
18 echo "\n-- Testing posix_getsid() function with current process pid --\n";
24 *** Testing posix_getsid() : function test ***
26 -- Testing posix_getsid() function with current process pid --
/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload3.phpt6 spl_autoload_register(function($class) {
9 public function method(): X {}
14 public function method(): Y {}
19 public function method(): A {}
24 public function method(): B {}
H A Dparent_in_class.phpt8 public function method(parent $x) {}
11 public function method(parent $x) {}
17 public function method(parent $x) {}
20 public function method(P2 $x) {}
26 public function method($x): parent {}
29 public function method($x): parent {}
35 public function method(parent $x) {}
38 public function method(parent $x) {}
/PHP-7.4/Zend/tests/generators/
H A Dget_return_types.phpt6 function gen1() {
14 function gen2() {
22 function gen3($var) {
30 function gen4($obj) {
38 function gen5($val) {
/PHP-7.4/ext/standard/tests/class_object/
H A Dmethod_exists_basic_001.phpt12 public function inherit_pub() {}
13 protected function inherit_prot() {}
14 private function inherit_priv() {}
15 static public function inherit_static_pub() {}
17 static private function inherit_static_priv() {}
21 public function pub() {}
22 protected function prot() {}
23 private function priv() {}
24 static public function static_pub() {}
25 static protected function static_prot() {}
[all …]
/PHP-7.4/ext/openssl/tests/
H A DServerClientTestCase.inc7 function phpt_notify($worker = WORKER_DEFAULT_NAME)
17 function phpt_has_sslv3() {
45 public static function getInstance($isWorker = false)
54 public function __construct($isWorker = false)
63 private function spawnWorkerProcess($worker, $code)
93 private function cleanupWorkerProcess($worker)
100 private function stripPhpTagsFromCode($code)
105 public function runWorker()
122 public function run($masterCode, $workerCode)
136 public function wait($worker, $timeout = null)
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Duasort_variation8.phpt2 Test uasort() function : usage variations - built-in function as 'cmp_function'
6 * Description: Sort an array with a user-defined comparison function and maintain index association
16 echo "*** Testing uasort() : built in function as 'cmp_function' ***\n";
22 // Testing library functions as comparison function
31 // Testing with language construct as comparison function
41 *** Testing uasort() : built in function as 'cmp_function' ***
72 … uasort() expects parameter 2 to be a valid callback, function 'echo' not found or invalid functio…
76 … uasort() expects parameter 2 to be a valid callback, function 'exit' not found or invalid functio…
H A Dusort_variation8.phpt2 Test usort() function : usage variations - use built in functions as $cmp_function arg
6 * Description: Sort an array by values using a user-defined comparison function
11 * Test usort() when comparison function is:
12 * 1. a built in comparison function
22 // Testing library functions as comparison function
33 // Testing with language construct as comparison function
78 …: usort() expects parameter 2 to be a valid callback, function 'echo' not found or invalid functio…
83 …: usort() expects parameter 2 to be a valid callback, function 'exit' not found or invalid functio…
/PHP-7.4/ext/standard/tests/streams/
H A Dstream_set_timeout_error.phpt2 Test stream_set_timeout() function : error conditions
14 echo "\n-- Testing stream_set_timeout() function with more than expected no. of arguments --\n";
33 echo "\n-- Testing stream_set_timeout() function with less than expected no. of arguments --\n";
39 echo "\n-- Testing stream_set_timeout() function with a closed socket --\n";
43 echo "\n-- Testing stream_set_timeout() function with an invalid stream --\n";
46 echo "\n-- Testing stream_set_timeout() function with a stream that does not support timeouts --\n";
58 -- Testing stream_set_timeout() function with more than expected no. of arguments --
63 -- Testing stream_set_timeout() function with less than expected no. of arguments --
68 -- Testing stream_set_timeout() function with a closed socket --
73 -- Testing stream_set_timeout() function with an invalid stream --
[all …]
/PHP-7.4/ext/standard/tests/filters/
H A Dstream_filter_remove_error.phpt2 Test stream_filter_remove() function : error conditions
23 echo "\n-- Testing stream_filter_remove() function with Zero arguments --\n";
26 echo "\n-- Testing stream_filter_remove() function with more than expected no. of arguments --\n";
30 echo "\n-- Testing stream_filter_remove() function with unexisting stream filter --\n";
33 echo "\n-- Testing stream_filter_remove() function with bad resource --\n";
36 echo "\n-- Testing stream_filter_remove() function with an already removed filter --\n";
55 -- Testing stream_filter_remove() function with Zero arguments --
60 -- Testing stream_filter_remove() function with more than expected no. of arguments --
65 -- Testing stream_filter_remove() function with unexisting stream filter --
70 -- Testing stream_filter_remove() function with bad resource --
[all …]
/PHP-7.4/tests/lang/
H A Dbug22510.phpt11 function finalize() {
16 function &method1() {
21 function &method2() {
26 function method3() {
34 function run1() {
41 function run2() {
48 function run3() {
56 function ouch(&$bar) {
62 function ok1(&$bar) {
67 function ok2(&$bar) {
[all …]
/PHP-7.4/ext/spl/tests/
H A Diterator_007.phpt8 function rewind()
13 function valid()
18 function current()
23 function key()
28 function next()
37 function rewind()
42 function valid()
47 function current()
52 function key()
57 function next()
H A Dbug69264.phpt6 public function __debugInfo() {
12 public function __debugInfo() {
18 public function __debugInfo() {
24 public function __debugInfo() {
30 public function __debugInfo() {
36 public function __debugInfo() {
42 public function __debugInfo() {
48 public function __debugInfo() {
H A Dbug61697.phpt6 function f1($class) { echo "f1: [[$class]]\n"; }
7 function f2($class) { echo "f2: [[$class]]\n"; }
11 spl_autoload_register(function($class) { echo "cf1: [[$class]]\n"; });
12 spl_autoload_register(function($class) { echo "cf2: [[$class]]\n"; });
/PHP-7.4/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt2 Test ReflectionMethod::getClosure() function : error functionality
15 static function foo()
24 public function foo()
38 echo "\n-- Testing ReflectionMethod::getClosure() function with more than expected no. of arguments…
43 echo "\n-- Testing ReflectionMethod::getClosure() function with Zero arguments --\n";
46 echo "\n-- Testing ReflectionMethod::getClosure() function with Zero arguments --\n";
58 -- Testing ReflectionMethod::getClosure() function with more than expected no. of arguments --
67 -- Testing ReflectionMethod::getClosure() function with Zero arguments --
71 -- Testing ReflectionMethod::getClosure() function with Zero arguments --
/PHP-7.4/ext/standard/tests/strings/
H A Dstrpbrk_error.phpt2 Test strpbrk() function : error conditions
17 echo "\n-- Testing strpbrk() function with more than expected no. of arguments --\n";
20 echo "\n-- Testing strpbrk() function with less than expected no. of arguments --\n";
23 echo "\n-- Testing strpbrk() function with empty second argument --\n";
26 echo "\n-- Testing strpbrk() function with arrays --\n";
35 -- Testing strpbrk() function with more than expected no. of arguments --
40 -- Testing strpbrk() function with less than expected no. of arguments --
45 -- Testing strpbrk() function with empty second argument --
50 -- Testing strpbrk() function with arrays --
/PHP-7.4/ext/gd/tests/
H A Dimagecolorstotal_error.phpt2 Test imagecolorstotal() function : error conditions - Pass incorrect number of arguments
9 die('skip imagecolorstotal function is not available');
24 echo "\n-- Testing imagecolorstotal() function with Zero arguments --\n";
27 echo "\n-- Testing imagecolorstotal() function with more than expected no. of arguments --\n";
31 echo "\n-- Testing imagecolorstotal() function with a invalid resource\n";
40 -- Testing imagecolorstotal() function with Zero arguments --
45 -- Testing imagecolorstotal() function with more than expected no. of arguments --
50 -- Testing imagecolorstotal() function with a invalid resource

Completed in 58 milliseconds

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