Home
last modified time | relevance | path

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

12345678910>>...250

/PHP-5.5/ext/xsl/tests/
H A Dxslt011.phpt2 Test 11: php:function Support
7 print "Test 11: php:function Support\n";
9 function foo() {}
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-5.5/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-5.5/ext/session/tests/
H A Dbug60634_error_3.phpt13 function open($save_path, $session_name) {
17 function close() {
22 function read($id) {
26 function write($id, $session_data) {
31 function destroy($id) {
35 function gc($maxlifetime) {
46 Fatal error: Call to undefined function undefined_function() in %s on line %d
H A Dbug60634_error_5.phpt13 function open($save_path, $session_name) {
17 function close() {
22 function read($id) {
26 function write($id, $session_data) {
30 function destroy($id) {
34 function gc($maxlifetime) {
47 Fatal error: Call to undefined function undefined_function() in %s on line %d
H A Dsession_set_save_handler_error3.phpt2 Test session_set_save_handler() function : error functionality
20 function open($save_path, $session_name) {
24 function close() { return true; }
25 function read($id) { return false; }
26 function write($id, $session_data) { }
27 function destroy($id) { return true; }
28 function gc($maxlifetime) { return true; }
39 #0 [internal function]: open('', 'PHPSESSID')
H A Dbug60634_error_1.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) {
47 Fatal error: Call to undefined function undefined_function() in %s on line %d
H A Dbug60634_error_4.phpt13 function open($save_path, $session_name) {
17 function close() {
22 function read($id) {
26 function write($id, $session_data) {
31 function destroy($id) {
35 function gc($maxlifetime) {
48 #0 [internal function]: write('%s', '')
/PHP-5.5/ext/standard/tests/strings/
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 Dstristr_error.phpt2 Test stristr() function : error conditions
11 echo "\n-- Testing stristr() function with no arguments --\n";
15 echo "\n-- Testing stristr() function with no needle --\n";
18 echo "\n-- Testing stristr() function with more than expected no. of arguments --\n";
22 echo "\n-- Testing stristr() function with empty haystack --\n";
25 echo "\n-- Testing stristr() function with empty needle --\n";
33 -- Testing stristr() function with no arguments --
41 -- Testing stristr() function with no needle --
46 -- Testing stristr() function with more than expected no. of arguments --
51 -- Testing stristr() function with empty haystack --
[all …]
/PHP-5.5/ext/reflection/tests/
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-5.5/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-5.5/ext/standard/tests/array/
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 --
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_map_variation15.phpt2 Test array_map() function : usage variations - non existent 'callback' function
11 * Test array_map() by passing non existent function for $callback argument
14 echo "*** Testing array_map() : non existent 'callback' function ***\n";
26 *** Testing array_map() : non existent 'callback' function ***
28 …map() expects parameter 1 to be a valid callback, function 'non_existent' not found or invalid fun…
/PHP-5.5/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) {
/PHP-5.5/Zend/tests/
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 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 Dbug32993.phpt2 Bug #32993 (implemented Iterator function current() don't throw exception)
9 public function rewind() { return reset($this->arr); }
10 public function current() { throw new Exception(); }
11 public function key() { return key($this->arr); }
12 public function next() { return next($this->arr); }
13 public function valid() { return (current($this->arr) !== false); }
H A Ddereference_005.phpt10 public function __construct() {
17 public function offsetSet($offset, $value) {
20 public function offsetExists($offset) {
23 public function offsetUnset($offset) {
26 public function offsetGet($offset) {
31 function x() {
/PHP-5.5/ext/date/tests/
H A Dgmdate_variation7.phpt2 Test gmdate() function : usage variation - Passing Year format options to format argument.
18 echo "\n-- Testing gmdate() function with checking non leap year using Leap Year format --\n";
21 echo "\n-- Testing gmdate() function with checking leap year using Leap Year format --\n";
25 echo "\n-- Testing gmdate() function with ISO-8601 year number format --\n";
29 echo "\n-- Testing gmdate() function with full numeric representation of year format --\n";
33 echo "\n-- Testing gmdate() function with 2 digit representation year format --\n";
42 -- Testing gmdate() function with checking non leap year using Leap Year format --
45 -- Testing gmdate() function with checking leap year using Leap Year format --
49 -- Testing gmdate() function with ISO-8601 year number format --
53 -- Testing gmdate() function with full numeric representation of year format --
[all …]
H A Dgmdate_variation8.phpt2 Test gmdate() function : usage variation - Passing Year format options to format argument.
18 echo "\n-- Testing gmdate() function with checking non leap year using Leap Year format --\n";
21 echo "\n-- Testing gmdate() function with checking leap year using Leap Year format --\n";
25 echo "\n-- Testing gmdate() function with ISO-8601 year number format --\n";
29 echo "\n-- Testing gmdate() function with full numeric representation of year format --\n";
33 echo "\n-- Testing gmdate() function with 2 digit representation year format --\n";
42 -- Testing gmdate() function with checking non leap year using Leap Year format --
45 -- Testing gmdate() function with checking leap year using Leap Year format --
49 -- Testing gmdate() function with ISO-8601 year number format --
53 -- Testing gmdate() function with full numeric representation of year format --
[all …]
/PHP-5.5/ext/spl/tests/
H A Diterator_058.phpt9 function current() {}
10 function next() {}
11 function key() {}
12 function valid() {}
13 function rewind() {}
H A Dregexiterator_setpregflags.phpt11 function current (){}
12 function key ( ){}
13 function next ( ){}
14 function rewind ( ){}
15 function valid ( ){}
/PHP-5.5/ext/sqlite3/tests/
H A Dstream_test.inc9 public function stream_open($path, $mode, $options, &$opened_path)
15 public function stream_read($count)
22 public function stream_write($data)
27 public function stream_stat()
32 public function stream_tell()
37 public function stream_eof()

Completed in 24 milliseconds

12345678910>>...250