Home
last modified time | relevance | path

Searched refs:function (Results 576 – 600 of 7077) sorted by relevance

1...<<21222324252627282930>>...284

/PHP-5.6/ext/reflection/tests/
H A DReflectionMethod_basic4.phpt6 function reflectMethod($class, $method) {
21 public function foo() {
29 static function stat() {
33 private function priv() {
37 protected function prot() {}
39 public function __destruct() {}
45 public function int();
/PHP-5.6/ext/standard/tests/strings/
H A Dltrim_error.phpt2 Test ltrim() function : error conditions
14 echo "\n-- Testing ltrim() function with no arguments --\n";
17 echo "\n-- Testing ltrim() function with more than expected no. of arguments --\n";
23 echo "\n-- Test ltrim function with various invalid charlists\n";
34 -- Testing ltrim() function with no arguments --
39 -- Testing ltrim() function with more than expected no. of arguments --
44 -- Test ltrim function with various invalid charlists
H A Drtrim_error.phpt2 Test rtrim() function : error conditions
14 echo "\n-- Testing rtrim() function with no arguments --\n";
17 echo "\n-- Testing rtrim() function with more than expected no. of arguments --\n";
23 echo "\n-- Test rtrim function with various invalid charlists\n";
34 -- Testing rtrim() function with no arguments --
39 -- Testing rtrim() function with more than expected no. of arguments --
44 -- Test rtrim function with various invalid charlists
H A Dstrcspn_error.phpt2 Test strcspn() function : error conditions
19 echo "\n-- Testing strcspn() function with Zero arguments --\n";
23 echo "\n-- Testing strcspn() function with more than expected no. of arguments --\n";
34 echo "\n-- Testing strcspn() function with less than expected no. of arguments --\n";
43 -- Testing strcspn() function with Zero arguments --
48 -- Testing strcspn() function with more than expected no. of arguments --
53 -- Testing strcspn() function with less than expected no. of arguments --
H A Dstrspn_error.phpt2 Test strspn() function : error conditions
19 echo "\n-- Testing strspn() function with Zero arguments --\n";
23 echo "\n-- Testing strspn() function with more than expected no. of arguments --\n";
34 echo "\n-- Testing strspn() function with less than expected no. of arguments --\n";
43 -- Testing strspn() function with Zero arguments --
48 -- Testing strspn() function with more than expected no. of arguments --
53 -- Testing strspn() function with less than expected no. of arguments --
H A Dtrim_error.phpt2 Test trim() function : error conditions
14 echo "\n-- Testing trim() function with no arguments --\n";
17 echo "\n-- Testing trim() function with more than expected no. of arguments --\n";
23 echo "\n-- Test trim function with various invalid charlists --\n";
34 -- Testing trim() function with no arguments --
39 -- Testing trim() function with more than expected no. of arguments --
44 -- Test trim function with various invalid charlists --
/PHP-5.6/ext/standard/tests/class_object/
H A Dis_a_error_001.phpt2 Test is_a() function : error conditions - wrong number of args
16 echo "\n-- Testing is_a() function with more than expected no. of arguments --\n";
25 echo "\n-- Testing is_a() function with non-boolean in last position --\n";
30 echo "\n-- Testing is_a() function with less than expected no. of arguments --\n";
40 -- Testing is_a() function with more than expected no. of arguments --
45 -- Testing is_a() function with non-boolean in last position --
50 -- Testing is_a() function with less than expected no. of arguments --
/PHP-5.6/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_simple_doclit.inc4 function echoEmptyFault() {
8 function echoStringFault($input) {
12 function echoIntArrayFault($input) {
16 function echoMultipleFaults1($input) {
26 function echoMultipleFaults2($input) {
36 function echoMultipleFaults3($input) {
44 function echoMultipleFaults4($input) {
H A Dround4_groupH_simple_rpcenc.inc4 function echoEmptyFault() {
8 function echoStringFault($input) {
12 function echoIntArrayFault($input) {
16 function echoMultipleFaults1($param, $string, $floats) {
26 function echoMultipleFaults2($param, $string, $float, $strings) {
36 function echoMultipleFaults3($param, $param1, $param2) {
44 function echoMultipleFaults4($param, $int, $enum) {
/PHP-5.6/ext/standard/tests/network/
H A Dgethostbyaddr_error.phpt2 Test gethostbyaddr() function : error conditions
15 echo "\n-- Testing gethostbyaddr function with Zero arguments --\n";
19 echo "\n-- Testing gethostbyaddr function with more than expected no. of arguments --\n";
24 echo "\n-- Testing gethostbyaddr function with invalid addresses --\n";
40 -- Testing gethostbyaddr function with Zero arguments --
45 -- Testing gethostbyaddr function with more than expected no. of arguments --
50 -- Testing gethostbyaddr function with invalid addresses --
/PHP-5.6/Zend/tests/
H A Dbug32322.phpt12 private function __construct( $value = '' )
17 private function __clone() {}
18 static public function getInstance()
29 static public function getInstance2()
41 public function __destruct()
57 echo "Try static instance inside function :\n";
73 Try static instance inside function :
H A D020.phpt10 function bar() {
14 function foo() {
26 Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
32 Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
H A Dcall_user_func_005.phpt2 Passing Closure as parameter to an non-existent function
7 public static function __callstatic($x, $y) {
12 public function teste() {
13 return foo::x(function &($a=1,$b) { });
H A Ddereference_003.phpt10 public function a() {
15 public function b() {
18 public function c() {
24 public function d() {
H A Derrmsg_002.phpt2 errmsg: function cannot be declared private
7 abstract private function foo() {
14 Fatal error: Abstract function test::foo() cannot be declared private in %s on line %d
/PHP-5.6/tests/classes/
H A Dctor_dtor.phpt9 function early() {
12 function __destruct() {
18 function __construct() {
21 function __destruct() {
H A Dstatic_mix_1.phpt9 static function show() {
10 echo "Call to function pass::show()\n";
15 function show() {
16 echo "Call to function fail::show()\n";
H A Dstatic_mix_2.phpt9 function show() {
10 echo "Call to function pass::show()\n";
15 static function show() {
16 echo "Call to function fail::show()\n";
H A Dinterface_implemented.phpt9 function f_a();
13 function f_b();
17 function _is_a($sub) {
20 function test() {
33 function f_a() {}
37 function f_a() {}
38 function f_b() {}
42 function f_b() {}
/PHP-5.6/ext/standard/tests/file/
H A Dbug38450_2.phpt10 function __construct($var) {
14 function stream_open($path, $mode, $options, &$opened_path)
23 function stream_read($count)
30 function stream_write($data)
39 function stream_tell()
44 function stream_eof()
48 function stream_seek($offset, $whence)
111 #0 [internal function]: VariableStream->__construct()
/PHP-5.6/tests/lang/
H A DforeachLoopIteratorAggregate.003.phpt9 public function valid() {
15 public function next() {
21 public function rewind() {
27 public function current() {
33 public function key() {
42 function getIterator() {
48 function getIterator() {
54 function getIterator() {
/PHP-5.6/ext/standard/tests/array/
H A Darsort_object2.phpt2 Test arsort() function : object functionality - sorting objects with diff. accessibility of member …
7 Elements will be arranged from highest to lowest when this function has completed.
26 function __construct($value1, $value2,$value3){
41 function __construct($value1, $value2,$value3){
48 function __tostring() {
68 // testing arsort() function by supplying integer object array, flag value is default
73 // testing arsort() function by supplying string object array, flag value is default
79 // testing arsort() function by supplying integer object array, flag value = SORT_REGULAR
84 // testing arsort() function by supplying string object array, flag value = SORT_REGULAR
/PHP-5.6/ext/spl/examples/
H A Dcallbackfilteriterator.inc38 * @param callback callback function
42 public function __construct(Iterator $it, $callback, $mode = self::USE_VALUE, $flags = 0)
53 public function accept()
86 function key()
92 function current()
98 function getMode()
104 function setMode($mode)
110 function getFlags()
116 function setFlags($flags)
/PHP-5.6/ext/spl/internal/
H A Dappenditerator.inc25 function __construct()
38 function append(Iterator $it)
45 function getInnerIterator()
53 function rewind()
64 function valid()
71 function current()
82 function key()
91 function next()
116 function __call($func, $params)
/PHP-5.6/ext/standard/tests/general_functions/
H A Dis_callable_variation2.phpt2 Test is_callable() function : usage variations - on invalid function names
9 Description: Verify that the contents of a variable can be called as a function
14 Description: use iscallable() on given string to check for valid function name
15 returns true if valid function name, false otherwise
17 function check_iscallable( $functions ) {
32 echo "\n*** Testing is_callable() on invalid function names ***\n";
54 /* use check_iscallable() to check whether given variable is valid function name
65 *** Testing is_callable() on invalid function names ***

Completed in 32 milliseconds

1...<<21222324252627282930>>...284