Home
last modified time | relevance | path

Searched refs:function (Results 351 – 375 of 7555) sorted by relevance

1...<<11121314151617181920>>...303

/PHP-7.0/ext/spl/tests/
H A Diterator_034.phpt8 function valid()
21 function getChildren()
27 function rewind()
45 function rewind()
52 function valid()
58 function current()
64 function key()
70 function next()
76 function callHasChildren()
84 function beginChildren()
[all …]
H A Darray_020.phpt8 function rewind()
14 function valid()
20 function key()
26 function current()
32 function next()
H A Dbug74669.phpt11 public function __construct()
17 public function append($element)
22 public function current()
27 public function next()
32 public function key()
37 public function valid()
42 public function rewind()
50 public function __construct()
/PHP-7.0/Zend/tests/
H A Dbug72508.phpt2 Bug #72508 (strange references after recursive function call and "switch" statement)
5 function a ($option) {
10 function b (&$string) {
13 function c ($option) {
H A Dbug75420.15.phpt6 public function offsetExists($x) { }
7 public function offsetGet($x) { }
8 public function offsetSet($x, $y) { $GLOBALS["name"] = 24; var_dump($x); }
9 public function offsetUnset($x) { }
H A D001.phpt6 function test1() {
10 function test2($a) {
14 function test3($a, $b) {
28 static function test1($a) {
52 Warning: func_num_args(): Called from the global scope - no function context in %s on line %d
H A Dbug39297.phpt5 function compareByRef(&$first, &$second) {
13 public function offsetExists($offset) {
16 public function offsetUnset($offset) {
19 public function offsetSet($offset, $value) {
26 public function offsetGet($offset) {
H A Dbug48533.phpt7 private function a() {
10 public function b() {
13 protected function c() {
16 static function __callstatic($a, $b) {
19 public function __call($a, $b) {
H A Dbug67938.phpt7 public function foo();
8 public function bar(array $bar);
12 public function foo(...$args) {
15 public function bar(array $bar, ...$args) {
H A Dbug75420.13.phpt6 public function offsetExists($x) { $GLOBALS["obj"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Dbug48228.phpt2 Bug #48228 (crash when exception is thrown while passing function arguments)
6 function do_throw() {
12 function check()
16 function dosome()
H A Dbug60139.phpt10 public function __construct() {
11 $this->x = function() {};
18 public function __construct() {
20 $this->x = function() use ($self) {};
H A Dbug75420.9.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
/PHP-7.0/ext/pcre/tests/
H A Dpreg_replace_callback_array.phpt7 public function __invoke() {
13 public static function rep($rep) {
18 function b() {
25 "/b/" => function () { return "c"; },
33 "/b/" => function () { return "ok"; },
H A Dpreg_replace_callback_error.phpt2 Test preg_replace_callback() function : error
11 echo "\n-- Testing preg_replace_callback() function with Zero arguments --\n";
14 echo "\n-- Testing preg_replace_callback() function with more than expected no. of arguments --\n";
16 function integer_word($matches) {
26 echo "\n-- Testing preg_replace_callback() function with less than expected no. of arguments --\n";
34 -- Testing preg_replace_callback() function with Zero arguments --
39 -- Testing preg_replace_callback() function with more than expected no. of arguments --
44 -- Testing preg_replace_callback() function with less than expected no. of arguments --
/PHP-7.0/tests/classes/
H A Dabstract.phpt9 abstract function show();
13 function show() {
14 echo "Call to function show()\n";
16 function error() {
28 Call to function show()
H A Diterators_008.phpt11 public function valid() {
16 public function next() {
21 public function rewind() {
25 public function current() {
29 public function key() {
/PHP-7.0/ext/json/tests/
H A Djson_encode_error.phpt2 Test json_encode() function : error conditions
9 echo "\n-- Testing json_encode() function with no arguments --\n";
12 echo "\n-- Testing json_encode() function with more than expected no. of arguments --\n";
21 -- Testing json_encode() function with no arguments --
26 -- Testing json_encode() function with more than expected no. of arguments --
/PHP-7.0/ext/standard/tests/serialize/
H A Dbug64146.phpt12 public function __construct()
23 public function __construct($c)
28 public function serialize()
33 public function unserialize($data)
43 public function __construct($c)
/PHP-7.0/ext/standard/tests/array/
H A Darray_diff_uassoc_variation13.phpt2 Test array_diff_uassoc() function : usage variations - arrays containing referenced variables
7 * user supplied callback function
18 echo "\n-- Testing array_diff_uassoc() function with referenced variable \$ref_var has value '$ref_…
24 echo "\n-- Testing array_diff_uassoc() function with referenced variable \$ref_var value changed to…
30 echo "\n-- Testing array_diff_uassoc() function when \$array2 is referenced to \$array1 --\n";
39 -- Testing array_diff_uassoc() function with referenced variable $ref_var has value 'a' --
49 -- Testing array_diff_uassoc() function with referenced variable $ref_var value changed to 10 --
63 -- Testing array_diff_uassoc() function when $array2 is referenced to $array1 --
H A Darray_fill_keys_variation1.phpt2 Test array_fill_keys() function : variation of parameter
22 public function __toString() { return "Class A object"; }
27 echo "\n-- Testing array_fill_keys() function with empty arguments --\n";
30 echo "\n-- Testing array_fill_keys() function with keyed array --\n";
34 echo "\n-- Testing array_fill_keys() function with mixed array --\n";
44 -- Testing array_fill_keys() function with empty arguments --
48 -- Testing array_fill_keys() function with keyed array --
60 -- Testing array_fill_keys() function with mixed array --
H A Darray_fill_keys_variation2.phpt2 Test array_fill_keys() function : variation of parameter
24 public function __toString() { return "Class A object"; }
29 echo "\n-- Testing array_fill_keys() function with reference value --\n";
33 echo "\n-- Testing array_fill_keys() function with reference keys --\n";
41 echo "\n-- Testing array_fill_keys() function with reference array input --\n";
52 -- Testing array_fill_keys() function with reference value --
60 -- Testing array_fill_keys() function with reference keys --
74 -- Testing array_fill_keys() function with reference array input --
H A Darray_map_variation13.phpt2 Test array_map() function : usage variations - callback function with different return types
11 * Test array_map() by passing different callback function returning:
21 function callback_int($a, $b)
28 function callback_string($a, $b)
35 function callback_bool($a, $b)
42 function callback_null($array1)
49 function callback_without_ret($arr1)
/PHP-7.0/ext/standard/tests/strings/
H A Dsubstr_replace_error.phpt2 Test substr_replace() function : error conditions
18 echo "\n-- Testing substr_replace() function with less than expected no. of arguments --\n";
22 echo "\n-- Testing substr_replace() function with more than expected no. of arguments --\n";
25 echo "\n-- Testing substr_replace() function with start and length different types --\n";
29 echo "\n-- Testing substr_replace() function with start and length with a different number of eleme…
32 echo "\n-- Testing substr_replace() function with start and length as arrays but string not--\n";
40 -- Testing substr_replace() function with less than expected no. of arguments --
48 -- Testing substr_replace() function with more than expected no. of arguments --
53 -- Testing substr_replace() function with start and length different types --
61 -- Testing substr_replace() function with start and length with a different number of elements --
[all …]
/PHP-7.0/ext/reflection/tests/
H A Dbug29523.phpt10 function optionalTest(TestClass $a, TestClass $b, $c = 3)
14 $function = new ReflectionFunction('optionalTest');
17 foreach($function->getParameters() as $parameter)
29 var_dump($function->getNumberOfRequiredParameters());

Completed in 29 milliseconds

1...<<11121314151617181920>>...303