Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...294

/PHP-7.4/ext/opcache/tests/
H A Dwrong_inlining_001.phpt2 Pass result of inlined function by reference
11 function get_const() {
15 function test() {
20 function foo(&$ref) {}
/PHP-7.4/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 Dbug31683.phpt8 function __get($test) {
13 function __set($test, $val) {
20 function __call($test, $arg) {
25 function offsetget($test) {
31 function offsetset($test, $val) {
38 function offsetexists($test) {
43 function offsetunset($test) {
H A Dlsb_002.phpt2 ZE2 Late Static Binding in an instance function
10 protected static function staticFunction() {
14 public function testStaticVar() {
18 public function testClassConst() {
22 public function testStaticFunction() {
31 protected static function staticFunction() {
/PHP-7.4/ext/spl/tests/
H A Dfixedarray_019.phpt6 public function rewind() {
10 public function valid() {
14 public function next() {
18 public function current() {
22 public function key() {
H A Diterator_016.phpt8 function getIterator()
17 function __construct(Menu $it)
21 function rewind()
26 function beginChildren()
31 function endChildren()
35 function valid()
/PHP-7.4/ext/standard/tests/strings/
H A Dsscanf_error.phpt2 Test sscanf() function : error conditions
15 echo "\n-- Testing sscanf() function with no arguments --\n";
18 echo "\n-- Testing sscanf() function with one argument --\n";
21 echo "\n-- Testing sscanf() function with more than expected no. of arguments --\n";
30 -- Testing sscanf() function with no arguments --
35 -- Testing sscanf() function with one argument --
40 -- Testing sscanf() function with more than expected no. of arguments --
/PHP-7.4/ext/posix/tests/
H A Dposix_getgrgid_error.phpt2 Test posix_getgrgid() function : error conditions
18 echo "\n-- Testing posix_getgrgid() function with Zero arguments --\n";
22 echo "\n-- Testing posix_getgrgid() function with more than expected no. of arguments --\n";
28 echo "\n-- Testing posix_getgrgid() function with a negative group id --\n";
37 -- Testing posix_getgrgid() function with Zero arguments --
42 -- Testing posix_getgrgid() function with more than expected no. of arguments --
47 -- Testing posix_getgrgid() function with a negative group id --
H A Dposix_strerror_error.phpt2 Test posix_strerror() function : error conditions
17 echo "\n-- Testing posix_strerror() function with Zero arguments --\n";
20 echo "\n-- Testing posix_strerror() function with more than expected no. of arguments --\n";
25 echo "\n-- Testing posix_strerror() function with invalid error number --\n";
34 -- Testing posix_strerror() function with Zero arguments --
39 -- Testing posix_strerror() function with more than expected no. of arguments --
44 -- Testing posix_strerror() function with invalid error number --
/PHP-7.4/ext/fileinfo/tests/
H A Dfinfo_close_error.phpt2 Test finfo_close() function : error conditions
19 echo "\n-- Testing finfo_close() function with Zero arguments --\n";
22 echo "\n-- Testing finfo_close() function with more than expected no. of arguments --\n";
25 echo "\n-- Testing finfo_close() function with wrong resource type --\n";
33 -- Testing finfo_close() function with Zero arguments --
38 -- Testing finfo_close() function with more than expected no. of arguments --
43 -- Testing finfo_close() function with wrong resource type --
/PHP-7.4/ext/date/tests/
H A Ddate_default_timezone_set_error.phpt2 Test date_default_timezone_set() function : error variations
12 echo "\n-- Testing date_default_timezone_set() function with less than expected no. of arguments --…
15 echo "\n-- Testing date_default_timezone_set() function with more than expected no. of arguments --…
19 echo "\n-- Testing date_default_timezone_set() function with invalid timezone identifier --\n";
27 -- Testing date_default_timezone_set() function with less than expected no. of arguments --
32 -- Testing date_default_timezone_set() function with more than expected no. of arguments --
37 -- Testing date_default_timezone_set() function with invalid timezone identifier --
H A Dgmdate_variation4.phpt2 Test gmdate() function : usage variation - Passing textual representation of day formats.
17 echo "\n-- Testing gmdate() function with partial textual representation of day --\n";
21 echo "\n-- Testing gmdate() function with full textual representation of day --\n";
25 echo "\n-- Testing gmdate() function with English ordinal suffix --\n";
34 -- Testing gmdate() function with partial textual representation of day --
38 -- Testing gmdate() function with full textual representation of day --
42 -- Testing gmdate() function with English ordinal suffix --
/PHP-7.4/ext/exif/tests/
H A Dexif_imagetype_error.phpt2 Test exif_imagetype() function : error conditions
15 echo "\n-- Testing exif_imagetype() function with no arguments --\n";
18 echo "\n-- Testing exif_imagetype() function with more than expected no. of arguments --\n";
22 echo "\n-- Testing exif_imagetype() function with an unknown file --\n";
31 -- Testing exif_imagetype() function with no arguments --
36 -- Testing exif_imagetype() function with more than expected no. of arguments --
41 -- Testing exif_imagetype() function with an unknown file --
/PHP-7.4/ext/standard/tests/general_functions/
H A Dusleep_error.phpt2 Test usleep() function : error conditions
14 echo "\n-- Testing usleep() function with zero arguments --\n";
17 echo "\n-- Testing usleep() function with more than expected no. of arguments --\n";
22 echo "\n-- Testing usleep() function with negative interval --\n";
31 -- Testing usleep() function with zero arguments --
36 -- Testing usleep() function with more than expected no. of arguments --
41 -- Testing usleep() function with negative interval --
H A Dsleep_error.phpt2 Test sleep() function : error conditions
13 echo "\n-- Testing sleep() function with zero arguments --\n";
16 echo "\n-- Testing sleep() function with more than expected no. of arguments --\n";
21 echo "\n-- Testing sleep() function with negative interval --\n";
30 -- Testing sleep() function with zero arguments --
35 -- Testing sleep() function with more than expected no. of arguments --
40 -- Testing sleep() function with negative interval --
/PHP-7.4/Zend/tests/function_arguments/
H A Dargument_count_incorrect_userland_strict.phpt2 Call userland function with incorrect number of arguments with strict types
7 function foo($bar) { }
15 function bar($foo, $bar) { }
22 function bat(int $foo, string $bar) { }
46 Too few arguments to function foo(), 0 passed in %s and exactly 1 expected
48 Too few arguments to function bar(), 1 passed in %s and exactly 2 expected
50 Too few arguments to function bat(), 1 passed in %s and exactly 2 expected
/PHP-7.4/ext/xml/tests/
H A Dxml_set_processing_instruction_handler_basic.phpt2 Test xml_set_processing_instruction_handler function : basic
12 * Description: Sets the processing instruction (PI) handler function for the XML parser.
20 function PIHandler($parser, $target, $data)
26 function parse($data)
43 echo "Simple test of xml_set_processing_instruction_handler() function\n";
49 Simple test of xml_set_processing_instruction_handler() function
/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload_error5.phpt6 spl_autoload_register(function($class) {
9 public function method(): X {}
14 public function method(): Y {}
19 public function method(Y $a) {}
24 public function method(Z $a) {}
29 public function method($a) {}
/PHP-7.4/Zend/tests/anon/
H A D005.phpt8 public function __construct(&$data) {
13 public function getArrayAccess() {
17 public function offsetGet($offset) { return $this->data[$offset]; }
18 public function offsetSet($offset, $data) { return ($this->data[$offset] = $data); }
19 public function offsetUnset($offset) { unset($this->data[$offset]); }
20 public function offsetExists($offset) { return isset($this->data[$offset]); }
/PHP-7.4/ext/standard/tests/array/
H A Dcompact_this.phpt8 function test(){
16 function test(){
24 function test(){
25 return (function(){ return compact('this'); })();
/PHP-7.4/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());
/PHP-7.4/ext/standard/tests/streams/
H A Dbug78662.phpt6 function stream_open($path, $mode, $options, &$opened_path)
10 function stream_read($count)
14 function stream_write($data)
18 function stream_stat()
/PHP-7.4/tests/classes/
H A Ddereferencing_001.phpt7 function __construct($_name) {
11 function display() {
19 function __construct($_name, $_address) {
23 function getName() {
H A Dstatic_this.phpt2 ZE2 $this can be an argument to a static function
8 function __construct()
14 static function Test1()
19 static function Test2($this)

Completed in 82 milliseconds

1...<<11121314151617181920>>...294