Home
last modified time | relevance | path

Searched refs:function (Results 326 – 350 of 6949) sorted by relevance

1...<<11121314151617181920>>...278

/PHP-5.6/ext/standard/tests/serialize/
H A Dbug64146.phpt12 public function __construct()
23 public function __construct($c)
28 public function serialize()
33 public function unserialize($data)
43 public function __construct($c)
/PHP-5.6/Zend/tests/
H A Dbug39297.phpt5 function compareByRef(&$first, &$second) {
13 public function offsetExists($offset) {
16 public function offsetUnset($offset) {
19 public function offsetSet($offset, $value) {
26 public function offsetGet($offset) {
H A Dbug48533.phpt7 private function a() {
10 public function b() {
13 protected function c() {
16 static function __callstatic($a, $b) {
19 public function __call($a, $b) {
H A Dclosure_014.phpt6 function __invoke() {
11 function &__invoke(&$a) {
16 function __invoke() {
25 $x = function() {
43 $x = function & (&$a) {
60 $x = function() {
H A Dbug48228.phpt2 Bug #48228 (crash when exception is thrown while passing function arguments)
6 function do_throw() {
12 function check()
16 function dosome()
H A Dbug60139.phpt10 public function __construct() {
11 $this->x = function() {};
18 public function __construct() {
20 $this->x = function() use ($self) {};
H A Dbug67938.phpt7 public function foo();
8 public function bar(array $bar);
12 public function foo(...$args) {
15 public function bar(array $bar, ...$args) {
/PHP-5.6/tests/classes/
H A Diterators_008.phpt11 public function valid() {
16 public function next() {
21 public function rewind() {
25 public function current() {
29 public function key() {
H A Dprivate_003.phpt9 private static function show() {
13 protected static function good() {
19 static function ok() {
23 static function not_ok() {
29 fail::not_ok(); // calling a private function
H A Dprivate_003b.phpt9 private function show() {
13 protected function good() {
19 public function ok() {
23 public function not_ok() {
30 $t->not_ok(); // calling a private function
H A Dinheritance_002.phpt8 function Base_php4() {
14 function Child_php4() {
21 function __construct() {
27 function __construct() {
34 function __construct() {
41 function Child_mx2() {
/PHP-5.6/ext/standard/tests/array/
H A Darray_map_object3.phpt2 Test array_map() function : object functionality - class methods as callback function
11 * Testing array_map() for object functionality with following callback function variations:
17 echo "*** Testing array_map() : class methods as callback function ***\n";
24 public static function staticParent1($n) {
27 private static function staticParent2($n) {
35 public function __construct ( ) {
39 public static function staticChild($n) {
42 public function nonstaticChild($n) {
65 *** Testing array_map() : class methods as callback function ***
H A Darray_fill_keys_error.phpt2 Test array_fill_keys() function : error conditions
17 echo "\n-- Testing array_fill_keys() function with more than expected no. of arguments --\n";
20 echo "\n-- Testing array_fill_keys() function with less than expected no. of arguments --\n";
23 echo "\n-- Testing array_fill_keys() function with no arguments --\n";
31 -- Testing array_fill_keys() function with more than expected no. of arguments --
36 -- Testing array_fill_keys() function with less than expected no. of arguments --
41 -- Testing array_fill_keys() function with no arguments --
H A Darray_filter_variation9.phpt2 Test array_filter() function : usage variations - built-in functions as 'callback' argument
18 // using built-in function 'is_int' as 'callback'
21 // using built-in function 'chr' as 'callback'
67 …_filter() expects parameter 2 to be a valid callback, function 'echo' not found or invalid functio…
70 …_filter() expects parameter 2 to be a valid callback, function 'exit' not found or invalid functio…
H A Darray_walk_error2.phpt2 Test array_walk() function : error conditions - callback parameters
6 * Description: Apply a user function to every member of an array
11 * Testing array_walk() by passing more number of parameters to callback function
15 function callback1($value, $key, $user_data ) {
19 function callback2($value, $key, $user_data1, $user_data2) {
32 echo "-- Testing array_walk() function with too many callback parameters --\n";
55 -- Testing array_walk() function with too many callback parameters --
H A Darray_walk_recursive_error2.phpt2 Test array_walk_recursive() function : error conditions - callback parameters
6 * Description: Apply a user function to every member of an array
11 * Testing array_walk_recursive() by passing more number of parameters to callback function
15 function callback1($value, $key, $user_data ) {
19 function callback2($value, $key, $user_data1, $user_data2) {
32 echo "-- Testing array_walk_recursive() function with too many callback parameters --\n";
55 -- Testing array_walk_recursive() function with too many callback parameters --
H A Darray_count_values_error.phpt2 Test array_count_values() function : Invalid parameters
18 echo "\n-- Testing array_count_values() function with Zero arguments --\n";
22 echo "\n-- Testing array_count_values() function with more than expected no. of arguments --\n";
28 echo "\n-- Testing array_count_values() function integer arguments --\n";
36 -- Testing array_count_values() function with Zero arguments --
41 -- Testing array_count_values() function with more than expected no. of arguments --
46 -- Testing array_count_values() function integer arguments --
H A Dshuffle_error.phpt2 Test shuffle() function : error conditions
11 * when invalid number of arguments are passed to the function
17 echo "\n-- Testing shuffle() function with Zero arguments --\n";
21 echo "\n-- Testing shuffle() function with more than expected no. of arguments --\n";
27 // by above shuffle() function calls
36 -- Testing shuffle() function with Zero arguments --
41 -- Testing shuffle() function with more than expected no. of arguments --
/PHP-5.6/ext/soap/tests/bugs/
H A Dbug50762.phpt2 Bug #50762 (in WSDL mode Soap Header handler function only being called if defined in WSDL)
9 public function authToken($token){
12 public function testHeader($param){
19 function __construct($wsdl, $options) {
25 function __doRequest($request, $location, $action, $version, $one_way = 0) {
38 public function __construct($token){
/PHP-5.6/ext/phar/tests/
H A Dphar_buildfromiterator3.phpt13 function __construct(array $a)
17 function next() {
21 function current() {
25 function key() {
29 function valid() {
33 function rewind() {
/PHP-5.6/ext/standard/tests/general_functions/
H A Dis_callable_error.phpt2 Test is_callable() function
9 Description: Verify that the contents of a variable can be called as a function
15 echo "\n-- Testing is_callable() function with less than expected no. of arguments --\n";
18 echo "\n-- Testing is_callable() function with more than expected no. of arguments --\n";
26 -- Testing is_callable() function with less than expected no. of arguments --
31 -- Testing is_callable() function with more than expected no. of arguments --
/PHP-5.6/ext/reflection/tests/
H A Dbug29523.phpt10 function optionalTest(TestClass $a, TestClass $b, $c = 3)
14 $function = new ReflectionFunction('optionalTest');
17 foreach($function->getParameters() as $parameter)
29 var_dump($function->getNumberOfRequiredParameters());
/PHP-5.6/ext/standard/tests/class_object/
H A Dproperty_exists_error.phpt2 Test property_exists() function : error conditions
18 echo "\n-- Testing property_exists() function with more than expected no. of arguments --\n";
22 echo "\n-- Testing property_exists() function with less than expected no. of arguments --\n";
25 echo "\n-- Testing property_exists() function with incorrect arguments --\n";
33 -- Testing property_exists() function with more than expected no. of arguments --
38 -- Testing property_exists() function with less than expected no. of arguments --
43 -- Testing property_exists() function with incorrect arguments --
/PHP-5.6/ext/standard/tests/strings/
H A Dmoney_format_error.phpt2 Test money_format() function : error conditions
26 echo "\n-- Testing money_format() function with no arguments --\n";
29 echo "\n-- Testing money_format() function with insufficient arguments --\n";
32 echo "\n-- Testing money_format() function with more than expected no. of arguments --\n";
41 -- Testing money_format() function with no arguments --
46 -- Testing money_format() function with insufficient arguments --
51 -- Testing money_format() function with more than expected no. of arguments --
/PHP-5.6/ext/date/tests/
H A Ddate_timezone_set_error.phpt2 Test date_timezone_set() function : error conditions
15 echo "\n-- Testing date_timezone_set() function with zero arguments --\n";
18 echo "\n-- Testing date_timezone_set() function with less than expected no. of arguments --\n";
22 echo "\n-- Testing date_timezone_set() function with more than expected no. of arguments --\n";
27 echo "\n-- Testing date_timezone_set() function with an invalid values for \$object argument --\n";
39 -- Testing date_timezone_set() function with zero arguments --
44 -- Testing date_timezone_set() function with less than expected no. of arguments --
49 -- Testing date_timezone_set() function with more than expected no. of arguments --
54 -- Testing date_timezone_set() function with an invalid values for $object argument --

Completed in 25 milliseconds

1...<<11121314151617181920>>...278