/PHP-7.0/ext/phar/tests/ |
H A D | phar_buildfromiterator3.phpt | 13 function __construct(array $a) 17 function next() { 21 function current() { 25 function key() { 29 function valid() { 33 function rewind() {
|
/PHP-7.0/ext/soap/tests/bugs/ |
H A D | bug50762.phpt | 2 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-7.0/ext/spl/tests/ |
H A D | spl_autoload_012.phpt | 6 function autoload_first($name) 12 function autoload_second($name) 54 #0 [internal function]: autoload_first('ThisClassDoesNo...') 55 #1 [internal function]: spl_autoload_call('ThisClassDoesNo...') 61 #0 [internal function]: autoload_second('ThisClassDoesNo...') 62 #1 [internal function]: spl_autoload_call('ThisClassDoesNo...')
|
/PHP-7.0/Zend/tests/ |
H A D | closure_014.phpt | 6 function __invoke() { 11 function &__invoke(&$a) { 16 function __invoke() { 25 $x = function() { 43 $x = function & (&$a) { 60 $x = function() {
|
H A D | bug75420.11.phpt | 6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; } 7 public function offsetGet($x) { var_dump($x); return 42; } 8 public function offsetSet($x, $y) { } 9 public function offsetUnset($x) { }
|
H A D | bug75420.14.phpt | 6 public function offsetExists($x) { $GLOBALS["obj"] = 24; return true; } 7 public function offsetGet($x) { var_dump($x); return 42; } 8 public function offsetSet($x, $y) { } 9 public function offsetUnset($x) { }
|
H A D | objects_032.phpt | 9 public function &offsetGet($n) { 13 public function offsetSet($n, $v) { 15 public function offsetUnset($n) { 17 public function offsetExists($n) {
|
H A D | foreach_003.phpt | 10 function __construct($count, $trap = null) { 15 function trap($trap) { 21 function rewind() {$this->trap(__FUNCTION__); $this->n = 0;} 22 function valid() {$this->trap(__FUNCTION__); return $this->n < $this->count;} 23 function key() {$this->trap(__FUNCTION__); return $this->n;} 24 function current() {$this->trap(__FUNCTION__); return $this->n;} 25 function next() {$this->trap(__FUNCTION__); $this->n++;}
|
/PHP-7.0/Zend/tests/grammar/ |
H A D | semi_reserved_008.phpt | 8 public static function list(){ echo __METHOD__, PHP_EOL; } 9 public static function /* comment */ catch(){ echo __METHOD__, PHP_EOL; } 10 private static function // comment 12 private static function 19 public static function exit(){ echo __METHOD__, PHP_EOL; } 20 protected static function try(){ echo __METHOD__, PHP_EOL; }
|
H A D | semi_reserved_006.phpt | 8 public function catch(){ echo __METHOD__, PHP_EOL; } 9 private function list(){ echo __METHOD__, PHP_EOL; } 16 public static function catch(){ echo __METHOD__, PHP_EOL; } 17 private static function throw(){ echo __METHOD__, PHP_EOL; } 18 private static function self(){ echo __METHOD__, PHP_EOL; } 23 public static function exit(){ echo __METHOD__, PHP_EOL; } 24 protected static function try(){ echo __METHOD__, PHP_EOL; }
|
/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | is_callable_error.phpt | 2 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-7.0/ext/standard/tests/array/ |
H A D | array_map_object3.phpt | 2 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 D | array_count_values_error.phpt | 2 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 D | array_fill_keys_error.phpt | 2 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 D | array_filter_variation9.phpt | 2 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 D | array_walk_error2.phpt | 2 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 D | array_walk_recursive_error2.phpt | 2 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 D | shuffle_error.phpt | 2 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 D | array_combine_error2.phpt | 2 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-7.0/ext/standard/tests/class_object/ |
H A D | property_exists_error.phpt | 2 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 D | is_subclass_of_error_001.phpt | 2 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-7.0/Zend/tests/generators/ |
H A D | get_return.phpt | 6 function gen1() { 15 function gen2() { 27 function &gen3() { 38 // Return types for generators specify the return of the function, 40 function gen4() : Generator { 51 function gen5() { 62 function gen6() : Generator {
|
/PHP-7.0/ext/hash/tests/ |
H A D | hash_file_error.phpt | 2 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 D | hash_hmac_file_error.phpt | 2 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 --
|
/PHP-7.0/ext/date/tests/ |
H A D | date_timezone_set_error.phpt | 2 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 --
|