Home
last modified time | relevance | path

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

12345678910>>...261

/PHP-5.5/ext/gd/tests/
H A Dfunc.inc3 function get_gd_version()
8 function get_php_info()
18 function get_freetype_version()
29 function get_libjpeg_version()
40 function get_libpng_version()
51 function get_libxpm_version()
/PHP-5.5/tests/classes/
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() {
H A Darray_access_009.phpt10 function proxyGet($element);
12 function proxyUnset($element, $index);
31 function offsetExists($index) {
36 function offsetGet($index) {
47 function offsetUnset($index) {
57 function __construct()
62 function offsetExists($index)
67 function offsetGet($index)
72 function offsetSet($index, $value)
77 function offsetUnset($index)
[all …]
/PHP-5.5/ext/spl/tests/
H A Diterator_041.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 Dregexiterator_getpregflags.phpt11 function current (){}
12 function key ( ){}
13 function next ( ){}
14 function rewind ( ){}
15 function valid ( ){}
/PHP-5.5/ext/standard/tests/array/
H A Darray_filter_variation5.phpt2 Test array_filter() function : usage variations - 'input' argument with different false entries
11 * With default callback function argument, array_filter() removes elements which are interpreted as…
15 // callback function always_true
16 function always_true($input)
21 // callback function always_false
22 function always_false($input)
57 // With default callback function
60 // With callback function which returns always true
63 // With callback function which returns always false
H A Darray_uintersect_uassoc_variation6.phpt2 Test array_uintersect_uassoc() function : usage variation - incorrect callbacks
16 echo "\n-- comparison function with an incorrect return value --\n";
17 function incorrect_return_value ($val1, $val2) {
22 echo "\n-- comparison function taking too many parameters --\n";
23 function too_many_parameters ($val1, $val2, $val3) {
28 echo "\n-- comparison function taking too few parameters --\n";
29 function too_few_parameters ($val1) {
39 -- comparison function with an incorrect return value --
43 -- comparison function taking too many parameters --
53 -- comparison function taking too few parameters --
H A Dshuffle_basic2.phpt2 Test shuffle() function : basic functionality - with associative array
14 * before and after shuffle() function is applied on it
27 echo "\n-- input array before shuffle() function is applied --\n";
30 // applying shuffle() function on the input array
31 echo "\n-- return value from shuffle() function --\n";
32 var_dump( shuffle($array_arg) ); // prints the return value from shuffle() function
34 echo "\n-- resultant array after shuffle() function is applied --\n";
42 -- input array before shuffle() function is applied --
64 -- return value from shuffle() function --
67 -- resultant array after shuffle() function is applied --
/PHP-5.5/ext/date/tests/
H A Dgmdate_variation12.phpt2 Test gmdate() function : usage variation - Valid and invalid range of timestamp.
17 echo "\n-- Testing gmdate() function with minimum range of timestamp --\n";
21 echo "\n-- Testing gmdate() function with less than the range of timestamp --\n";
24 echo "\n-- Testing gmdate() function with maximum range of timestamp --\n";
28 echo "\n-- Testing gmdate() function with greater than the range of timestamp --\n";
37 -- Testing gmdate\(\) function with minimum range of timestamp --
40 -- Testing gmdate\(\) function with less than the range of timestamp --
43 -- Testing gmdate\(\) function with maximum range of timestamp --
46 -- Testing gmdate\(\) function with greater than the range of timestamp --
H A Dgmdate_variation6.phpt2 Test gmdate() function : usage variation - Passing Month format options to format argument.
17 echo "\n-- Testing gmdate() function with full textual representation of month format --\n";
21 echo "\n-- Testing gmdate() function with numeric representation of month format --\n";
25 echo "\n-- Testing gmdate() function with short textual representation of month format --\n";
29 echo "\n-- Testing gmdate() function with numeric representation of month without leading zeros for…
33 echo "\n-- Testing gmdate() function with number of days in a month format --\n";
42 -- Testing gmdate() function with full textual representation of month format --
46 -- Testing gmdate() function with numeric representation of month format --
50 -- Testing gmdate() function with short textual representation of month format --
54 -- Testing gmdate() function with numeric representation of month without leading zeros format --
[all …]
/PHP-5.5/tests/lang/
H A Dbug24926.phpt2 Bug #24926 (lambda function (create_function()) cannot be stored in a class property)
12 function foo()
14 $function = create_function('', 'return "FOO\n";');
15 print($function());
17 $this->functions['test'] = $function;
H A Dengine_assignExecutionOrder_005.phpt6 function i1() {
11 function i2() {
16 function i3() {
21 function i4() {
26 function i5() {
31 function i6() {
H A DpassByReference_007.phpt2 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 …]
/PHP-5.5/ext/standard/tests/mail/
H A Dezmlm_hash_error.phpt2 Test ezmlm_hash() function : error conditions
12 echo "\n-- Testing ezmlm_hash() function with fewer than expected no. of arguments --\n";
15 echo "\n-- Testing ezmlm_hash() function with more than expected no. of arguments --\n";
19 echo "\n-- Testing ezmlm_hash() function with invalid input - ARRAY --\n";
24 echo "\n-- Testing ezmlm_hash() function with invalid input - OBJECT without 'cast_object' method -…
31 echo "\n-- Testing ezmlm_hash() function with invalid input - RESOURCE --\n";
42 -- Testing ezmlm_hash() function with fewer than expected no. of arguments --
47 -- Testing ezmlm_hash() function with more than expected no. of arguments --
52 -- Testing ezmlm_hash() function with invalid input - ARRAY --
57 -- Testing ezmlm_hash() function with invalid input - OBJECT without 'cast_object' method --
[all …]
/PHP-5.5/ext/standard/tests/general_functions/
H A Dgetrusage_error.phpt2 Test getrusage() function : error conditions - incorrect number of args
22 echo "\n-- Testing getrusage() function with more than expected no. of arguments --\n";
30 echo "\n-- Testing getrusage() function with invalid argument - ARRAY--\n";
34 echo "\n-- Testing getrusage() function with invalid argument - OBJECT --\n";
37 function __toString() {
44 echo "\n-- Testing getrusage() function with invalid argument - RESOURCE --\n";
54 -- Testing getrusage() function with more than expected no. of arguments --
58 -- Testing getrusage() function with invalid argument - non-numeric STRING--
62 -- Testing getrusage() function with invalid argument - ARRAY--
66 -- Testing getrusage() function with invalid argument - OBJECT --
[all …]
/PHP-5.5/ext/spl/internal/
H A Dfilteriterator.inc35 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 …]
H A Demptyiterator.inc23 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()
/PHP-5.5/Zend/tests/
H A Dget_defined_vars.phpt9 /* 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 Dbug30346.phpt8 public function __construct() { }
9 public function offsetExists( $offset ) { return false; }
10 public function offsetGet( $offset ) { return $offset; }
11 public function offsetSet( $offset, $data ) { }
12 public function offsetUnset( $offset ) { }
H A Dbug32674.phpt9 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 Dbug48770_3.phpt9 public function func($str) {
12 private function func2($str) {
15 protected function func3($str) {
18 private function func22($str) {
24 public function func($str) {
29 private function func2($str) {
32 protected function func3($str) {
38 public function func($str) {
/PHP-5.5/ext/session/tests/
H A Dbug60634_error_2.phpt13 function open($save_path, $session_name) {
17 function close() {
21 function read($id) {
25 function write($id, $session_data) {
30 function destroy($id) {
34 function gc($maxlifetime) {
49 #0 [internal function]: write('%s', '')
H A Dbug60634.phpt13 function open($save_path, $session_name) {
17 function close() {
21 function read($id) {
25 function write($id, $session_data) {
29 function destroy($id) {
33 function gc($maxlifetime) {
/PHP-5.5/ext/reflection/tests/
H A DReflectionFunction_isGenerator_basic.phpt6 $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 DReflectionFunction_getClosure_basic.phpt2 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"

Completed in 48 milliseconds

12345678910>>...261