Home
last modified time | relevance | path

Searched refs:function (Results 501 – 525 of 6887) sorted by relevance

1...<<21222324252627282930>>...276

/PHP-5.5/ext/standard/tests/strings/
H A Dstrval_error.phpt2 Test strval() function : usage variations - error conditions
23 echo "\n-- Testing strval() function with more than expected no. of arguments --\n";
27 echo "\n-- Testing strval() function with less than expected no. of arguments --\n";
31 echo "\n-- Testing strval() function with object which has not toString() method --\n";
39 -- Testing strval() function with more than expected no. of arguments --
44 -- Testing strval() function with less than expected no. of arguments --
49 -- Testing strval() function with object which has not toString() method --
/PHP-5.5/ext/standard/tests/url/
H A Dget_headers_error_002.phpt2 Test get_headers() function: wrong type for argument format
18 echo "\n-- Testing get_headers() function with format argument as type string --\n";
22 echo "\n-- Testing get_headers() function with format argument as type array --\n";
31 echo "\n-- Testing get_headers() function with format argument as type object --\n";
40 -- Testing get_headers() function with format argument as type string --
45 -- Testing get_headers() function with format argument as type array --
50 -- Testing get_headers() function with format argument as type object --
/PHP-5.5/ext/standard/tests/array/
H A Darray_pad_error.phpt2 Test array_pad() function : error conditions
13 echo "\n-- Testing array_pad() function with Zero arguments --\n";
17 echo "\n-- Testing array_pad() function with more than expected no. of arguments --\n";
25 echo "\n-- Testing array_pad() function with less than expected no. of arguments --\n";
36 -- Testing array_pad() function with Zero arguments --
41 -- Testing array_pad() function with more than expected no. of arguments --
46 -- Testing array_pad() function with less than expected no. of arguments --
H A Darray_walk_object2.phpt2 Test array_walk() function : object functionality - array of objects
6 * Description: Apply a user function to every member of an array
23 function callback_private($value, $key, $addValue)
31 function callback_public($value, $key)
36 function callback_protected($value, $key)
47 public function __construct($setVal)
53 public function getValue()
57 public function get_pro_value()
H A Darray_walk_recursive_object2.phpt2 Test array_walk_recursive() function : object functionality - array of objects
6 * Description: Apply a user function to every member of an array
23 function callback_private($value, $key, $addValue)
31 function callback_public($value, $key)
36 function callback_protected($value, $key)
47 public function __construct($setVal)
53 public function getValue()
57 public function get_pro_value()
H A Darray_diff_uassoc_variation11.phpt2 Test array_diff_uassoc() function : usage variation - Passing boolean indexed array
7 * user supplied callback function
13 // Initialise function arguments not being substituted (if any)
17 echo "\n-- Testing array_diff_key() function with float indexed array --\n";
26 -- Testing array_diff_key() function with float indexed array --
H A Darray_diff_ukey_variation8.phpt2 Test array_diff_ukey() function : usage variation - Passing boolean indexed array
12 // Initialise function arguments not being substituted (if any)
16 function key_compare_func($key1, $key2)
21 echo "\n-- Testing array_diff_ukey() function with boolean indexed array --\n";
31 -- Testing array_diff_ukey() function with boolean indexed array --
/PHP-5.5/ext/date/tests/
H A Dtimezone_name_get_error.phpt2 Test timezone_name_get() function : error conditions
16 echo "\n-- Testing timezone_name_get() function with zero arguments --\n";
19 echo "\n-- Testing date_timezone_set() function with more than expected no. of arguments --\n";
24 echo "\n-- Testing timezone_name_get() function with an invalid values for \$object argument --\n";
36 -- Testing timezone_name_get() function with zero arguments --
41 -- Testing date_timezone_set() function with more than expected no. of arguments --
46 -- Testing timezone_name_get() function with an invalid values for $object argument --
/PHP-5.5/tests/classes/
H A Dfactory_and_singleton_001.phpt13 static function factory($x) {
22 protected function __construct($x) {
27 static function destroy() {
31 protected function __destruct() {
35 public function get() {
39 static public function getX() {
47 static public function count() {
H A Dfactory_and_singleton_002.phpt13 static function factory($x) {
22 protected function __construct($x) {
27 static function destroy() {
31 protected function __destruct() {
35 public function get() {
39 static public function getX() {
47 static public function count() {
H A Dabstract_class.phpt9 abstract function show();
13 function show() {
14 echo "Call to function show()\n";
27 Call to function show()
/PHP-5.5/ext/soap/tests/interop/Round3/GroupF/
H A Dround3_groupF_headers.inc4 function Header1($input)
8 function Header2($input)
12 function echoString($inputString)
/PHP-5.5/ext/spl/internal/
H A Dspldoublylinkedlist.inc51 public function pop()
62 public function shift()
90 public function top()
97 public function bottom()
104 public function count()
111 public function isEmpty()
145 public function rewind()
156 public function valid()
163 public function key()
170 public function current()
[all …]
/PHP-5.5/ext/standard/tests/streams/
H A Dbug67626.phpt7 public function stream_open() { return true; }
9 public function stream_read()
15 public function stream_eof()
20 public function stream_write()
/PHP-5.5/ext/reflection/tests/
H A DReflectionFunction_getClosure_error.phpt2 Test ReflectionFunction::getClosure() function : error functionality
6 * Description: Returns a dynamically created closure for the function
13 function foo()
15 var_dump( "Inside foo function" );
H A Dbug63399.phpt6 public function run() {}
7 public function say() {}
11 public function run() {}
12 public function say() {}
/PHP-5.5/Zend/tests/
H A Dbug32252.phpt8 function offsetExists($offset)
14 function offsetGet($offset)
20 function offsetSet($offset, $value)
26 function offsetUnset($offset)
H A Dbug64966.phpt6 set_error_handler(function($error) { throw new Exception(); }, E_RECOVERABLE_ERROR);
8 function test($func) {
13 public function b() {
25 #0 [internal function]: {closure}(4096, 'Argument 1 pass...', '%s', 6, Array)
H A Dlsb_022.phpt6 static function test() {
9 static function __callstatic($name, $args) {
14 static function test() {
17 static function __callstatic($name, $args) {
H A Dclosure_017.phpt2 Closure 017: Trying to destroy an active lambda function
6 $a = function(&$a) { $a = 1; };
12 Fatal error: Cannot destroy active lambda function in %s on line %d
H A Dobjects_018.phpt2 Using the same function name on interface with inheritance
7 function a();
11 function a();
/PHP-5.5/tests/lang/
H A D038.phpt8 function __construct($errstr, $errno=0, $errfile='', $errline='')
16 function Error2Exception($errno, $errstr, $errfile, $errline)
31 var_dump($trace[0]['function']);
32 var_dump($trace[1]['function']);
H A Dengine_assignExecutionOrder_004.phpt6 function i1() {
11 function i2() {
16 function i3() {
21 function i4() {
H A Dbug20175.phpt12 * Storing the result of a function in a static variable.
20 function foo_global() {
26 function foo_static() {
40 * after the function call bar_global() is done in current local scope.
44 function bar_global() {
50 function bar_static() {
70 function &wow_global() {
77 function wow_static() {
100 function oop_class() {
110 function oop_test() {
[all …]
/PHP-5.5/tests/output/
H A Dbug65593.phpt2 Bug #65593 (ob_start(function(){ob_start();});)
7 ob_start(function(){ob_start();});
13 Fatal error: Cannot destroy active lambda function in %sbug65593.php on line %d

Completed in 26 milliseconds

1...<<21222324252627282930>>...276