Searched refs:function (Results 251 – 275 of 7209) sorted by relevance
1...<<11121314151617181920>>...289
/PHP-7.4/Zend/tests/ |
H A D | bug69568.phpt | 2 Bug #69568: call a private function in closure failed 7 private static function testprivate() { 10 public static function test() { 11 return function() {
|
H A D | bug24635.phpt | 6 function __construct() { $this->page = new PageClass(); } 9 function Display() { 14 function __construct($comment) { 17 function __destruct() { 22 function out($code) { return; }
|
H A D | bug26802.phpt | 6 function global_func() 11 $function = 'global_func'; 12 $function(); 18 static public function foo_func() 26 * properties and then do the function call.
|
H A D | lsb_016.phpt | 8 public static function who() { 15 public function __get($var) { 19 public function __set($var, $val) { 23 public function __call($name, $args) { 27 public static function who() {
|
H A D | bug79657.phpt | 6 function throwException(): iterable 11 function loop(): iterable 14 function () { 17 function () { 27 function get(string $first, int $second): array
|
H A D | bug47714.phpt | 2 Testing lambda function in set_exception_handler() 5 function au($class) { 7 function handle($e) { 15 set_exception_handler(function($exception) {
|
H A D | bug71163.phpt | 5 spl_autoload_register(function ($name) { 6 eval ("class $name extends Exception { public static function foo() {}}"); 10 function test2() { 18 function test() {
|
H A D | lsb_012.phpt | 2 ZE2 Late Static Binding call to static::method() from internal function (string) 7 static function ok() { 10 static function test() { 16 static function ok() {
|
H A D | bug47320.phpt | 12 function foo() { 14 echo '$php_errormsg in function: ' . $php_errormsg . "\n"; 16 echo '$GLOBALS[php_errormsg] in function: ' . 25 $php_errormsg in function: strpos() expects at least 2 parameters, 1 given 26 $GLOBALS[php_errormsg] in function: substr() expects at least 2 parameters, 1 given
|
H A D | bug62991.phpt | 6 function test( array $array ) 8 $closure = function() use ( $array ) { 15 function test2( array $array ) 17 $closure = function() use ( $array ) { 21 return $closure; // if you return the $closure and call it outside this function it works.
|
H A D | closure_032.phpt | 6 function test(closure $a) { 11 $c = function($param) { print_r(debug_backtrace()); debug_print_backtrace(); }; 23 [function] => {closure} 39 [function] => {closure} 51 [function] => test
|
H A D | magic_methods_001.phpt | 7 function __unset($a) { 12 public function __call($a, $b) { 16 function __clone() { 19 static public function __callstatic($a, $b) { 23 public function __tostring() {
|
/PHP-7.4/Zend/tests/grammar/ |
H A D | regression_004.phpt | 2 Test possible function naming regression on procedural scope 8 function echo(){} // valid 9 function return(){} // valid 12 function echo(){} // not valid
|
/PHP-7.4/ext/spl/tests/ |
H A D | observer_002.phpt | 8 function rewind() 14 function valid() 20 function key() 26 function current() 32 function next() 43 function __construct($name = 'obj') 53 function getName() 82 function count() 87 function notify() 96 function getName() [all …]
|
H A D | bug42703.phpt | 7 public function rewind() { } 9 public function next() { } 11 public function valid() { 15 public function current() 20 public function key() { }
|
H A D | bug73896.phpt | 6 public static function call($callable, array $args) { 12 public function __construct() { 16 public function __call($method, $args) { 20 protected function autoload($class) { 24 public function doSomething() {
|
/PHP-7.4/Zend/tests/use_function/ |
H A D | define_imported.phpt | 2 defining function with same name as imported should fail 7 use function foo\bar; 9 function bar() {} 14 Fatal error: Cannot declare function bar because the name is already in use in %s on line %d
|
/PHP-7.4/Zend/tests/function_arguments/ |
H A D | argument_count_correct.phpt | 2 Call function with correct number of arguments 5 function foo() { } 8 function bar($foo, $bar) { } 11 function bat(int $foo, string $bar) { }
|
H A D | argument_count_correct_strict.phpt | 2 Call function with correct number of arguments with strict types 6 function foo() { } 9 function bar($foo, $bar) { } 12 function bat(int $foo, string $bar) { }
|
/PHP-7.4/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 …]
|
/PHP-7.4/Zend/tests/generators/ |
H A D | nested_calls_with_die.phpt | 6 function gen() { 11 function function_with_3_args() { 16 function function_with_4_args() { 20 function outerGen() {
|
/PHP-7.4/tests/lang/ |
H A D | static_variation_001.phpt | 8 function f1() { 11 function g1() { 26 function f2() { 29 function g2a() { 34 eval('function g2b() { static $b = array(7, 8, 9); var_dump($b); } '); 44 eval(' function f3() { static $c = array(1,2,3); var_dump($c); }');
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | __serialize_003.phpt | 7 public function __sleep() { 11 public function __wakeup() { 15 public function __serialize() { 20 public function __unserialize(array $data) { 25 public function serialize() { 30 public function unserialize($payload) {
|
/PHP-7.4/Zend/tests/traits/ |
H A D | bug55554c.phpt | 12 public function __construct() { 15 public function ReportCollision() { 21 public function __construct() { 24 public function ReportCollision() { 32 public function __construct() { 35 public function ReportCollision() {
|
/PHP-7.4/Zend/tests/varSyntax/ |
H A D | indirectFcall.phpt | 2 Indirect function calls 6 function id($x = 'id') { return $x; } 18 $id = function($x) { return $x; }; 22 (function($x) { return $x; })('id')('var_dump')(8); 24 ($f = function($x = null) use (&$f) { 29 public static function id($x = [__CLASS__, 'id']) { return $x; }
|
Completed in 35 milliseconds
1...<<11121314151617181920>>...289