Home
last modified time | relevance | path

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

12345678910>>...289

/PHP-7.4/ext/session/tests/
H A Dsession_set_save_handler_class_010.phpt2 Test session_set_save_handler() : manual shutdown function
19 echo "*** Testing session_set_save_handler() : manual shutdown function ***\n";
23 public function __construct($num) {
27 public function __destruct() {
30 public function finish() {
35 public function write($id, $data) {
39 public function close() {
57 *** Testing session_set_save_handler() : manual shutdown function ***
/PHP-7.4/Zend/tests/
H A Dclosure_062.phpt7 public function method() {
9 $fn = function() {
14 $fn = static function() {
19 $fn = function() {
25 public static function staticMethod() {
27 $fn = function() {
32 $fn = static function() {
37 $fn = function() {
H A Dget_class_methods_001.phpt7 public function a() { }
8 private function b() { }
9 protected function c() { }
13 private function bb() { }
15 static public function test() {
H A Dclosure_037.phpt8 function getClosure () {
9 return function () {
17 function printX () {
21 function print42() {
27 function print42() {
H A Dcustom_assert_deprecation.phpt2 Defining a free-standing assert() function is deprecated
8 function assert() {}
12 Deprecated: Defining a custom assert() function is deprecated, as the function has special semantic…
H A Dbug32296.phpt6 function __construct(){}
7 abstract protected function unfold();
11 private function x1() {}
12 protected final function unfold(){}
16 private function x2() {}
17 function buggy(){
H A D003.phpt6 function test1() {
10 function test2($a) {
14 function test3($a, $b) {
37 static function test1($a) {
58 Exception: Too few arguments to function test2(), 0 passed in %s003.php on line %d and exactly 1 ex…
67 Exception: Too few arguments to function test3(), 1 passed in %s003.php on line %d and exactly 2 ex…
79 Warning: func_get_args(): Called from the global scope - no function context in %s on line %d
H A Dbug39944.phpt7 function &getValue() {
12 function setValue(&$int, $iNewValue) {
28 function &getArray() {
33 function addToArray(&$arr, $strToAdd) {
52 function Add($strToAdd) {
56 function &getArray() {
62 private function addToArray(&$arr, $strToAdd) {
/PHP-7.4/tests/lang/
H A DreturnByReference.004.phpt6 static function returnConstantByValue() {
10 static function &returnConstantByRef() {
14 static function &returnVariableByRef() {
19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
42 ---> 1. Trying to assign by reference the return value of a function that returns by value:
48 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
54 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.005.phpt6 function returnConstantByValue() {
10 function &returnConstantByRef() {
14 static function &returnVariableByRef() {
20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
43 ---> 1. Trying to assign by reference the return value of a function that returns by value:
49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
/PHP-7.4/ext/posix/tests/
H A Dposix_kill_error.phpt2 Test posix_kill() function : error conditions
19 echo "\n-- Testing posix_kill() function with more than expected no. of arguments --\n";
25 echo "\n-- Testing posix_kill() function with less than expected no. of arguments --\n";
29 echo "\n-- Testing posix_kill() function with invalid signal --\n";
34 echo "\n-- Testing posix_kill() function with negative pid --\n";
44 -- Testing posix_kill() function with more than expected no. of arguments --
49 -- Testing posix_kill() function with less than expected no. of arguments --
54 -- Testing posix_kill() function with invalid signal --
57 -- Testing posix_kill() function with negative pid --
/PHP-7.4/ext/spl/tests/
H A Diterator_041b.phpt11 static function fail($state, $method)
19 function __construct()
27 function rewind()
33 function valid()
39 function current()
45 function key()
51 function next()
57 function __destruct()
62 static function test($func, $skip = null)
/PHP-7.4/ext/opcache/tests/
H A Dbug78015.phpt10 function test1() {
17 function test2() {
24 function test3() {
31 function test4() {
38 function test5() {
45 function test6() {
53 function test7() {
63 function test8($array) {
76 function test9() {
/PHP-7.4/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-7.4/ext/sqlite3/tests/
H A Dsqlite3_33_createAggregate_notcallable.phpt2 …e3::createAggregate() Test whether a supplied PHP function is valid when using in an aggregate fun…
11 function aggregate_step ($var) { return $var; }
12 function aggregate_final ($var) { return $var; }
25 Warning: SQLite3::createAggregate(): Not a valid callback function aggregate_test_step in %s on lin…
27 Warning: SQLite3::createAggregate(): Not a valid callback function aggregate_test_final in %s on li…
/PHP-7.4/ext/ctype/tests/
H A D002.phpt11 function ctype_test_002($function) {
16 if($function($a)) $n1++;
17 if($function("$c$c$c")) $n2++;
18 if($function("1-$c$c$c-x")) $n3++;
20 print "$function $n1 $n2 $n3\n";
/PHP-7.4/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.4/ext/standard/tests/array/
H A Darray_filter_object.phpt2 Test array_filter() function : object functionality
24 public function check() {
38 abstract function emptyMethod();
45 public function emptyMethod() {
54 final function finalMethod() {
63 public static function staticMethod() {
68 // Callback function which returns always true
69 function always_true($input)
75 function always_false($input)
93 // with always_true callback function
[all …]
/PHP-7.4/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.4/ext/standard/tests/general_functions/
H A Dbug40398.phpt8 function __construct($msg)
16 public function __construct()
25 public function __construct()
34 public function __construct()
43 public function __construct()
52 public function __construct()
61 public function __construct()
/PHP-7.4/ext/json/tests/
H A Djson_decode_error.phpt2 Test json_decode() function : error conditions
9 echo "\n-- Testing json_decode() function with no arguments --\n";
12 echo "\n-- Testing json_decode() function with more than expected no. of arguments --\n";
16 echo "\n-- Testing json_decode() function with depth below 0 --\n";
24 -- Testing json_decode() function with no arguments --
29 -- Testing json_decode() function with more than expected no. of arguments --
34 -- Testing json_decode() function with depth below 0 --
/PHP-7.4/ext/standard/tests/class_object/
H A Dget_class_methods_basic_002.phpt16 private function privC() {}
17 protected function protC() {}
18 public function pubC() {}
20 public static function testFromC() {
31 private function privD() {}
32 protected function protD() {}
33 public function pubD() {}
35 public static function testFromD() {
46 private function privX() {}
47 protected function protX() {}
[all …]
/PHP-7.4/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 …]

Completed in 31 milliseconds

12345678910>>...289