Searched refs:function (Results 201 – 225 of 7470) sorted by relevance
12345678910>>...299
/PHP-7.2/Zend/tests/ |
H A D | bug32674.phpt | 9 public function __construct() { 12 public function rewind() { 16 public function count() { 20 public function current() { 25 public function next() { 30 public function key() { 36 public function valid() {
|
H A D | get_defined_vars.phpt | 9 /* Various variables definitions used for testing of the function */ 21 public function func() { 28 function func() { 35 /* Displaying various variable through the array captured by the get_defined_vars function call */ 46 echo "\n*** Checking for output when get_defined_vars called in local function ***\n"; 50 echo "\n*** Checking for output when get_defined_vars called in function of a class ***\n"; 54 function func1(){ 57 function func2(){ 68 *** Displaying various variables through the array captured by the get_defined_vars function call *… 106 *** Checking for output when get_defined_vars called in local function *** [all …]
|
H A D | bug49269.phpt | 8 function valid() 12 function current() {return $this->n;} 13 function next() {$this->n++;} 14 function key() { } 15 function rewind() {$this->n = 0;}
|
H A D | bug65108.phpt | 6 private function f() {} 7 static function __callStatic($name, $args) {} 11 public function __construct() { 20 private function f() {} 21 function __call($name, $args) {}
|
H A D | bug54367.phpt | 7 public function offsetSet($offset, $value) { } 8 public function offsetExists($offset) { } 9 public function offsetUnset($offset) { } 11 public function offsetGet ($offset) 13 return function ($var) use ($offset) { // here is the problem
|
H A D | objects_021.phpt | 9 public function __construct() { 13 public function __set($a, $b) { 17 public function __get($a) { 21 public function __call($a, $b) { 26 function x() {
|
H A D | bug70895.phpt | 11 …ay_map\(\) expects parameter 1 to be a valid callback, function '%n' not found or invalid function… 13 …_map\(\) expects parameter 1 to be a valid callback, function '%n %i' not found or invalid functio… 15 … expects parameter 1 to be a valid callback, function '%n %i aoeu %f aoeu %p' not found or invalid…
|
H A D | dereference_001.phpt | 7 function a() { 12 function b() { 20 public function test() { 25 function c() { 30 function d() { 36 function e() {
|
/PHP-7.2/ext/spl/internal/ |
H A D | emptyiterator.inc | 23 function rewind() 30 function valid() 35 /** This function must not be called. It throws an exception upon access. 39 function current() 44 /** This function must not be called. It throws an exception upon access. 48 function key() 56 function next()
|
H A D | filteriterator.inc | 35 function __construct(Iterator $it) { 42 function rewind() { 54 abstract function accept(); 61 protected function fetch() { 75 function next() { 83 function valid() { 90 function key() { 97 function current() { 104 protected function __clone() { 111 function getInnerIterator() [all …]
|
/PHP-7.2/tests/lang/ |
H A D | passByReference_007.phpt | 2 Pass function and method calls by reference and by value. 6 static function sreturnVal() { 11 static function &sreturnReference() { 16 function returnVal() { 21 function &returnReference() { 27 function returnVal() { 32 function &returnReference() { 39 function foo(&$ref) { 45 echo "Pass a function call that returns a value:\n"; 80 Pass a function call that returns a value: [all …]
|
H A D | bug24926.phpt | 2 Bug #24926 (lambda function (create_function()) cannot be stored in a class property) 12 function __construct() 14 $function = create_function('', 'return "FOO\n";'); 15 print($function()); 17 $this->functions['test'] = $function;
|
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionFunction_getClosure_basic.phpt | 2 Test ReflectionFunction::getClosure() function : basic functionality 6 * Description: Returns a dynamically created closure for the function 13 function foo() 15 var_dump( "Inside foo function" ); 18 function bar( $arg ) 35 string(19) "Inside foo function"
|
H A D | ReflectionFunction_isGenerator_basic.phpt | 6 $closure1 = function() {return "this is a closure"; }; 7 $closure2 = function($param) { 17 function func1() { 21 function func2() { 33 public function f1() { 36 public function f2() {
|
H A D | ReflectionGenerator_getTrace.phpt | 6 function foo() { 11 function bar() 16 function baz() 35 ["function"]=> 47 ["function"]=>
|
/PHP-7.2/Zend/tests/anon/ |
H A D | 004.phpt | 8 public function __construct($data) { 12 public function getArrayAccess() { 15 public function offsetGet($offset) { return $this->data[$offset]; } 16 public function offsetSet($offset, $data) { return ($this->data[$offset] = $data); } 17 public function offsetUnset($offset) { unset($this->data[$offset]); } 18 public function offsetExists($offset) { return isset($this->data[$offset]); }
|
/PHP-7.2/Zend/tests/type_declarations/ |
H A D | strict_nested.phpt | 2 Test nested function calls in strict_types=0 and strict_types=1 modes 6 function takes_int(int $x) { 17 function strict_calls_takes_int() { 22 public function call() { 29 function explicit_weak_calls_takes_int() { 34 public function call() {
|
/PHP-7.2/Zend/tests/use_function/ |
H A D | conflicting_use.phpt | 2 use function statements with conflicting names 7 function baz() { 13 function baz() { 19 use function foo\baz, bar\baz; 25 Fatal error: Cannot use function bar\baz as baz because the name is already in use in %s on line %d
|
/PHP-7.2/Zend/tests/return_types/ |
H A D | void_disallowed1.phpt | 6 function foo(): void { 7 return NULL; // not permitted in a void function 10 // Note the lack of function call: function validated at compile-time 12 Fatal error: A void function must not return a value (did you mean "return;" instead of "return nul…
|
/PHP-7.2/ext/spl/tests/ |
H A D | arrayObject___construct_error2.phpt | 7 function current() {} 8 function next() {} 9 function key() {} 10 function valid() {} 11 function rewind() {}
|
H A D | bug71202.phpt | 2 Bug #71202 (Autoload function registered by another not activated immediately) 6 function inner_autoload ($name){ 9 function __construct(){ 15 function __construct() { 22 spl_autoload_register(function ($name) {
|
/PHP-7.2/ext/pcre/tests/ |
H A D | preg_replace_callback_array.phpt | 7 public function __invoke() { 13 public static function rep($rep) { 18 function b() { 25 "/b/" => function () { return "c"; }, 33 "/b/" => function () { return "ok"; }, 41 "/b/" => function($a) { return "ok"; }), 'a', -1, $count));
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_map_variation11.phpt | 2 Test array_map() function : usage variations - with recursive callback 11 * Test array_map() by passing subarrays and recursive callback function 14 echo "*** Testing array_map() : recursive callback function ***\n"; 16 // callback function 17 function square_recur_single_array($var) { 30 *** Testing array_map() : recursive callback function ***
|
/PHP-7.2/Zend/tests/traits/ |
H A D | bug55355.phpt | 6 // A trait that has a abstract function 8 function bar() { 11 abstract function foo(); 17 function foo() {} 25 function foo() {} 32 function foo() {}
|
/PHP-7.2/ext/phar/phar/ |
H A D | pharcommand.inc | 27 // {{{ public function cli_get_SP2 33 // {{{ public function cli_get_SP3 47 // {{{ static function phar_args 185 // {{{ static function strEndsWith 441 static function cli_cmd_inf_pack() 456 static function cli_cmd_arg_pack() 529 // {{{ function phar_set_stub_end 544 // {{{ function cli_cmd_run_pack 614 // {{{ static function phar_add 968 static function cli_cmd_inf_add() [all …]
|
Completed in 31 milliseconds
12345678910>>...299