Home
last modified time | relevance | path

Searched refs:function (Results 501 – 525 of 7555) sorted by relevance

1...<<21222324252627282930>>...303

/PHP-7.0/Zend/tests/
H A Dbug73156.phpt2 Bug #73156 (segfault on undefined function)
6 public function __call($name, $args) {
23 ["function"]=>
32 ["function"]=>
H A Dclosure_033.phpt2 Closure 033: Dynamic closure property and private function
8 function __construct() {
9 $this->func = function() {
13 private function func() {
H A Dns_056.phpt11 function update(\SplSubject $x) {
17 function attach(SplObserver $x) {
20 function notify() {
22 function detach(SplObserver $x) {
H A D023.phpt2 Testing variable variables as function name
13 public function a() {
19 public function test() {
25 function test() {
H A DArrayAccess_indirect_append.phpt8 public function &offsetGet($name) {
15 public function offsetSet($name, $value) {
18 public function offsetUnset($name) {}
19 public function offsetExists($name) {}
H A Dbug20240.phpt12 function __construct() {
17 function destructor() {
21 function __destruct() {
25 function add() {
H A Dns_028.inc5 function __construct() {
8 static function Bar() {
13 function Bar() {
H A Dbug65372.phpt10 public static function Get()
21 function __construct()
26 public static function &GetCurrent()
31 public static function &Get()
H A Dbug68896.phpt7 function offsetGet($offset) {
10 function offsetSet($offset, $value) {
13 function offsetExists($offset) {
16 function offsetUnset($offset) {
/PHP-7.0/Zend/tests/type_declarations/
H A Dscalar_weak_reference.phpt8 function to_int(int &$x) {}
9 function to_float(float &$x) {}
10 function to_string(string &$x) {}
11 function to_bool(bool &$x) {}
H A Dcallable_001.phpt7 function baz() {}
8 static function foo() {}
10 function foo(callable $bar) {
13 $closure = function () {};
/PHP-7.0/ext/reflection/tests/
H A Dexception.inc3 function MyException($_errno, $_errmsg) {
8 function getErrno() {
12 function getErrmsg() {
/PHP-7.0/sapi/cli/tests/
H A D006.phpt61 Function [ <internal:pcre> function preg_match ] {
71 Function [ <internal:pcre> function preg_match_all ] {
81 Function [ <internal:pcre> function preg_replace ] {
91 Function [ <internal:pcre> function preg_replace_callback ] {
101 Function [ <internal:pcre> function preg_replace_callback_array ] {
110 Function [ <internal:pcre> function preg_filter ] {
120 Function [ <internal:pcre> function preg_split ] {
129 Function [ <internal:pcre> function preg_quote ] {
136 Function [ <internal:pcre> function preg_grep ] {
144 Function [ <internal:pcre> function preg_last_error ] {
/PHP-7.0/ext/standard/tests/array/
H A Duasort_object1.phpt2 Test uasort() function : object functionality
6 …* Description: Sort an array with a user-defined comparison function and maintain index associatio…
11 * Testing uasort() function with the array of objects
17 // comparison function
25 function simple_cmp($value1, $value2)
37 // comparison function for SimpleClass2 objects which has more than one members
38 function multiple_cmp($value1, $value2)
53 public function __construct($value) {
64 public function __construct($int, $float, $str) {
69 public function getValue() {
H A Darray_map_object1.phpt25 public function square($n) {
29 function test($cb, $args) {
39 private function add($n) {
49 protected function mul($n) {
65 abstract function emptyFunction();
72 public function emptyFunction() {
82 final function finalMethod() {
109 public function toImplement();
116 public function toImplement() {
173 This function can't be overloaded
[all …]
H A Darray_diff_ukey_error.phpt2 Test array_diff_ukey() function : error conditions
17 function key_compare_func($key1, $key2)
26 echo "\n-- Testing array_diff_ukey() function with more than expected no. of arguments --\n";
30 echo "\n-- Testing array_diff_ukey() function with less than expected no. of arguments --\n";
34 echo "\n-- Testing array_diff_ukey() function with no arguments --\n";
41 -- Testing array_diff_ukey() function with more than expected no. of arguments --
46 -- Testing array_diff_ukey() function with less than expected no. of arguments --
51 -- Testing array_diff_ukey() function with no arguments --
/PHP-7.0/Zend/tests/use_function/
H A Dconditional_function_declaration.phpt2 function that is conditionally defined at runtime should not cause compiler error
7 function foo() {
11 use function bar\foo;
/PHP-7.0/ext/spl/examples/
H A Ddualiterator.inc50 function getLHS()
57 function getRHS()
64 function setFlags($flags)
71 function getFlags()
78 function rewind()
86 function valid()
93 function current()
111 function key()
127 function next()
136 function areIdentical()
[all …]
/PHP-7.0/tests/lang/
H A Dbug20175.phpt10 * Storing the result of a function in a static variable.
18 function foo_global() {
24 function foo_static() {
38 * after the function call bar_global() is done in current local scope.
42 function bar_global() {
48 function bar_static() {
68 function &wow_global() {
75 function wow_static() {
98 function __construct() {
108 function __construct() {
[all …]
H A Dthis_assignment.phpt7 function me() { echo "first"; }
9 function who() {
23 function who() {
29 function me() { echo "second"; }
/PHP-7.0/tests/classes/
H A Dfinal_redeclare.phpt9 final function show() {
10 echo "Call to function pass::show()\n";
17 function show() {
18 echo "Call to function fail::show()\n";
/PHP-7.0/Zend/tests/traits/
H A Dconflict003.phpt8 public function smallTalk() {
11 public function bigTalk() {
17 public function smallTalk() {
20 public function bigTalk() {
H A Dlanguage005.phpt8 public function smallTalk() {
11 public function bigTalk() {
17 public function smallTalk() {
20 public function bigTalk() {
/PHP-7.0/ext/standard/tests/general_functions/
H A Dget_magic_quotes_gpc.phpt2 Test get_magic_quotes_gpc() function
6 * This function is not supported anymore and will always return false
9 echo "Simple testcase for get_magic_quotes_gpc() function\n";
19 Simple testcase for get_magic_quotes_gpc() function
H A Dget_magic_quotes_runtime.phpt2 Test get_magic_quotes_runtime() function
6 * This function is not supported anymore and will always return false
9 echo "Simple testcase for get_magic_quotes_runtime() function\n";
20 Simple testcase for get_magic_quotes_runtime() function

Completed in 31 milliseconds

1...<<21222324252627282930>>...303