Home
last modified time | relevance | path

Searched refs:function (Results 426 – 450 of 7337) sorted by relevance

1...<<11121314151617181920>>...294

/PHP-7.4/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_soapfault.inc4 function echoVersionMismatchFault()
8 function echoMustUnderstandFault()
12 function HeaderRequest($string)
/PHP-7.4/Zend/tests/use_function/
H A Dself_parent.phpt2 Allow self and parent in use function statement
7 use function self as foo;
8 use function parent as bar;
/PHP-7.4/ext/hash/tests/
H A Dhash_error.phpt2 Hash: hash() function : error conditions
13 echo "\n-- Testing hash() function with less than expected no. of arguments --\n";
17 echo "\n-- Testing hash() function with more than expected no. of arguments --\n";
21 echo "\n-- Testing hash() function with invalid hash algorithm --\n";
29 -- Testing hash() function with less than expected no. of arguments --
37 -- Testing hash() function with more than expected no. of arguments --
42 -- Testing hash() function with invalid hash algorithm --
/PHP-7.4/ext/standard/tests/array/
H A Duasort_variation7.phpt2 Test uasort() function : usage variations - anonymous function as 'cmp_function'
6 * Description: Sort an array with a user-defined comparison function and maintain index association
16 echo "*** Testing uasort() : anonymous function as 'cmp_function' ***\n";
18 $cmp_function = function($value1, $value2) {
29 $cmp_function = function(&$value1, &$value2) {
43 *** Testing uasort() : anonymous function as 'cmp_function' ***
/PHP-7.4/ext/standard/tests/class_object/
H A Dproperty_exists_error.phpt2 Test property_exists() function : error conditions
18 echo "\n-- Testing property_exists() function with more than expected no. of arguments --\n";
22 echo "\n-- Testing property_exists() function with less than expected no. of arguments --\n";
25 echo "\n-- Testing property_exists() function with incorrect arguments --\n";
33 -- Testing property_exists() function with more than expected no. of arguments --
38 -- Testing property_exists() function with less than expected no. of arguments --
43 -- Testing property_exists() function with incorrect arguments --
/PHP-7.4/Zend/tests/
H A Dforeach_003.phpt10 function __construct($count, $trap = null) {
15 function trap($trap) {
21 function rewind() {$this->trap(__FUNCTION__); $this->n = 0;}
22 function valid() {$this->trap(__FUNCTION__); return $this->n < $this->count;}
23 function key() {$this->trap(__FUNCTION__); return $this->n;}
24 function current() {$this->trap(__FUNCTION__); return $this->n;}
25 function next() {$this->trap(__FUNCTION__); $this->n++;}
H A Dbug38779.phpt9 public function stream_open($path, $mode, $options, &$opened_path) {
14 function stream_read($count) {
19 function stream_eof() {
22 function stream_stat() {
25 function stream_set_option($option, $arg1, $arg2) {
H A Dbug76047.phpt8 public function __destruct() {
15 function test($arg) {
21 function test2($arg) {
40 ["function"]=>
58 ["function"]=>
H A Dbug31177.phpt7 public function query() {
11 public function select() {
15 public function select2() {
23 public function __construct($resource) {
H A Dbug44653.phpt7 function fooBar() { echo __FUNCTION__ . PHP_EOL; }
11 static function fooBar() { echo "bag1\n"; }
14 static function fooBar() { echo "bag2\n"; }
16 function fooBar() { echo __FUNCTION__ . PHP_EOL; }
H A Dbug55007.phpt6 spl_autoload_register(function ($classname) {
7 if ('CompileErrorClass'==$classname) eval('class CompileErrorClass { function foo() { $a[]; } }');
8 …if ('MyErrorHandler'==$classname) eval('class MyErrorHandler { function __construct() { print "My …
11 function shutdown() {
H A Dbug69989_2.phpt7 function gen1() {
18 public function gen2() {
27 $gen3 = (function() use (&$gen3) {
32 function gen4() {
H A Dbug74862_2.phpt10 private function __clone()
15 private function __construct()
20 public static function getInstance()
25 public function cloneIt()
/PHP-7.4/Zend/tests/generators/
H A Dget_return.phpt6 function gen1() {
15 function gen2() {
27 function &gen3() {
38 // Return types for generators specify the return of the function,
40 function gen4() : Generator {
51 function gen5() {
62 function gen6() : Generator {
/PHP-7.4/Zend/tests/grammar/
H A Dsemi_reserved_006.phpt8 public function catch(){ echo __METHOD__, PHP_EOL; }
9 private function list(){ echo __METHOD__, PHP_EOL; }
16 public static function catch(){ echo __METHOD__, PHP_EOL; }
17 private static function throw(){ echo __METHOD__, PHP_EOL; }
18 private static function self(){ echo __METHOD__, PHP_EOL; }
23 public static function exit(){ echo __METHOD__, PHP_EOL; }
24 protected static function try(){ echo __METHOD__, PHP_EOL; }
/PHP-7.4/tests/classes/
H A Ddestructor_and_globals.phpt8 function Show() {
16 public function __construct() {
22 public function Show() {
27 public function __destruct() {
32 static public function destroy(&$obj) {
H A Dvisibility_005.phpt12 function f()
26 echo "===base::function===\n";
35 echo "===derived::function===\n";
44 ===base::function===
52 ===derived::function===
/PHP-7.4/tests/lang/
H A Dstatic_variation_002.phpt7 function f() {
11 function cfg() {
24 static function f() {
25 eval('function dfg() { static $b = array(1,2,3); var_dump($b); } ');
31 eval(' Class E { function f() { static $c = array(1,2,3); var_dump($c); } }');
/PHP-7.4/tests/output/
H A Dob_start_basic_002.phpt5 function return_empty_string($string) {
9 function return_false($string) {
13 function return_null($string) {
17 function return_string($string) {
21 function return_zero($string) {
/PHP-7.4/ext/reflection/tests/
H A D005.phpt8 function strip_doc_comment($c)
19 function bla()
23 function foo() {
29 function bar() {
36 function baz() {
/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload_error6.phpt6 spl_autoload_register(function($class) {
9 public function method(): X {}
14 public function method(): Y {}
19 public function method(): X {}
24 public function method(): Unknown {}
/PHP-7.4/ext/date/tests/
H A Dcall_function_from_method.phpt2 Call to date function from a method and call to date method from call_user_func
9 public function __construct($in) {
13 public function getYear1() {
17 public function getYear2() {
/PHP-7.4/Zend/tests/traits/bugs/
H A Dcase-sensitive.phpt8 public function M1() {}
9 public function M2() {}
13 public function M1() {}
14 public function M2() {}
/PHP-7.4/Zend/tests/type_declarations/
H A Diterable_005.phpt7 function method(): iterable {
13 function method(): array {
19 function method(): Traversable {
25 function method(): int {
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug41037.phpt2 Bug #41037 (unregister_tick_function() inside the tick function crash PHP)
6 function a() {
19 Warning: unregister_tick_function(): Unable to delete tick function executed at the moment in %s on…
22 Warning: unregister_tick_function(): Unable to delete tick function executed at the moment in %s on…

Completed in 32 milliseconds

1...<<11121314151617181920>>...294