Home
last modified time | relevance | path

Searched refs:function (Results 126 – 150 of 7171) sorted by relevance

12345678910>>...287

/PHP-7.0/ext/date/tests/
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-7.0/ext/reflection/tests/
H A DReflectionObject_isInstantiable_variation.phpt7 public static function reflectionObjectFactory() {
13 public function __construct() {}
14 public static function reflectionObjectFactory() {
20 protected function __construct() {}
21 public static function reflectionObjectFactory() {
27 private function __construct() {}
28 public static function reflectionObjectFactory() {
34 public function publicCtorOld() {}
35 public static function reflectionObjectFactory() {
41 protected function protectedCtorOld() {}
[all …]
H A DReflectionObject_isInstantiable_basic.phpt2 ReflectionObject::IsInstantiable() - basic function test
9 function f1();
13 function f1() {}
17 function f1() {}
18 abstract function f2();
22 function f2() {}
/PHP-7.0/ext/standard/tests/array/
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 …]
H A Darray_udiff_uassoc_variation6.phpt2 Test array_udiff_uassoc() function : usage variation
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 --
45 -- comparison function taking too many parameters --
53 -- comparison function taking too few parameters --
H A Darray_uintersect_variation5.phpt2 Test array_uintersect() 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 --
54 -- comparison function taking too few parameters --
/PHP-7.0/ext/standard/tests/strings/
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 Dhebrev_basic.phpt2 Test hebrev() function : basic functionality
13 $hebrew_text = "The hebrev function converts logical Hebrew text to visual text.\nThe function trie…
22 string(109) ".The hebrev function converts logical Hebrew text to visual text
23 .The function tries to avoid breaking words
29 hebrev function
33 .The function
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 --
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 …]
/PHP-7.0/ext/session/tests/
H A Dbug60634_error_1.phpt14 function open($save_path, $session_name) {
18 function close() {
23 function read($id) {
27 function write($id, $session_data) {
32 function destroy($id) {
36 function gc($maxlifetime) {
49 Fatal error: Uncaught Error: Call to undefined function undefined_function() in %s:%d
51 #0 [internal function]: write(%s, '')
/PHP-7.0/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-7.0/tests/classes/
H A Dfinal.phpt9 function show() {
10 echo "Call to function first::show()\n";
18 final function show() {
19 echo "Call to function second::show()\n";
29 Call to function first::show()
30 Call to function second::show()
/PHP-7.0/Zend/tests/
H A Dbug64720.phpt7 public static function getInstance() {
14 public function __destruct() {
20 public function __construct() {
27 public function __construct() {
33 public function __destruct() {
38 public function test() {
50 #0 [internal function]: Stat->__destruct()
H A Dmethods-on-non-objects-usort.phpt2 usort() in combination with "Call to a member function method() on null"
5 set_error_handler(function($code, $message) {
11 usort($list, function($a, $b) use ($comparator) {
24 string(43) "Call to a member function compare() on null"
26 string(43) "Call to a member function compare() on null"
28 string(43) "Call to a member function compare() on null"
30 string(43) "Call to a member function compare() on null"
H A Dbug47714.phpt2 Testing lambda function in set_exception_handler()
5 function au($class) {
7 function handle($e) {
13 function __autoload($class) {
19 set_exception_handler(function($exception) {
H A Dbug40833.phpt10 function __get($name)
18 function __set($name, $value)
28 function __construct($entity)
34 function clear() {
38 function offsetUnset($offset)
44 function offsetSet($offset, $value)
48 function offsetGet($offset)
53 function offsetExists($offset)
H A Dbug50383.phpt7 public static function __callStatic($method, $args) {
10 public function __call($method, $args) {
15 function thrower() {
18 function thrower2() {
46 [function] => __callStatic
64 [function] => thrower
79 [function] => __call
97 [function] => thrower2
/PHP-7.0/ext/xsl/tests/
H A Dxslt011.phpt2 Test 11: php:function Support
7 print "Test 11: php:function Support\n";
9 function __construct() {}
10 function __toString() { return "not a DomNode object";}
23 function foobar($id, $secondArg = "" ) {
30 function nodeSet($id = null) {
39 function nonDomNode() {
44 static function aStaticFunction($id) {
50 Test 11: php:function Support
/PHP-7.0/ext/spl/tests/
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() {
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 Diterator_058.phpt9 function current() {}
10 function next() {}
11 function key() {}
12 function valid() {}
13 function rewind() {}
/PHP-7.0/tests/lang/
H A Dbug27439.phpt16 public function __construct() {
20 public function getArray() {
24 public function getString() {
28 public function case1() {
34 public function case2() {
38 public function case3() {
42 public function case4() {
46 public function case5() {
50 public function case6() {
H A DreturnByReference.003.phpt2 Returning a reference from a function
5 function returnConstantByValue() {
9 function &returnConstantByRef() {
13 function &returnVariableByRef() {
17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
41 ---> 1. Trying to assign by reference the return value of a function that returns by value:
47 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
53 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
/PHP-7.0/ext/soap/tests/
H A Dclassmap004.phpt11 function __construct($a){
14 function __get($name) {
17 function __set($name, $val) {
20 function __unset($name) {
26 function __construct($a){
32 function f(){
38 function __construct($wsdl, $options) {
44 function __doRequest($request, $location, $action, $version, $one_way = 0) {

Completed in 37 milliseconds

12345678910>>...287