/PHP-5.5/ext/standard/tests/array/ |
H A D | array_walk_variation8.phpt | 2 Test array_walk() function : usage variations - buit-in function as callback 6 * Description: Apply a user function to every member of an array 11 * Passing different buit-in functionns as callback function 12 * pow function 13 * min function 21 echo "-- With 'pow' built-in function --\n"; 24 echo "-- With 'min' built-in function --\n"; 33 *** Testing array_walk() : built-in function as callback *** 34 -- With 'pow' built-in function -- 36 -- With 'min' built-in function -- [all …]
|
H A D | array_walk_recursive_variation8.phpt | 2 Test array_walk_recursive() function : usage variations - buit-in function as callback 6 * Description: Apply a user function to every member of an array 11 * Passing different buit-in functionns as callback function 12 * pow function 13 * min function 21 echo "-- With 'pow' built-in function --\n"; 24 echo "-- With 'min' built-in function --\n"; 33 *** Testing array_walk_recursive() : built-in function as callback *** 34 -- With 'pow' built-in function -- 36 -- With 'min' built-in function -- [all …]
|
H A D | uasort_error.phpt | 2 Test uasort() function : error conditions 12 // comparison function 20 function cmp($value1, $value2) 37 echo "-- Testing uasort() function with Zero argument --\n"; 49 // With non existent comparison function 50 echo "-- Testing uasort() function with non-existent compare function --\n"; 54 echo "-- Testing uasort() function with non-existent compare function and extra argument --\n"; 61 -- Testing uasort() function with Zero argument -- 73 -- Testing uasort() function with non-existent compare function -- 75 …ort() expects parameter 2 to be a valid callback, function 'non_existent' not found or invalid fun… [all …]
|
H A D | array_filter_variation8.phpt | 2 Test array_filter() function : usage variations - Callback function with different return values 21 function callback1($input) 29 function callback2($input) 37 function callback3($input) 45 function callback4($input) 53 function callback5($input) 64 callback function with int return value 85 callback function with float return value 106 callback function with string return value 127 callback function with null return value [all …]
|
H A D | array_map_variation10.phpt | 2 Test array_map() function : usage variations - anonymous callback function 14 echo "*** Testing array_map() : anonymous callback function ***\n"; 19 echo "-- anonymous function with all parameters and body --\n"; 22 echo "-- anonymous function with two parameters and passing one array --\n"; 25 echo "-- anonymous function with NULL parameter --\n"; 28 echo "-- anonymous function with NULL body --\n"; 37 *** Testing array_map() : anonymous callback function *** 38 -- anonymous function with all parameters and body -- 62 -- anonymous function with two parameters and passing one array -- 98 -- anonymous function with NULL parameter -- [all …]
|
H A D | array_filter_variation4.phpt | 2 Test array_filter() function : usage variations - Different types of 'callback' function 23 // callback function without parameters and with return value 24 function callback1() 31 // callback function with parameter and without return value 32 function callback2($input) 40 function callback3() 46 // callback function with parameter and with return value 47 function callback4($input) 63 -- Callback function without parameter and with return -- 85 -- Callback function without parameter and return -- [all …]
|
H A D | array_walk_recursive_variation7.phpt | 2 Test array_walk_recursive() function : usage variations - anonymous callback function 23 echo "-- Anonymous function with one argument --\n"; 26 echo "-- Anonymous function with two arguments --\n"; 29 echo "-- Anonymous function with three arguments --\n"; 32 echo "-- Anonymous function with one more argument --\n"; 35 echo "-- Anonymous function with null argument --\n"; 41 -- Anonymous function with one argument -- 51 -- Anonymous function with two arguments -- 65 -- Anonymous function with three arguments -- 83 -- Anonymous function with one more argument -- [all …]
|
H A D | array_walk_variation7.phpt | 2 Test array_walk() function : usage variations - anonymous callback function 23 echo "-- Anonymous function with one argument --\n"; 26 echo "-- Anonymous function with two arguments --\n"; 29 echo "-- Anonymous function with three arguments --\n"; 32 echo "-- Anonymous function with one more argument --\n"; 35 echo "-- Anonymous function with null argument --\n"; 41 -- Anonymous function with one argument -- 51 -- Anonymous function with two arguments -- 65 -- Anonymous function with three arguments -- 83 -- Anonymous function with one more argument -- [all …]
|
/PHP-5.5/tests/lang/ |
H A D | returnByReference.006.phpt | 2 Returning a reference from a function via another function 7 function returnConstantByValue() { 11 function &returnConstantByRef() { 15 function &returnVariableByRef() { 19 function &returnFunctionCallByRef($functionToCall) { 23 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi… 30 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi… 37 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi… 46 ---> 1. Via a return by ref function call, assign by reference the return value of a function that … 52 ---> 2. Via a return by ref function call, assign by reference the return value of a function that … [all …]
|
/PHP-5.5/ext/soap/tests/interop/Round4/GroupI/ |
H A D | round4_groupI_xsd.inc | 4 function echoString($inputString) 13 function echoInteger($inputInteger) 18 function echoFloat($inputFloat) 23 function echoVoid() 27 function echoBase64($inputBase64) 36 function echoDate($timeInstant) 86 function echoHexBinary($hb) 95 function echoDecimal($dec) 147 function echoChoice($input) 156 function echoEnum($input) [all …]
|
/PHP-5.5/tests/classes/ |
H A D | visibility_000a.phpt | 9 function f0() {} 10 function f1() {} 11 public function f2() {} 12 protected function f3() {} 13 private function f4() {} 19 function f0() {} 20 public function f1() {} 21 public function f2() {} 22 protected function f3() {} 23 private function f4() {} [all …]
|
H A D | visibility_000b.phpt | 9 function f0() {} 10 function f1() {} 11 public function f2() {} 12 protected function f3() {} 13 private function f4() {} 19 function f0() {} 20 public function f1() {} 21 public function f2() {} 22 protected function f3() {} 23 private function f4() {} [all …]
|
H A D | visibility_001a.phpt | 9 function f0() {} 10 function f1() {} 11 public function f2() {} 12 protected function f3() {} 13 private function f4() {} 19 function f0() {} 20 public function f1() {} 21 public function f2() {} 22 protected function f3() {} 23 private function f4() {} [all …]
|
H A D | visibility_001b.phpt | 9 function f0() {} 10 function f1() {} 11 public function f2() {} 12 protected function f3() {} 13 private function f4() {} 19 function f0() {} 20 public function f1() {} 21 public function f2() {} 22 protected function f3() {} 23 private function f4() {} [all …]
|
H A D | visibility_002a.phpt | 9 function f0() {} 10 function f1() {} 11 public function f2() {} 12 protected function f3() {} 13 private function f4() {} 19 function f0() {} 20 public function f1() {} 21 public function f2() {} 22 protected function f3() {} 23 private function f4() {} [all …]
|
H A D | visibility_002b.phpt | 9 function f0() {} 10 function f1() {} 11 public function f2() {} 12 protected function f3() {} 13 private function f4() {} 19 function f0() {} 20 public function f1() {} 21 public function f2() {} 22 protected function f3() {} 23 private function f4() {} [all …]
|
H A D | visibility_003b.phpt | 9 function f0() {} 10 function f1() {} 11 public function f2() {} 12 protected function f3() {} 13 private function f4() {} 19 function f0() {} 20 public function f1() {} 21 public function f2() {} 22 protected function f3() {} 23 private function f4() {} [all …]
|
/PHP-5.5/ext/oci8/tests/ |
H A D | reflection1.phpt | 231 Function [ <internal%s> function oci_cancel ] { 238 Function [ <internal%s> function oci_fetch ] { 315 Function [ <internal%s> function oci_parse ] { 330 Function [ <internal%s> function oci_result ] { 359 Function [ <internal%s> function oci_close ] { 399 Function [ <internal%s> function oci_error ] { 776 Function [ <internal%s> function ocicancel ] { 783 Function [ <internal%s> function ocifetch ] { 822 Function [ <internal%s> function ociparse ] { 873 Function [ <internal%s> function ocilogon ] { [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | bug29104.phpt | 7 function g() 9 echo "function g - begin\n"; 11 function f() 13 echo "function f\n"; 16 echo "function g - end\n"; 25 function g - begin 26 function g - end 27 function f
|
H A D | method_exists_002.phpt | 7 static public function stat_a2() { 9 static private function stat_b2() { 11 static protected function stat_c2() { 14 private function method_a() { 16 protected function method_b() { 18 public function method_c() { 25 static public function stat_a() { 27 static private function stat_b() { 32 private function method_a() { 34 protected function method_b() { [all …]
|
/PHP-5.5/ext/spl/tests/ |
H A D | CallbackFilterIteratorTest.phpt | 7 function test($value, $key, $inner) { 13 static function test($value, $key, $inner) { 18 function test($value, $key, $inner) { 29 'instance method' => function() { return array(new A, 'test'); }, 30 'static method' => function() { return array('B', 'test'); }, 31 'static method (2)' => function() { return 'B::test'; }, 32 'function' => function() { return 'test'; }, 33 …'anonymous function' => function() { return function($value, $key, $inner) { return test($value, $… 104 = function = 119 = anonymous function =
|
H A D | RecursiveCallbackFilterIteratorTest.phpt | 7 function test($value, $key, $inner) { 13 static function test($value, $key, $inner) { 18 function test($value, $key, $inner) { 32 'instance method' => function() { return array(new A, 'test'); }, 33 'static method' => function() { return array('B', 'test'); }, 34 'static method (2)' => function() { return 'B::test'; }, 35 'function' => function() { return 'test'; }, 36 …'anonymous function' => function() { return function($value, $key, $inner) { return test($value, $… 109 = function = 124 = anonymous function =
|
/PHP-5.5/ext/session/tests/ |
H A D | session_set_save_handler_iface_002.phpt | 22 public function open($path, $name); 23 public function close(); 24 public function read($id); 25 public function write($id, $data); 26 public function destroy($id); 27 public function gc($maxlifetime); 41 public function close() { 45 public function read($id) { 53 public function destroy($id) { 57 public function gc($maxlifetime) { [all …]
|
/PHP-5.5/scripts/dev/ |
H A D | generate-phpt.phar | 278 The function name is not a valid PHP function name. 1318 public static function getInstance($optionalSections, $type = 'function') { 1599 public function setFunction($function) { 1659 public function setFunction($function) { 1719 public function setUp(gtfunction $function, $argumentNumber, $variationData) { 1768 protected $function; 1780 public function setFunction(gtFunction $function) { 1781 $this->function = $function; 1878 public static function getInstance($optionalSections, $type = 'function') { 1924 public static function getInstance ($optionalSections, $type = 'function') { [all …]
|
/PHP-5.5/ext/reflection/tests/ |
H A D | ReflectionObject_isInstantiable_variation.phpt | 7 public static function reflectionObjectFactory() { 13 public function __construct() {} 14 public static function reflectionObjectFactory() { 20 protected function __construct() {} 21 public static function reflectionObjectFactory() { 27 private function __construct() {} 28 public static function reflectionObjectFactory() { 34 public function publicCtorOld() {} 35 public static function reflectionObjectFactory() { 41 protected function protectedCtorOld() {} [all …]
|