Home
last modified time | relevance | path

Searched refs:function (Results 101 – 125 of 6119) sorted by relevance

12345678910>>...245

/PHP-5.5/ext/date/tests/
H A Dgmmktime_variation7.phpt2 Test gmmktime() function : usage variation - Checking with few optional arguments.
20 echo "\n-- Testing gmmktime() function with one optional argument --\n";
23 echo "\n-- Testing gmmktime() function with two optional argument --\n";
26 echo "\n-- Testing gmmktime() function with three optional argument --\n";
29 echo "\n-- Testing gmmktime() function with four optional argument --\n";
32 echo "\n-- Testing gmmktime() function with five optional argument --\n";
40 -- Testing gmmktime() function with one optional argument --
43 -- Testing gmmktime() function with two optional argument --
46 -- Testing gmmktime() function with three optional argument --
49 -- Testing gmmktime() function with four optional argument --
[all …]
H A Dgmdate_variation10.phpt2 Test gmdate() function : usage variation - Passing Timezone format options to format argument.
17 echo "\n-- Testing gmdate() function with Timezone identifier format --\n";
25 echo "\n-- Testing gmdate() function with difference to GMT in hours format --\n";
33 echo "\n-- Testing gmdate() function with timezone abbreviation format --\n";
37 echo "\n-- Testing gmdate() function with timezone offset format --\n";
46 -- Testing gmdate() function with Timezone identifier format --
50 -- Testing gmdate() function with checking whether date is in daylight saving time format --
54 -- Testing gmdate() function with difference to GMT in hours format --
58 -- Testing gmdate() function with Difference to GMT in hours using colon as separator format --
62 -- Testing gmdate() function with timezone abbreviation format --
[all …]
/PHP-5.5/ext/standard/tests/filters/
H A Dphp_user_filter_01.phpt6 function filter($in, $out, &$consumed, $closing) {}
7 function onCreate() {}
8 function onClose() {}
11 function filter($in, $out, &$consumed) {}
12 function onCreate() {}
13 function onClose() {}
/PHP-5.5/ext/reflection/tests/
H A DReflectionFunction_getExtension.phpt5 function foo () {}
7 $function = new ReflectionFunction('sort');
8 var_dump($function->getExtension());
10 $function = new ReflectionFunction('foo');
11 var_dump($function->getExtension());
H A DReflectionClass_isIterateable_basic.phpt9 public function __construct() { }
10 public function key() {}
11 public function current() {}
12 function next() {}
13 function valid() {}
14 function rewind() {}
19 function dump_iterateable($class) {
/PHP-5.5/Zend/tests/
H A Dbug30828.phpt6 function __construct() {
10 print $t['class'].$t['type'].$t['function']."\n";
14 function foo() {
18 print $t['class'].$t['type'].$t['function']."\n";
22 static function bar() {
26 print $t['class'].$t['type'].$t['function']."\n";
32 function __construct() {
36 function foo() {
40 static function bar() {
H A Dbug48770.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) {
34 private function func2($str) {
37 protected function func3($str) {
43 public function func($str) {
H A Dns_040.phpt9 function f1($x=A) {
12 function f2($x=\X\A) {
15 function f3($x=Y\A) {
18 function f4($x=\X\A) {
21 function f5($x=B) {
24 function f6($x=array(A)) {
27 function f7($x=array("aaa"=>A)) {
30 function f8($x=array(A=>"aaa\n")) {
H A Dget_class_methods_002.phpt7 function a();
8 function b();
12 public function a() { }
13 public function b() { }
15 public function __construct() {
20 public function __destruct() { }
/PHP-5.5/Zend/tests/traits/
H A Dbug60717.phpt10 function text($text);
11 function attributes(array $attributes = null);
12 function textArea(array $attributes = null, $value);
17 function text($text) {}
22 function textArea(array $attributes = null, $value) {}
23 abstract function attributes(array $attributes = null);
24 abstract function text($text);
29 function attributes(array $attributes = null) { }
30 abstract function text($text);
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_class_016.phpt2 Test session_set_save_handler() function: class with create_sid
19 echo "*** Testing session_set_save_handler() function: class with create_sid ***\n";
24 public function open($path, $name) {
32 public function close() {
36 public function read($id) {
40 public function write($id, $data) {
44 public function destroy($id) {
48 public function gc($maxlifetime) {
57 public function create_sid() {
80 *** Testing session_set_save_handler() function: class with create_sid ***
H A Dsession_set_save_handler_class_017.phpt2 Test session_set_save_handler() function: class with create_sid
19 echo "*** Testing session_set_save_handler() function: class with create_sid ***\n";
24 public function open($path, $name) {
32 public function close() {
36 public function read($id) {
40 public function write($id, $data) {
44 public function destroy($id) {
48 public function gc($maxlifetime) {
57 public function create_sid() {
80 *** Testing session_set_save_handler() function: class with create_sid ***
H A Dsession_set_save_handler_iface_003.phpt2 Test session_set_save_handler() function: id interface
19 echo "*** Testing session_set_save_handler() function: id interface ***\n";
24 public function open($path, $name) {
32 public function close() {
36 public function read($id) {
40 public function write($id, $data) {
44 public function destroy($id) {
48 public function gc($maxlifetime) {
57 public function create_sid() {
80 *** Testing session_set_save_handler() function: id interface ***
H A Dsession_module_name_variation3.phpt2 Test session_module_name() function : variation
20 function open($save_path, $session_name) {
24 function close() { }
25 function read($id) { }
26 function write($id, $session_data) { }
27 function destroy($id) { }
28 function gc($maxlifetime) { }
46 #0 [internal function]: open('', 'PHPSESSID')
/PHP-5.5/ext/standard/tests/strings/
H A Dhebrevc_basic.phpt2 Test hebrevc() function : basic functionality
13function converts logical Hebrew text to visual text.\nThis function is similar to hebrev() with t…
22 string(239) ".The hebrevc function converts logical Hebrew text to visual text<br />
23 ) This function is similar to hebrev() with the difference that it converts newlines<br />
26 .The function tries to avoid breaking words<br />
32 function<br />
40 ) This function<br />
45 .The function<br />
H A Dhebrevc_variation2.phpt19 public function __toString() {
100 .The function tries to avoid breaking words<br />
129 .The function tries to avoid breaking words<br />
136 .The function tries to avoid breaking words<br />
143 .The function tries to avoid breaking words<br />
189 function<br />
200 function<br />
208 function<br />
253 .The function tries to avoid breaking words<br />
294 .The function tries to avoid breaking words<br />
[all …]
H A Dstrncasecmp_error.phpt2 Test strncasecmp() function : error conditions
10 echo "*** Testing strncasecmp() function: error conditions ***\n";
16 echo "\n-- Testing strncasecmp() function with Zero arguments --";
19 echo "\n-- Testing strncasecmp() function with less than expected number of arguments --";
23 echo "\n-- Testing strncasecmp() function with more than expected number of arguments --";
26 echo "\n-- Testing strncasecmp() function with invalid argument --";
32 *** Testing strncasecmp() function: error conditions ***
34 -- Testing strncasecmp() function with Zero arguments --
38 -- Testing strncasecmp() function with less than expected number of arguments --
45 -- Testing strncasecmp() function with more than expected number of arguments --
[all …]
H A Dconvert_cyr_string_error.phpt2 Test convert_cyr_string() function : error conditions
18 echo "\n-- Testing convert_cyr_string() function with no arguments --\n";
21 echo "\n-- Testing convert_cyr_string() function with no 'to' character set --\n";
27 echo "\n-- Testing convert_cyr_string() function with invalid 'from' character set --\n";
30 echo "\n-- Testing convert_cyr_string() function with invalid 'to' character set --\n";
41 -- Testing convert_cyr_string() function with no arguments --
46 -- Testing convert_cyr_string() function with no 'to' character set --
51 -- Testing convert_cyr_string() function with more than expected no. of arguments --
56 -- Testing convert_cyr_string() function with invalid 'from' character set --
61 -- Testing convert_cyr_string() function with invalid 'to' character set --
[all …]
H A Dstrrchr_error.phpt2 Test strrchr() function : error conditions
10 echo "*** Testing strrchr() function: error conditions ***\n";
15 echo "\n-- Testing strrchr() function with Zero arguments --";
18 echo "\n-- Testing strrchr() function with less than expected no. of arguments --";
21 echo "\n-- Testing strrchr() function with more than expected no. of arguments --";
27 *** Testing strrchr() function: error conditions ***
29 -- Testing strrchr() function with Zero arguments --
33 -- Testing strrchr() function with less than expected no. of arguments --
37 -- Testing strrchr() function with more than expected no. of arguments --
/PHP-5.5/ext/standard/tests/array/
H A Darray_uintersect_assoc_variation5.phpt2 Test array_uintersect_assoc() function : usage variation - differing comparison functions
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) {
40 -- comparison function with an incorrect return value --
44 -- comparison function taking too many parameters --
50 -- comparison function taking too few parameters --
H A Darray_filter_variation7.phpt2 Test array_filter() function : usage variations - anonymous callback functions
18 // anonymous callback function
19 echo "Anonymous callback function with regular parameter and statement\n";
22 // anonymous callback function with reference
23 echo "Anonymous callback function with reference parameter\n";
26 // anonymous callback function with null argument
30 // anonymous callback function with argument and null statement
31 echo "Anonymous callback function with regular argument and null statement\n";
38 Anonymous callback function with regular parameter and statement
47 Anonymous callback function with reference parameter
[all …]
/PHP-5.5/tests/classes/
H A Dctor_visibility.phpt8 function __construct()
16 function __construct()
22 static function f()
32 private function __construct()
37 static function f()
47 function __construct()
53 static function f()
/PHP-5.5/ext/standard/tests/general_functions/
H A Dcallbacks_001.phpt6 public static function who() {
9 public static function who2() {
15 public static function who() {
21 public function call($cb) {
25 public function test() {
37 public static function who() {
52 public function who() {
58 function __toString() {
61 public function who() {
64 public function call($cb) {
[all …]
/PHP-5.5/ext/spl/tests/
H A Diterator_041a.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 Darray_005.phpt11 public function __construct($id, $name)
17 public function __toString()
22 public function getId()
32 public function __construct(ArrayObject $students, Student $other)
38 public function accept()
49 public function __construct()
54 public function add(Student $student)
61 public function contains(Student $student)
72 public function getIterator() {

Completed in 45 milliseconds

12345678910>>...245