Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...271

/PHP-5.5/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.5/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.5/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.5/Zend/tests/
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 Dbug65322.phpt6 spl_autoload_register(function($class) {
11 set_error_handler(function($_, $msg, $file) {
16 eval('class A { function a() {} function __construct() {} }');
H A Dobjects_032.phpt9 public function &offsetGet($n) {
13 public function offsetSet($n, $v) {
15 public function offsetUnset($n) {
17 public function offsetExists($n) {
H A Dbug34064.phpt2 Bug #34064 (arr[] as param to function in class gives invalid opcode)
7 function test_ref(&$test)
12 function test($test)
16 function run()
H A Dbug37138.phpt5 function __autoload ($CN) {var_dump ($CN);}
7 public static function e () {echo ("EHLO\n");}
8 public static function e2 () {call_user_func (array ('self', 'e'));}
11 public static function g () {call_user_func (array ('parent', 'e'));}
/PHP-5.5/tests/classes/
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.5/ext/standard/tests/array/
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 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 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 --
H A Darray_combine_error2.phpt2 Test array_combine() function : error conditions - empty array
14 echo "\n-- Testing array_combine() function with empty arrays --\n";
18 echo "\n-- Testing array_combine() function with empty array for \$keys argument --\n";
22 echo "\n-- Testing array_combine() function with empty array for \$values argument --\n";
26 echo "\n-- Testing array_combine() function by passing array with unequal number of elements --\n";
34 -- Testing array_combine() function with empty arrays --
38 -- Testing array_combine() function with empty array for $keys argument --
43 -- Testing array_combine() function with empty array for $values argument --
48 -- Testing array_combine() function by passing array with unequal number of elements --
/PHP-5.5/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 --
H A Dis_subclass_of_error_001.phpt2 Test is_subclass_of() function : wrong number of args
15 echo "\n-- Testing is_subclass_of() function with more than expected no. of arguments --\n";
23 echo "\n-- Testing is_subclass_of() function with more than typo style invalid 3rd argument --\n";
28 echo "\n-- Testing is_subclass_of() function with more than invalid 3rd argument --\n";
32 echo "\n-- Testing is_subclass_of() function with less than expected no. of arguments --\n";
41 -- Testing is_subclass_of() function with more than expected no. of arguments --
46 -- Testing is_subclass_of() function with more than typo style invalid 3rd argument --
49 -- Testing is_subclass_of() function with more than invalid 3rd argument --
54 -- Testing is_subclass_of() function with less than expected no. of arguments --
/PHP-5.5/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.5/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.5/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 --
/PHP-5.5/ext/hash/tests/
H A Dhash_file_error.phpt2 Test hash_file() function : error conditions
23 echo "\n-- Testing hash_file() function with an unknown algorithm --\n";
26 echo "\n-- Testing hash_file() function with a non-existent file --\n";
29 echo "\n-- Testing hash_file() function with less than expected no. of arguments --\n";
32 echo "\n-- Testing hash_file() function with more than expected no. of arguments --\n";
48 -- Testing hash_file() function with an unknown algorithm --
53 -- Testing hash_file() function with a non-existent file --
58 -- Testing hash_file() function with less than expected no. of arguments --
63 -- Testing hash_file() function with more than expected no. of arguments --
H A Dhash_hmac_file_error.phpt2 Test hash_hmac_file() function : basic functionality
19 echo "\n-- Testing hash_hmac_file() function with less than expected no. of arguments --\n";
24 echo "\n-- Testing hash_hmac_file() function with more than expected no. of arguments --\n";
28 echo "\n-- Testing hash_hmac_file() function with invalid hash algorithm --\n";
31 echo "\n-- Testing hash_hmac_file() function with bad path --\n";
39 -- Testing hash_hmac_file() function with less than expected no. of arguments --
50 -- Testing hash_hmac_file() function with more than expected no. of arguments --
54 -- Testing hash_hmac_file() function with invalid hash algorithm --
58 -- Testing hash_hmac_file() function with bad path --

Completed in 128 milliseconds

1...<<11121314151617181920>>...271