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 D | round3_groupD_rpcenc.inc | 4 function echoString($inputString) 9 function echoStringArray($inputStringArray) 14 function echoStruct($inputStruct) 19 function echoVoid()
|
H A D | round3_groupD_doclit.inc | 4 function echoString($inputString) 9 function echoStringArray($inputStringArray) 14 function echoStruct($inputStruct) 19 function echoVoid()
|
/PHP-7.0/ext/standard/tests/array/ |
H A D | array_intersect_uassoc_variation10.phpt | 2 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 D | array_intersect_uassoc_variation8.phpt | 2 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 D | array_intersect_ukey_variation9.phpt | 2 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 D | dbareader.inc | 30 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 D | ns_092.phpt | 6 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 D | bug48770_2.phpt | 9 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 D | bug41209.phpt | 8 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 D | bug69568.phpt | 2 Bug #69568: call a private function in closure failed 7 private static function testprivate() { 10 public static function test() { 11 return function() {
|
H A D | bug43200.phpt | 7 function foo(); 8 function bar(); 11 function foo(); 15 function bar() { } 19 function foo() { }
|
H A D | bug62991.phpt | 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.
|
H A D | closure_032.phpt | 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
|
/PHP-7.0/ext/reflection/tests/ |
H A D | bug33389.phpt | 7 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 D | session_set_save_handler_error2.phpt | 2 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 D | bug37457.phpt | 10 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 D | bug42703.phpt | 7 public function rewind() { } 9 public function next() { } 11 public function valid() { 15 public function current() 20 public function key() { }
|
H A D | bug73896.phpt | 6 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 D | round4_groupG_mimedoc.inc | 4 function EchoBase64AsAttachment($in) { 8 function EchoAttachmentAsBase64($in) { 12 function EchoAttachment($in) { 16 function EchoAttachments($in) {
|
H A D | round4_groupG_mimerpc.inc | 4 function EchoBase64AsAttachment($in) { 8 function EchoAttachmentAsBase64($in) { 12 function EchoAttachment($in) { 16 function EchoAttachments($in) {
|
/PHP-7.0/tests/lang/ |
H A D | static_variation_001.phpt | 8 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 D | bug55554c.phpt | 12 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 D | indirectFcall.phpt | 2 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 D | regression_004.phpt | 2 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 D | define_imported.phpt | 2 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