Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...298

/PHP-7.0/Zend/tests/
H A Dmagic_methods_001.phpt7 function __unset($a) {
12 public function __call($a, $b) {
16 function __clone() {
19 static public function __callstatic($a, $b) {
23 public function __tostring() {
H A Dbug47320.phpt12 function foo() {
14 echo '$php_errormsg in function: ' . $php_errormsg . "\n";
16 echo '$GLOBALS[php_errormsg] in function: ' .
25 $php_errormsg in function: strpos() expects at least 2 parameters, 1 given
26 $GLOBALS[php_errormsg] in function: substr() expects at least 2 parameters, 1 given
H A Dbug71163.phpt5 function __autoload($name) {
6 eval ("class $name extends Exception { public static function foo() {}}");
10 function test2() {
18 function test() {
H A Dlsb_012.phpt2 ZE2 Late Static Binding call to static::method() from internal function (string)
7 static function ok() {
10 static function test() {
16 static function ok() {
H A Dbug52614.phpt12 public function f1() {
16 public function f2() {
20 public function f3() {
25 public function f4() {
29 public function f5() {
34 public function &f6() {
38 public function f7(&$x) {
/PHP-7.0/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 …]
H A Dget_class_methods_basic_003.phpt2 Test get_class_methods() function : basic functionality
16 public function pubI();
21 public function pubI() {}
23 private function privC() {}
24 protected function protC() {}
25 public function pubC() {}
27 public static function testFromC() {
/PHP-7.0/Zend/tests/generators/
H A Dnested_calls_with_die.phpt6 function gen() {
11 function function_with_3_args() {
16 function function_with_4_args() {
20 function outerGen() {
/PHP-7.0/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 associatio…
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.0/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.0/ext/hash/tests/
H A Dhash_pbkdf2_error.phpt2 Test hash_pbkdf2() function : error functionality
17 echo "\n-- Testing hash_pbkdf2() function with less than expected no. of arguments --\n";
27 echo "\n-- Testing hash_pbkdf2() function with more than expected no. of arguments --\n";
31 echo "\n-- Testing hash_pbkdf2() function with invalid hash algorithm --\n";
35 echo "\n-- Testing hash_pbkdf2() function with invalid iterations --\n";
41 echo "\n-- Testing hash_pbkdf2() function with invalid length --\n";
50 -- Testing hash_pbkdf2() function with less than expected no. of arguments --
60 -- Testing hash_pbkdf2() function with more than expected no. of arguments --
64 -- Testing hash_pbkdf2() function with invalid hash algorithm --
68 -- Testing hash_pbkdf2() function with invalid iterations --
[all …]
/PHP-7.0/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 …]
H A DforeachLoopIterator.002.phpt7 public function valid() { return true; }
8 public function next() { }
9 public function rewind() { }
10 public function current() { }
11 public function key() { }
H A DreturnByReference.009.phpt2 Returning a references returned by another function
7 function &returnVarByRef () {
12 function &testReturnVarByRef() {
16 function returnVal () {
20 function &testReturnValByRef() {
/PHP-7.0/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.0/ext/posix/tests/
H A Dposix_getpwuid_error.phpt2 Test posix_getpwuid() function : error conditions
17 echo "\n-- Testing posix_getpwuid() function with Zero arguments --\n";
20 echo "\n-- Testing posix_getpwuid() function with more than expected no. of arguments --\n";
25 echo "\n-- Testing posix_getpwuid() function negative uid --\n";
34 -- Testing posix_getpwuid() function with Zero arguments --
39 -- Testing posix_getpwuid() function with more than expected no. of arguments --
44 -- Testing posix_getpwuid() function negative uid --
/PHP-7.0/ext/date/tests/
H A Dgmdate_variation11.phpt2 Test gmdate() function : usage variation - Passing Full Date/Time format options to format argument.
17 echo "\n-- Testing gmdate() function with ISO 8601 date format --\n";
21 echo "\n-- Testing gmdate() function with RFC 2822 date format --\n";
25 echo "\n-- Testing gmdate() function with seconds since Unix Epoch format --\n";
34 -- Testing gmdate() function with ISO 8601 date format --
38 -- Testing gmdate() function with RFC 2822 date format --
42 -- Testing gmdate() function with seconds since Unix Epoch format --
/PHP-7.0/ext/standard/tests/strings/
H A Dstrcoll_error.phpt2 Test strcoll() function : error conditions
11 echo "\n-- Testing strcoll() function with no arguments --\n";
15 echo "\n-- Testing strcoll() function with one argument --\n";
18 echo "\n-- Testing strcoll() function with more than expected no. of arguments --\n";
27 -- Testing strcoll() function with no arguments --
35 -- Testing strcoll() function with one argument --
40 -- Testing strcoll() function with more than expected no. of arguments --
H A Dunpack_error.phpt2 Test unpack() function : error conditions
13 echo "\n-- Testing unpack() function with no arguments --\n";
16 echo "\n-- Testing unpack() function with more than expected no. of arguments --\n";
20 echo "\n-- Testing unpack() function with invalid format character --\n";
28 -- Testing unpack() function with no arguments --
33 -- Testing unpack() function with more than expected no. of arguments --
38 -- Testing unpack() function with invalid format character --
/PHP-7.0/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 Diterator_002.phpt8 function hasChildren()
13 function getChildren()
21 function accept()
26 function hasChildren()
31 function getChildren()
H A Dspl_autoload_bug48541.phpt7 public function getClosure() {
8 return function($class) {
14 $a = function ($class) {
19 $b = function ($class) {
20 eval('class ' . $class . '{function __construct(){echo "foo\n";}}');
/PHP-7.0/ext/reflection/tests/
H A DReflectionClass_isInstantiable_basic.phpt9 function f1();
13 function f1() {}
17 function f1() {}
18 abstract function f2();
22 function f2() {}
/PHP-7.0/tests/classes/
H A Dabstract_static.phpt8 static function show();
13 static function show() {
14 echo "Call to function show()\n";
23 abstract static function func();
32 Call to function show()

Completed in 42 milliseconds

1...<<11121314151617181920>>...298