Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...298

/PHP-7.0/ext/soap/tests/interop/Round3/GroupD/
H A Dround3_groupD_rpcenc.inc4 function echoString($inputString)
9 function echoStringArray($inputStringArray)
14 function echoStruct($inputStruct)
19 function echoVoid()
H A Dround3_groupD_doclit.inc4 function echoString($inputString)
9 function echoStringArray($inputStringArray)
14 function echoStruct($inputStruct)
19 function echoVoid()
/PHP-7.0/ext/standard/tests/array/
H A Darray_intersect_uassoc_variation10.phpt2 Test array_intersect_uassoc() function : usage variation - Passing class/object methods to callback
6 …tes the intersection of arrays with additional index check, compares indexes by a callback function
18 static function static_compare_func($a, $b) {
22 public function class_compare_func($a, $b) {
28 echo "\n-- Testing array_intersect_uassoc() function using class with static method as callback --\…
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
40 -- Testing array_intersect_uassoc() function using class with static method as callback --
50 -- Testing array_intersect_uassoc() function using class with regular method as callback --
H A Darray_intersect_uassoc_variation8.phpt2 Test array_intersect_uassoc() function : usage variation - arrays containing referenced variables
6 …tes the intersection of arrays with additional index check, compares indexes by a callback function
17 echo "\n-- Testing array_intersect_uassoc() function with referenced variable \$ref_var has value '…
22 echo "\n-- Testing array_intersect_uassoc() function with referenced variable \$ref_var value chang…
27 echo "\n-- Testing array_intersect_uassoc() function when \$array2 is referencd to \$array1 --\n";
34 -- Testing array_intersect_uassoc() function with referenced variable $ref_var has value 'a' --
40 -- Testing array_intersect_uassoc() function with referenced variable $ref_var value changed to 10 …
44 -- Testing array_intersect_uassoc() function when $array2 is referencd to $array1 --
H A Darray_intersect_ukey_variation9.phpt2 Test array_intersect_ukey() function : usage variation - Passing class/object methods to callback
6 …* Description: Computes the intersection of arrays using a callback function on the keys for compa…
18 static function static_compare_func($key1, $key2) {
22 public function class_compare_func($key1, $key2) {
28 echo "\n-- Testing array_intersect_ukey() function using class with static method as callback --\n";
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
40 -- Testing array_intersect_ukey() function using class with static method as callback --
54 -- Testing array_intersect_uassoc() function using class with regular method as callback --
/PHP-7.0/ext/spl/examples/
H A Ddbareader.inc30 function __construct($file, $handler) {
39 function __destruct() {
46 function rewind() {
56 function next() {
64 private function fetch_data() {
73 function current() {
80 function valid() {
91 function key() {
/PHP-7.0/Zend/tests/
H A Dns_092.phpt6 class A { function __construct() {echo __METHOD__,"\n";} }
7 class B { function __construct() {echo __METHOD__,"\n";} }
8 function fiz(){ echo __FUNCTION__,"\n"; }
9 function biz(){ echo __FUNCTION__,"\n"; }
10 function buz(){ echo __FUNCTION__,"\n"; }
16 use function Foo\Bar\{
31 function buz(){ echo __FUNCTION__,"\n"; }
67 Fatal error: Uncaught Error: Call to undefined function Foo\Bar\A() in %sns_092.php:45
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 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 Dbug69568.phpt2 Bug #69568: call a private function in closure failed
7 private static function testprivate() {
10 public static function test() {
11 return function() {
H A Dbug43200.phpt7 function foo();
8 function bar();
11 function foo();
15 function bar() { }
19 function foo() { }
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
/PHP-7.0/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-7.0/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-7.0/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()
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 Dbug73896.phpt6 public static function call($callable, array $args) {
12 public function __construct() {
16 public function __call($method, $args) {
20 protected function autoload($class) {
24 public function doSomething() {
/PHP-7.0/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-7.0/tests/lang/
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); }');
/PHP-7.0/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-7.0/Zend/tests/varSyntax/
H A DindirectFcall.phpt2 Indirect function calls
6 function id($x = 'id') { return $x; }
18 $id = function($x) { return $x; };
22 (function($x) { return $x; })('id')('var_dump')(8);
24 ($f = function($x = null) use (&$f) {
29 public static function id($x = [__CLASS__, 'id']) { return $x; }
/PHP-7.0/Zend/tests/grammar/
H A Dregression_004.phpt2 Test possible function naming regression on procedural scope
8 function echo(){} // valid
9 function return(){} // valid
12 function echo(){} // not valid
/PHP-7.0/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

Completed in 35 milliseconds

1...<<11121314151617181920>>...298