Home
last modified time | relevance | path

Searched refs:function (Results 151 – 175 of 6958) sorted by relevance

12345678910>>...279

/PHP-7.2/ext/spl/tests/
H A Diterator_041a.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)
H A Diterator_058.phpt9 function current() {}
10 function next() {}
11 function key() {}
12 function valid() {}
13 function rewind() {}
H A Dregexiterator_setpregflags.phpt11 function current (){}
12 function key ( ){}
13 function next ( ){}
14 function rewind ( ){}
15 function valid ( ){}
/PHP-7.2/ext/standard/tests/strings/
H A Dstrrchr_error.phpt2 Test strrchr() function : error conditions
10 echo "*** Testing strrchr() function: error conditions ***\n";
15 echo "\n-- Testing strrchr() function with Zero arguments --";
18 echo "\n-- Testing strrchr() function with less than expected no. of arguments --";
21 echo "\n-- Testing strrchr() function with more than expected no. of arguments --";
27 *** Testing strrchr() function: error conditions ***
29 -- Testing strrchr() function with Zero arguments --
33 -- Testing strrchr() function with less than expected no. of arguments --
37 -- Testing strrchr() function with more than expected no. of arguments --
H A Dconvert_cyr_string_error.phpt2 Test convert_cyr_string() function : error conditions
18 echo "\n-- Testing convert_cyr_string() function with no arguments --\n";
21 echo "\n-- Testing convert_cyr_string() function with no 'to' character set --\n";
27 echo "\n-- Testing convert_cyr_string() function with invalid 'from' character set --\n";
30 echo "\n-- Testing convert_cyr_string() function with invalid 'to' character set --\n";
41 -- Testing convert_cyr_string() function with no arguments --
46 -- Testing convert_cyr_string() function with no 'to' character set --
51 -- Testing convert_cyr_string() function with more than expected no. of arguments --
56 -- Testing convert_cyr_string() function with invalid 'from' character set --
61 -- Testing convert_cyr_string() function with invalid 'to' character set --
[all …]
H A Dstristr_error.phpt2 Test stristr() function : error conditions
11 echo "\n-- Testing stristr() function with no arguments --\n";
15 echo "\n-- Testing stristr() function with no needle --\n";
18 echo "\n-- Testing stristr() function with more than expected no. of arguments --\n";
22 echo "\n-- Testing stristr() function with empty haystack --\n";
25 echo "\n-- Testing stristr() function with empty needle --\n";
33 -- Testing stristr() function with no arguments --
41 -- Testing stristr() function with no needle --
46 -- Testing stristr() function with more than expected no. of arguments --
51 -- Testing stristr() function with empty haystack --
[all …]
/PHP-7.2/ext/session/tests/
H A Dsession_set_save_handler_sid_002.phpt2 Test session_set_save_handler() function: create_sid
14 echo "*** Testing session_set_save_handler() function: create_sid ***\n";
19 public function open($path, $name) {
27 public function close() {
31 public function read($id) {
35 public function write($id, $data) {
39 public function destroy($id) {
43 public function gc($maxlifetime) {
52 public function create_sid() {
75 *** Testing session_set_save_handler() function: create_sid ***
/PHP-7.2/tests/lang/
H A DreturnByReference.003.phpt2 Returning a reference from a function
5 function returnConstantByValue() {
9 function &returnConstantByRef() {
13 function &returnVariableByRef() {
17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
40 ---> 1. Trying to assign by reference the return value of a function that returns by value:
46 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
52 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
/PHP-7.2/ext/soap/tests/
H A Dclassmap004.phpt11 function __construct($a){
14 function __get($name) {
17 function __set($name, $val) {
20 function __unset($name) {
26 function __construct($a){
32 function f(){
38 function __construct($wsdl, $options) {
44 function __doRequest($request, $location, $action, $version, $one_way = 0) {
/PHP-7.2/Zend/tests/
H A Dbug40833.phpt10 function __get($name)
18 function __set($name, $value)
28 function __construct($entity)
34 function clear() {
38 function offsetUnset($offset)
44 function offsetSet($offset, $value)
48 function offsetGet($offset)
53 function offsetExists($offset)
H A Dbug50383.phpt7 public static function __callStatic($method, $args) {
10 public function __call($method, $args) {
15 function thrower() {
18 function thrower2() {
46 [function] => __callStatic
64 [function] => thrower
79 [function] => __call
97 [function] => thrower2
H A Dbug64720.phpt7 public static function getInstance() {
14 public function __destruct() {
20 public function __construct() {
27 public function __construct() {
33 public function __destruct() {
38 public function test() {
H A Dbug32993.phpt2 Bug #32993 (implemented Iterator function current() don't throw exception)
9 public function rewind() { return reset($this->arr); }
10 public function current() { throw new Exception(); }
11 public function key() { return key($this->arr); }
12 public function next() { return next($this->arr); }
13 public function valid() { return (current($this->arr) !== false); }
H A Ddereference_005.phpt10 public function __construct() {
17 public function offsetSet($offset, $value) {
20 public function offsetExists($offset) {
23 public function offsetUnset($offset) {
26 public function offsetGet($offset) {
31 function x() {
H A Dmethod_argument_binding.phpt7 private function method($x) {}
11 public function test() {
19 public function method(&$x) {
27 private final function method(&$x) {
33 public function __call($name, $args) { }
35 public function test() {
/PHP-7.2/Zend/tests/function_arguments/
H A Dargument_count_incorrect_userland.phpt2 Call userland function with incorrect number of arguments
6 function foo($bar) { }
14 function bar($foo, $bar) { }
21 function bat(int $foo, string $bar) { }
38 Too few arguments to function foo(), 0 passed in %s and exactly 1 expected
40 Too few arguments to function bar(), 1 passed in %s and exactly 2 expected
42 Too few arguments to function bat(), 1 passed in %s and exactly 2 expected
44 Too few arguments to function bat(), 1 passed in %s and exactly 2 expected
/PHP-7.2/ext/date/tests/
H A Dgmdate_variation7.phpt2 Test gmdate() function : usage variation - Passing Year format options to format argument.
18 echo "\n-- Testing gmdate() function with checking non leap year using Leap Year format --\n";
21 echo "\n-- Testing gmdate() function with checking leap year using Leap Year format --\n";
25 echo "\n-- Testing gmdate() function with ISO-8601 year number format --\n";
29 echo "\n-- Testing gmdate() function with full numeric representation of year format --\n";
33 echo "\n-- Testing gmdate() function with 2 digit representation year format --\n";
42 -- Testing gmdate() function with checking non leap year using Leap Year format --
45 -- Testing gmdate() function with checking leap year using Leap Year format --
49 -- Testing gmdate() function with ISO-8601 year number format --
53 -- Testing gmdate() function with full numeric representation of year format --
[all …]
H A Dgmdate_variation8.phpt2 Test gmdate() function : usage variation - Passing Year format options to format argument.
18 echo "\n-- Testing gmdate() function with checking non leap year using Leap Year format --\n";
21 echo "\n-- Testing gmdate() function with checking leap year using Leap Year format --\n";
25 echo "\n-- Testing gmdate() function with ISO-8601 year number format --\n";
29 echo "\n-- Testing gmdate() function with full numeric representation of year format --\n";
33 echo "\n-- Testing gmdate() function with 2 digit representation year format --\n";
42 -- Testing gmdate() function with checking non leap year using Leap Year format --
45 -- Testing gmdate() function with checking leap year using Leap Year format --
49 -- Testing gmdate() function with ISO-8601 year number format --
53 -- Testing gmdate() function with full numeric representation of year format --
[all …]
/PHP-7.2/Zend/tests/type_declarations/
H A Dscalar_null.phpt11 set_error_handler(function (int $errno, string $errmsg, string $file, int $line) use ($errnames) {
17 'int' => function (int $i) { return $i; },
18 'float' => function (float $f) { return $f; },
19 'string' => function (string $s) { return $s; },
20 'bool' => function (bool $b) { return $b; },
21 'int nullable' => function (int $i = NULL) { return $i; },
22 'float nullable' => function (float $f = NULL) { return $f; },
23 'string nullable' => function (string $s = NULL) { return $s; },
24 'bool nullable' => function (bool $b = NULL) { return $b; }
27 foreach ($functions as $type => $function) {
[all …]
/PHP-7.2/Zend/tests/use_function/
H A Dconflicting_use_const_alias.phpt2 use const and use function with the same alias
8 function foo() {
9 return 'foo.function';
15 use function foo as bar;
23 string(12) "foo.function"
/PHP-7.2/ext/standard/tests/general_functions/
H A Dgetrusage_error.phpt2 Test getrusage() function : error conditions - incorrect number of args
19 echo "\n-- Testing getrusage() function with more than expected no. of arguments --\n";
27 echo "\n-- Testing getrusage() function with invalid argument - ARRAY--\n";
31 echo "\n-- Testing getrusage() function with invalid argument - OBJECT --\n";
34 function __toString() {
41 echo "\n-- Testing getrusage() function with invalid argument - RESOURCE --\n";
51 -- Testing getrusage() function with more than expected no. of arguments --
55 -- Testing getrusage() function with invalid argument - non-numeric STRING--
59 -- Testing getrusage() function with invalid argument - ARRAY--
63 -- Testing getrusage() function with invalid argument - OBJECT --
[all …]
/PHP-7.2/ext/standard/tests/array/
H A Darray_map_variation15.phpt2 Test array_map() function : usage variations - non existent 'callback' function
11 * Test array_map() by passing non existent function for $callback argument
14 echo "*** Testing array_map() : non existent 'callback' function ***\n";
26 *** Testing array_map() : non existent 'callback' function ***
28 …map() expects parameter 1 to be a valid callback, function 'non_existent' not found or invalid fun…
/PHP-7.2/tests/classes/
H A Dctor_visibility.phpt8 function __construct()
16 function __construct()
22 static function f()
32 private function __construct()
37 static function f()
47 function __construct()
53 static function f()
H A Darray_access_007.phpt9 function __construct() {
13 function offsetExists($index) {
17 function offsetGet($index) {
21 function offsetSet($index, $value) {
29 function offsetUnset($index) {
33 function dump() {
/PHP-7.2/ext/sqlite3/tests/
H A Dstream_test.inc9 public function stream_open($path, $mode, $options, &$opened_path)
15 public function stream_read($count)
22 public function stream_write($data)
27 public function stream_stat()
32 public function stream_tell()
37 public function stream_eof()

Completed in 51 milliseconds

12345678910>>...279