Home
last modified time | relevance | path

Searched refs:function (Results 251 – 275 of 6949) sorted by relevance

1...<<11121314151617181920>>...278

/PHP-5.6/ext/spl/tests/
H A Dbug42703.phpt7 public function rewind() { }
9 public function next() { }
11 public function valid() {
15 public function current()
20 public function key() { }
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 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";}}');
H A Diterator_002.phpt8 function hasChildren()
13 function getChildren()
21 function accept()
26 function hasChildren()
31 function getChildren()
/PHP-5.6/Zend/tests/
H A Dbug43200.phpt7 function foo();
8 function bar();
11 function foo();
15 function bar() { }
19 function foo() { }
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 Dbug62991.phpt6 function test( array $array )
8 $closure = function() use ( $array ) {
15 function test2( array $array )
17 $closure = function() use ( $array ) {
21 return $closure; // if you return the $closure and call it outside this function it works.
H A Dclosure_032.phpt6 function test(closure $a) {
11 $c = function($param) { print_r(debug_backtrace()); debug_print_backtrace(); };
23 [function] => {closure}
39 [function] => {closure}
51 [function] => test
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 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) {
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() {
/PHP-5.6/tests/classes/
H A Dabstract.phpt9 abstract function show();
13 function show() {
14 echo "Call to function show()\n";
16 function error() {
28 Call to function show()
H A Diterators_002.phpt12 function __construct($obj) {
16 function rewind() {
20 function valid() {
25 function current() {
29 function next() {
33 function key() {
42 function __destruct() {
51 function getIterator() {
55 function __destruct() {
/PHP-5.6/ext/standard/tests/array/
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-5.6/Zend/tests/use_function/
H A Ddefine_imported.phpt2 defining function with same name as imported should fail
7 use function foo\bar;
9 function bar() {}
14 Fatal error: Cannot declare function bar because the name is already in use in %s on line %d
/PHP-5.6/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-5.6/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-5.6/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 --
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-5.6/ext/standard/tests/class_object/
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-5.6/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-5.6/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 --
H A DReflectionClass_isInstantiable_basic.phpt9 function f1();
13 function f1() {}
17 function f1() {}
18 abstract function f2();
22 function f2() {}
/PHP-5.6/tests/lang/
H A DreturnByReference.009.phpt2 Returning a references returned by another function
7 function &returnVarByRef () {
12 function &testReturnVarByRef() {
16 function returnVal () {
20 function &testReturnValByRef() {

Completed in 28 milliseconds

1...<<11121314151617181920>>...278