Home
last modified time | relevance | path

Searched refs:function (Results 226 – 250 of 6631) sorted by relevance

12345678910>>...266

/PHP-5.5/Zend/tests/
H A Dbug48770_2.phpt9 public function func($str) {
12 private function func2($str) {
15 protected function func3($str) {
18 private function func22($str) {
24 public function func($str) {
30 private function func2($str) {
33 protected function func3($str) {
39 public function func($str) {
H A Dbug26802.phpt6 function global_func()
11 $function = 'global_func';
12 $function();
18 static public function foo_func()
26 * properties and then do the function call.
H A Dlsb_016.phpt8 public static function who() {
15 public function __get($var) {
19 public function __set($var, $val) {
23 public function __call($name, $args) {
27 public static function who() {
H A Dbug41209.phpt8 public function __construct()
13 public static function errorHandler($errno, $errstr, $errfile, $errline)
23 public function offsetGet($id) {}
25 public function offsetSet($id, $value) {}
27 public function offsetUnset($id) {}
29 public function offsetExists($id)
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.
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_error2.phpt2 Test session_set_save_handler() function : error functionality
20 function open($save_path, $session_name) { return true; }
21 function close() { return true; }
22 function read($id) { return false; }
23 function write($id, $session_data) { }
24 function destroy($id) { return true; }
25 function gc($maxlifetime) { return true; }
/PHP-5.5/ext/reflection/tests/
H A Dbug33389.phpt7 function foo1($arg=foobar) {
9 function foo2($arg=null) {
11 function foo3($arg=false) {
13 function foo4($arg='foo') {
15 function foo5($arg=1) {
17 function bar($arg) {
19 function foo() {
/PHP-5.5/ext/spl/tests/
H A Dbug37457.phpt10 public function __construct(array $a)
16 public function current()
22 public function key()
28 public function next()
34 public function valid()
40 public function rewind()
49 public function accept()
/PHP-5.5/tests/lang/
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 Dstatic_variation_001.phpt8 function f1() {
11 function g1() {
26 function f2() {
29 function g2a() {
34 eval('function g2b() { static $b = array(7, 8, 9); var_dump($b); } ');
44 eval(' function f3() { static $c = array(1,2,3); var_dump($c); }');
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 …]
/PHP-5.5/ext/xsl/tests/
H A Dbug49634.phpt31 function testFunction($a)
57 #0 [internal function]: testFunction(Array)
62 #0 [internal function]: testFunction(Array)
67 #0 [internal function]: testFunction(Array)
72 #0 [internal function]: testFunction(Array)
77 #0 [internal function]: testFunction(Array)
82 #0 [internal function]: testFunction(Array)
87 #0 [internal function]: testFunction(Array)
92 #0 [internal function]: testFunction(Array)
97 #0 [internal function]: testFunction(Array)
[all …]
/PHP-5.5/Zend/tests/traits/
H A Dbug55554c.phpt12 public function __construct() {
15 public function ReportCollision() {
21 public function __construct() {
24 public function ReportCollision() {
32 public function __construct() {
35 public function ReportCollision() {
/PHP-5.5/ext/soap/tests/interop/Round3/GroupD/
H A Dround3_groupD_doclit.inc4 function echoString($inputString)
9 function echoStringArray($inputStringArray)
14 function echoStruct($inputStruct)
19 function echoVoid()
H A Dround3_groupD_rpcenc.inc4 function echoString($inputString)
9 function echoStringArray($inputStringArray)
14 function echoStruct($inputStruct)
19 function echoVoid()
/PHP-5.5/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 …]
/PHP-5.5/ext/soap/tests/interop/Round4/GroupG/
H A Dround4_groupG_mimedoc.inc4 function EchoBase64AsAttachment($in) {
8 function EchoAttachmentAsBase64($in) {
12 function EchoAttachment($in) {
16 function EchoAttachments($in) {
H A Dround4_groupG_mimerpc.inc4 function EchoBase64AsAttachment($in) {
8 function EchoAttachmentAsBase64($in) {
12 function EchoAttachment($in) {
16 function EchoAttachments($in) {
/PHP-5.5/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-5.5/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-5.5/ext/standard/tests/strings/
H A Dsetlocale_error.phpt2 Test setlocale() function : error condition
22 echo "\n-- Testing setlocale() function with Zero arguments --";
26 echo "\n-- Testing setlocale() function with One argument, 'category' = LC_ALL --";
29 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
34 echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n";
38 echo "\n-- Testing setlocale() function with invalid category --\n";
48 -- Testing setlocale() function with Zero arguments --
52 -- Testing setlocale() function with One argument, 'category' = LC_ALL --
56 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
59 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
[all …]
/PHP-5.5/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…
/PHP-5.5/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 …]

Completed in 24 milliseconds

12345678910>>...266