Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 4199) sorted by relevance

12345678910>>...168

/PHP-5.5/Zend/tests/
H A Dbug54358.phpt6 public function call($function) {
12 $closure = function() use ($asserter, &$function) {
13 $asserter->call($function = 'md5');
18 var_dump($function);
20 $closure = function() use ($asserter, $function) {
21 $asserter->call($function);
26 var_dump($function);
28 $closure = function() use ($asserter, $function) {
29 $asserter->call($function);
34 var_dump($function);
H A Dbug54039.phpt5 function test_1() {
9 $f = function() use($v) {
18 function test_2() {
20 $f = function() use($v) {
31 function test_3() {
35 $f = function() use($v) {
46 Inner function reckons $v is 1
48 Inner function reckons $v is 2
50 Inner function reckons $v is 0
52 Inner function reckons $v is 1
[all …]
H A Dget_class_methods_003.phpt7 function aa();
8 function bb();
9 static function cc();
13 public function a() { }
14 protected function b() { }
15 private function c() { }
23 public function aa() { }
24 public function bb() { }
26 static function cc() { }
28 public function __construct() {
[all …]
H A Ddebug_backtrace_limit.phpt5 function a() {
9 function b() {
13 function c() {
29 [function] => c
43 [function] => c
54 [function] => b
68 [function] => c
79 [function] => b
90 [function] => a
104 [function] => c
[all …]
H A Dbug40236.inc2 function func1() { }
3 function func2() { }
4 function func3() { }
5 function func4() { }
6 function func5() { }
7 function func6() { }
8 function func7() { }
/PHP-5.5/ext/soap/tests/soap12/
H A Dsoap12-test.inc5 function echoOk($x) {
9 function echoString($inputString) {
33 function echoStruct($x) {
37 function echoStructArray($x) {
41 function echoVoid() {
53 function echoHexBinary($hb) {
57 function echoDecimal($dec) {
93 function isNil($input) {
97 function returnVoid() {
100 function emptyBody() {
[all …]
/PHP-5.5/tests/func/
H A D004.phpt2 General function test
6 echo "Before function declaration...\n";
17 function some_other_function()
19 echo "This is some other function, to ensure more than just one function works fine...\n";
38 Before function declaration...
39 After function declaration...
53 Done with function...
55 Returned from function call...
62 Done with function...
64 Returned from function call...
[all …]
/PHP-5.5/ext/spl/tests/
H A Dbug54384.phpt6 function test($f) {
19 test( function() {
29 test( function() {
39 test( function() {
48 test ( function() {
57 test ( function() {
66 test ( function() {
75 test ( function() {
84 test ( function() {
93 test ( function() {
[all …]
/PHP-5.5/ext/standard/tests/array/
H A Dbug34227.phpt8 function m1()
13 function m2()
18 function m3()
23 function m4()
28 function m5()
33 function m6()
38 function m7()
43 function m8()
76 function p4()
81 function p3()
[all …]
H A Dusort_error2.phpt2 Test usort() function : error conditions - Pass unknown 'cmp_function'
6 * Description: Sort an array by values using a user-defined comparison function
11 * Pass an unknown comparison function to usort() to test behaviour.
18 function cmp($value1, $value2)
35 // With non existent comparison function
36 echo "\n-- Testing usort() function with non-existent compare function --\n";
39 // With non existent comparison function and extra argument
40 echo "\n-- Testing usort() function with non-existent compare function and extra argument --\n";
47 -- Testing usort() function with non-existent compare function --
49 …ort() expects parameter 2 to be a valid callback, function 'non_existent' not found or invalid fun…
[all …]
/PHP-5.5/ext/phar/phar/
H A Dphar.inc23 function getSignature()
28 function getAlias()
33 function rewind()
37 function valid()
42 function current()
46 function key()
50 function next()
54 function hasChildren()
59 function getChildren()
71 function getStub()
[all …]
/PHP-5.5/tests/security/
H A Dopen_basedir.inc60 function create_directories() {
71 function delete_directories() {
76 function test_open_basedir_error($function) {
78 var_dump($function("../bad"));
80 var_dump($function(".."));
81 var_dump($function("../"));
82 var_dump($function("/"));
89 function test_open_basedir_before($function, $change = TRUE) {
104 function test_open_basedir_after($function) {
109 function test_open_basedir_array($function) {
[all …]
/PHP-5.5/ext/soap/tests/interop/Round2/Base/
H A Dround2_base.inc4 function echoString($inputString)
9 function echoStringArray($inputStringArray)
15 function echoInteger($inputInteger)
25 function echoFloat($inputFloat)
35 function echoStruct($inputStruct)
45 function echoVoid()
50 function echoBase64($b_encoded)
55 function echoDate($timeInstant)
60 function echoHexBinary($hb)
65 function echoDecimal($dec)
[all …]
/PHP-5.5/tests/classes/
H A Dinterface_doubled.phpt9 function f_a();
13 function f_b();
17 function f_c();
21 function f_d();
25 function f_d();
40 function f_a() {}
41 function f_b() {}
42 function f_c() {}
43 function f_d() {}
44 function f_e() {}
[all …]
H A Dvisibility_003a.phpt9 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 Dvisibility_003c.phpt9 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 Dvisibility_004a.phpt9 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 Dvisibility_004c.phpt9 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 Dvisibility_000c.phpt9 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 Dvisibility_001c.phpt9 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 Dvisibility_002c.phpt9 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 Dvisibility_004b.phpt9 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/reflection/tests/
H A DReflectionFunction_getNamespaceName.phpt6 function foo() {}
8 $function = new \ReflectionFunction('sort');
9 var_dump($function->inNamespace());
10 var_dump($function->getName());
11 var_dump($function->getNamespaceName());
12 var_dump($function->getShortName());
14 $function = new \ReflectionFunction('A\\B\\foo');
15 var_dump($function->inNamespace());
16 var_dump($function->getName());
17 var_dump($function->getNamespaceName());
[all …]
H A DReflectionClass_getNamespaceName.phpt9 $function = new \ReflectionClass('stdClass');
10 var_dump($function->inNamespace());
11 var_dump($function->getName());
12 var_dump($function->getNamespaceName());
13 var_dump($function->getShortName());
15 $function = new \ReflectionClass('A\\B\\Foo');
16 var_dump($function->inNamespace());
17 var_dump($function->getName());
18 var_dump($function->getNamespaceName());
19 var_dump($function->getShortName());
/PHP-5.5/ext/intl/tests/
H A Dut_common.inc8 function ut_run()
37 function dump( $val )
46 function ut_coll_create( $locale )
86 function ut_coll_get_strength( $coll )
118 function ut_coll_get_default()
122 function ut_coll_set_default( $coll )
189 function ut_nfmt_get_pattern( $fmt )
219 function ut_loc_get_default( )
231 function ut_loc_get_script( $locale )
235 function ut_loc_get_region( $locale )
[all …]

Completed in 32 milliseconds

12345678910>>...168