Searched refs:function (Results 251 – 275 of 6949) sorted by relevance
1...<<11121314151617181920>>...278
7 public function rewind() { }9 public function next() { }11 public function valid() {15 public function current()20 public function key() { }
8 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()
7 public function getClosure() {8 return function($class) {14 $a = function ($class) {19 $b = function ($class) {20 eval('class ' . $class . '{function __construct(){echo "foo\n";}}');
8 function hasChildren()13 function getChildren()21 function accept()26 function hasChildren()31 function getChildren()
7 function foo();8 function bar();11 function foo();15 function bar() { }19 function foo() { }
12 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 given26 $GLOBALS[php_errormsg] in function: substr() expects at least 2 parameters, 1 given
6 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.
6 function test(closure $a) {11 $c = function($param) { print_r(debug_backtrace()); debug_print_backtrace(); };23 [function] => {closure}39 [function] => {closure}51 [function] => test
7 function __unset($a) {12 public function __call($a, $b) {16 function __clone() {19 static public function __callstatic($a, $b) {23 public function __tostring() {
12 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) {
2 ZE2 Late Static Binding call to static::method() from internal function (string)7 static function ok() {10 static function test() {16 static function ok() {
9 abstract function show();13 function show() {14 echo "Call to function show()\n";16 function error() {28 Call to function show()
12 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() {
2 Test usort() function : usage variations - use built in functions as $cmp_function arg6 * 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 function22 // Testing library functions as comparison function 33 // Testing with language construct as comparison function78 …: 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…
2 defining function with same name as imported should fail7 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
2 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 --
2 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 --
2 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 --
2 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 --
2 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 --
2 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() {
6 function gen() {11 function function_with_3_args() {16 function function_with_4_args() {20 function outerGen() {
2 Test ReflectionMethod::getClosure() function : error functionality15 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 --
9 function f1();13 function f1() {}17 function f1() {}18 abstract function f2();22 function f2() {}
2 Returning a references returned by another function7 function &returnVarByRef () {12 function &testReturnVarByRef() {16 function returnVal () {20 function &testReturnValByRef() {
Completed in 28 milliseconds