/PHP-5.6/ext/reflection/tests/ |
H A D | ReflectionFunction_isGenerator_basic.phpt | 6 $closure1 = function() {return "this is a closure"; }; 7 $closure2 = function($param) { 17 function func1() { 21 function func2() { 33 public function f1() { 36 public function f2() {
|
/PHP-5.6/ext/session/tests/ |
H A D | bug60634.phpt | 13 function open($save_path, $session_name) { 17 function close() { 21 function read($id) { 25 function write($id, $session_data) { 29 function destroy($id) { 33 function gc($maxlifetime) {
|
H A D | session_set_save_handler_class_010.phpt | 2 Test session_set_save_handler() : manual shutdown function 19 echo "*** Testing session_set_save_handler() : manual shutdown function ***\n"; 23 public function __construct($num) { 27 public function __destruct() { 30 public function finish() { 35 public function write($id, $data) { 39 public function close() { 57 *** Testing session_set_save_handler() : manual shutdown function ***
|
/PHP-5.6/Zend/tests/ |
H A D | bug64720.phpt | 7 public static function getInstance() { 14 public function __destruct() { 20 public function __construct() { 27 public function __construct() { 33 public function __destruct() { 38 public function test() {
|
H A D | bug49269.phpt | 8 function valid() 12 function current() {return $this->n;} 13 function next() {$this->n++;} 14 function key() { } 15 function rewind() {$this->n = 0;}
|
H A D | bug65108.phpt | 6 private function f() {} 7 static function __callStatic($name, $args) {} 11 public function B() { 20 private function f() {} 21 function __call($name, $args) {}
|
H A D | bug54367.phpt | 7 public function offsetSet($offset, $value) { } 8 public function offsetExists($offset) { } 9 public function offsetUnset($offset) { } 11 public function offsetGet ($offset) 13 return function ($var) use ($offset) { // here is the problem
|
H A D | objects_021.phpt | 9 public function __construct() { 13 public function __set($a, $b) { 17 public function __get($a) { 21 public function __call($a, $b) { 26 function x() {
|
H A D | dereference_001.phpt | 7 function a() { 12 function b() { 20 public function test() { 25 function c() { 30 function d() { 36 function e() {
|
/PHP-5.6/Zend/tests/use_function/ |
H A D | conflicting_use.phpt | 2 use function statements with conflicting names 7 function baz() { 13 function baz() { 19 use function foo\baz, bar\baz; 25 Fatal error: Cannot use function bar\baz as baz because the name is already in use in %s on line %d
|
/PHP-5.6/ext/phar/phar/ |
H A D | pharcommand.inc | 27 // {{{ public function cli_get_SP2 33 // {{{ public function cli_get_SP3 47 // {{{ static function phar_args 185 // {{{ static function strEndsWith 441 static function cli_cmd_inf_pack() 456 static function cli_cmd_arg_pack() 529 // {{{ function phar_set_stub_end 544 // {{{ function cli_cmd_run_pack 614 // {{{ static function phar_add 968 static function cli_cmd_inf_add() [all …]
|
/PHP-5.6/ext/spl/tests/ |
H A D | arrayObject___construct_error2.phpt | 7 function current() {} 8 function next() {} 9 function key() {} 10 function valid() {} 11 function rewind() {}
|
H A D | iterator_041b.phpt | 11 static function fail($state, $method) 19 function __construct() 27 function rewind() 33 function valid() 39 function current() 45 function key() 51 function next() 57 function __destruct() 62 static function test($func, $skip = null)
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_map_variation11.phpt | 2 Test array_map() function : usage variations - with recursive callback 11 * Test array_map() by passing subarrays and recursive callback function 14 echo "*** Testing array_map() : recursive callback function ***\n"; 16 // callback function 17 function square_recur_single_array($var) { 30 *** Testing array_map() : recursive callback function ***
|
H A D | uksort_error.phpt | 2 Test uksort() function : error conditions 6 * Description: Sort an array by keys using a user-defined comparison function 13 echo "\n-- Testing uksort() function with more than expected no. of arguments --\n"; 19 echo "\n-- Testing uksort() function with less than expected no. of arguments --\n"; 23 echo "\n-- Testing uksort() function with zero arguments --\n"; 31 -- Testing uksort() function with more than expected no. of arguments -- 36 -- Testing uksort() function with less than expected no. of arguments -- 41 -- Testing uksort() function with zero arguments --
|
H A D | array_intersect_ukey_error.phpt | 2 Test array_intersect_ukey() function : error conditions 6 …* Description: Computes the intersection of arrays using a callback function on the keys for compa… 16 //Call back function 17 function key_compare_func($key1, $key2) 26 echo "\n-- Testing array_intersect_ukey() function with more than expected no. of arguments --\n"; 31 echo "\n-- Testing array_intersect_ukey() function with less than expected no. of arguments --\n"; 35 echo "\n-- Testing array_intersect_ukey() function with no arguments --\n"; 42 -- Testing array_intersect_ukey() function with more than expected no. of arguments -- 47 -- Testing array_intersect_ukey() function with less than expected no. of arguments -- 52 -- Testing array_intersect_ukey() function with no arguments --
|
H A D | array_filter_object.phpt | 2 Test array_filter() function : object functionality 24 public function check() { 38 abstract function emptyMethod(); 45 public function emptyMethod() { 54 final function finalMethod() { 63 public static function staticMethod() { 68 // Callback function which returns always true 69 function always_true($input) 75 function always_false($input) 93 // with always_true callback function [all …]
|
/PHP-5.6/Zend/tests/traits/ |
H A D | bug55355.phpt | 6 // A trait that has a abstract function 8 function bar() { 11 abstract function foo(); 17 function foo() {} 25 function foo() {} 32 function foo() {}
|
/PHP-5.6/tests/lang/ |
H A D | bug21961.phpt | 11 function man() 17 function getdrunk($where) 22 function getName() 32 function bar($w) 37 function getName() 42 function whosdrunk()
|
H A D | returnByReference.004.phpt | 6 static function returnConstantByValue() { 10 static function &returnConstantByRef() { 14 static function &returnVariableByRef() { 19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 43 ---> 1. Trying to assign by reference the return value of a function that returns by value: 49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
H A D | returnByReference.005.phpt | 6 function returnConstantByValue() { 10 function &returnConstantByRef() { 14 static function &returnVariableByRef() { 20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 44 ---> 1. Trying to assign by reference the return value of a function that returns by value: 50 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 56 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
/PHP-5.6/ext/posix/tests/ |
H A D | posix_kill_error.phpt | 2 Test posix_kill() function : error conditions 19 echo "\n-- Testing posix_kill() function with more than expected no. of arguments --\n"; 25 echo "\n-- Testing posix_kill() function with less than expected no. of arguments --\n"; 29 echo "\n-- Testing posix_kill() function with invalid signal --\n"; 34 echo "\n-- Testing posix_kill() function with negative pid --\n"; 44 -- Testing posix_kill() function with more than expected no. of arguments -- 49 -- Testing posix_kill() function with less than expected no. of arguments -- 54 -- Testing posix_kill() function with invalid signal -- 57 -- Testing posix_kill() function with negative pid --
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | escapeshellarg_error.phpt | 2 Test escapeshellarg() function : error conditions - wrong numbers of parameters 18 echo "\n-- Testing escapeshellarg() function with no arguments --\n"; 21 echo "\n-- Testing escapeshellarg() function with more than expected no. of arguments --\n"; 26 echo "\n-- Testing escapeshellarg() function with a object supplied for argument --\n"; 35 echo "\n-- Testing escapeshellarg() function with a resource supplied for argument --\n"; 40 echo "\n-- Testing escapeshellarg() function with a array supplied for argument --\n"; 49 -- Testing escapeshellarg() function with no arguments -- 54 -- Testing escapeshellarg() function with more than expected no. of arguments -- 59 -- Testing escapeshellarg() function with a object supplied for argument -- 64 -- Testing escapeshellarg() function with a resource supplied for argument -- [all …]
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | setlocale_error.phpt | 2 Test setlocale() function : error condition 22 echo "\n-- Testing setlocale() function with Zero arguments --"; 26 echo "\n-- Testing setlocale() function with One argument, 'category' = LC_ALL --"; 29 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n"; 38 echo "\n-- Testing setlocale() function with invalid category --\n"; 52 -- Testing setlocale() function with Zero arguments -- 56 -- Testing setlocale() function with One argument, 'category' = LC_ALL -- 60 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL -- 63 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL -- 66 -- Testing setlocale() function with invalid category -- [all …]
|
/PHP-5.6/ext/standard/tests/class_object/ |
H A D | get_class_methods_basic_002.phpt | 16 private function privC() {} 17 protected function protC() {} 18 public function pubC() {} 20 public static function testFromC() { 31 private function privD() {} 32 protected function protD() {} 33 public function pubD() {} 35 public static function testFromD() { 46 private function privX() {} 47 protected function protX() {} [all …]
|