Home
last modified time | relevance | path

Searched refs:function (Results 351 – 375 of 6949) sorted by relevance

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

/PHP-5.6/ext/standard/tests/array/
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.6/ext/standard/tests/class_object/
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.6/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 --
/PHP-5.6/Zend/tests/
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'));}
H A Dbug48215.phpt7 public function __construct() {
10 protected function A()
17 public function __construct() {
21 public function A()
H A Dbug52051.phpt7 function AA() { echo "foo\n"; }
11 function CC() { parent::bb(); }
16 function A() { echo "bar\n"; }
20 function C() { parent::B(); }
H A Dcatch_004.phpt8 function fail()
13 function __construct()
19 function __destruct()
24 static function test()
H A Dclosure_033.phpt2 Closure 033: Dynamic closure property and private function
8 function __construct() {
9 $this->func = function() {
13 private function func() {
/PHP-5.6/tests/classes/
H A Dctor_in_interface_02.phpt7 function __construct();
16 function __construct()
23 function __construct($a);
28 function __construct()
H A Ddestructor_and_globals.phpt8 function Show() {
16 public function __construct() {
22 public function Show() {
27 public function __destruct() {
32 static public function destroy(&$obj) {
H A Dvisibility_005.phpt12 function f()
26 echo "===base::function===\n";
35 echo "===derived::function===\n";
44 ===base::function===
52 ===derived::function===
/PHP-5.6/Zend/tests/traits/
H A Dlanguage006.phpt8 public function sayHelloWorld() {
11 abstract public function getWorld();
17 public function getWorld() {
20 public function setWorld($val) {
H A Dmethods_001.phpt7 public function __toString() {
11 public function __get($x) {
15 public function __set($attr, $val) {
19 public function __clone() {
/PHP-5.6/ext/json/tests/
H A Djson_decode_error.phpt2 Test json_decode() function : error conditions
9 echo "\n-- Testing json_decode() function with no arguments --\n";
12 echo "\n-- Testing json_decode() function with more than expected no. of arguments --\n";
21 -- Testing json_decode() function with no arguments --
26 -- Testing json_decode() function with more than expected no. of arguments --
/PHP-5.6/ext/reflection/tests/
H A D005.phpt9 function strip_doc_comment($c)
20 function bla()
24 function foo() {
30 function bar() {
37 function baz() {
/PHP-5.6/ext/standard/tests/strings/
H A Dstrrev_error.phpt2 Test strrev() function : error conditions
11 echo "-- Testing strrev() function with Zero arguments --";
14 echo "\n-- Testing strrev() function with more than expected no. of arguments --";
20 -- Testing strrev() function with Zero arguments --
24 -- Testing strrev() function with more than expected no. of arguments --
/PHP-5.6/tests/lang/
H A Dstatic_variation_002.phpt7 function f() {
11 function cfg() {
24 static function f() {
25 eval('function dfg() { static $b = array(1,2,3); var_dump($b); } ');
31 eval(' Class E { function f() { static $c = array(1,2,3); var_dump($c); } }');
/PHP-5.6/tests/output/
H A Dob_start_basic_002.phpt5 function return_empty_string($string) {
9 function return_false($string) {
13 function return_null($string) {
17 function return_string($string) {
21 function return_zero($string) {
/PHP-5.6/ext/date/tests/
H A Didate_variation6.phpt2 Test idate() function : usage variation - Checking return of year(1 or 2 digits) format starting wi…
13 // Initialise function arguments not being substituted (if any)
17 echo "\n-- Testing idate() function for 2 digit year having no zero as starting number --\n";
21 echo "\n-- Testing idate() function for 2 digit year having zero as starting number --\n";
29 -- Testing idate() function for 2 digit year having no zero as starting number --
32 -- Testing idate() function for 2 digit year having zero as starting number --
H A Dstrftime_variation23.phpt2 Test strftime() function : usage variation - Checking large positive and negative float values to t…
13 // Initialise function arguments not being substituted (if any)
18 echo "\n-- Testing strftime() function with float 12.3456789000e10 to timestamp --\n";
22 echo "\n-- Testing strftime() function with float -12.3456789000e10 to timestamp --\n";
31 -- Testing strftime\(\) function with float 12.3456789000e10 to timestamp --
34 -- Testing strftime\(\) function with float -12.3456789000e10 to timestamp --
/PHP-5.6/ext/spl/tests/
H A Dspl_autoload_012.phpt6 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...')

Completed in 110 milliseconds

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