Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...271

/PHP-5.5/Zend/tests/
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() {
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() {
/PHP-5.5/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 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-5.5/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.5/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.5/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.5/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.5/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 --
H A Didate_variation3.phpt2 Test idate() function : usage variation - Passing higher positive and negetive float values to time…
13 // Initialise function arguments not being substituted (if any)
17 echo "\n-- Testing idate() function with float 12.3456789000e10 to timestamp --\n";
21 echo "\n-- Testing idate() function with float -12.3456789000e10 to timestamp --\n";
30 -- Testing idate\(\) function with float 12.3456789000e10 to timestamp --
33 -- Testing idate\(\) function with float -12.3456789000e10 to timestamp --
/PHP-5.5/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.5/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.5/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.5/ext/standard/tests/general_functions/
H A Dbug41037.phpt2 Bug #41037 (unregister_tick_function() inside the tick function crash PHP)
6 function a() {
18 Warning: unregister_tick_function(): Unable to delete tick function executed at the moment in %s on…
21 Warning: unregister_tick_function(): Unable to delete tick function executed at the moment in %s on…
23 Warning: unregister_tick_function(): Unable to delete tick function executed at the moment in %s on…
/PHP-5.5/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() {
/PHP-5.5/ext/standard/tests/time/
H A Dstrptime_error.phpt2 Test localtime() function : error conditions
6 echo "SKIP strptime function not available in build";
22 echo "\n-- Testing strptime() function with Zero arguments --\n";
25 echo "\n-- Testing strptime() function with less than expected no. of arguments --\n";
31 echo "\n-- Testing strptime() function with more than expected no. of arguments --\n";
40 -- Testing strptime() function with Zero arguments --
45 -- Testing strptime() function with less than expected no. of arguments --
50 -- Testing strptime() function with more than expected no. of arguments --

Completed in 58 milliseconds

1...<<11121314151617181920>>...271