/PHP-7.0/Zend/tests/grammar/ |
H A D | semi_reserved_001.phpt | 8 function empty(){ echo __METHOD__, PHP_EOL; } 9 function callable(){ echo __METHOD__, PHP_EOL; } 10 function class(){ echo __METHOD__, PHP_EOL; } 11 function trait(){ echo __METHOD__, PHP_EOL; } 12 function extends(){ echo __METHOD__, PHP_EOL; } 16 function final(){ echo __METHOD__, PHP_EOL; } 26 function and(){ echo __METHOD__, PHP_EOL; } 34 function or(){ echo __METHOD__, PHP_EOL; } 58 function function(){ echo __METHOD__, PHP_EOL; } 137 $obj->function(); [all …]
|
H A D | semi_reserved_002.phpt | 8 static function empty(){ echo __METHOD__, PHP_EOL; } 9 static function callable(){ echo __METHOD__, PHP_EOL; } 10 static function class(){ echo __METHOD__, PHP_EOL; } 11 static function trait(){ echo __METHOD__, PHP_EOL; } 12 static function extends(){ echo __METHOD__, PHP_EOL; } 14 static function static(){ echo __METHOD__, PHP_EOL; } 16 static function final(){ echo __METHOD__, PHP_EOL; } 34 static function or(){ echo __METHOD__, PHP_EOL; } 58 static function function(){ echo __METHOD__, PHP_EOL; } 135 Obj::function(); [all …]
|
H A D | regression_001.phpt | 7 public static function function(){ echo __METHOD__, PHP_EOL; } 10 Foo::function(); 13 function(); 16 function(); 20 function( 28 Foo::function 29 Foo::function 30 Foo::function 31 Foo::function
|
/PHP-7.0/Zend/tests/ |
H A D | bug54358.phpt | 6 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 D | bug54039.phpt | 5 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 D | get_class_methods_003.phpt | 7 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 D | bug40236.inc | 2 function func1() { } 3 function func2() { } 4 function func3() { } 5 function func4() { } 6 function func5() { } 7 function func6() { } 8 function func7() { }
|
/PHP-7.0/ext/soap/tests/soap12/ |
H A D | soap12-test.inc | 5 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-7.0/tests/func/ |
H A D | 004.phpt | 2 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-7.0/ext/standard/tests/array/ |
H A D | bug34227.phpt | 8 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 …]
|
/PHP-7.0/ext/spl/tests/ |
H A D | bug54384.phpt | 6 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-7.0/ext/phar/phar/ |
H A D | phar.inc | 23 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-7.0/tests/security/ |
H A D | open_basedir.inc | 60 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-7.0/ext/soap/tests/interop/Round2/Base/ |
H A D | round2_base.inc | 4 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-7.0/ext/reflection/tests/ |
H A D | ReflectionFunction_getNamespaceName.phpt | 6 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 D | ReflectionClass_getNamespaceName.phpt | 9 $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-7.0/tests/classes/ |
H A D | interface_doubled.phpt | 9 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 D | visibility_003a.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_003c.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_004a.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_004c.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_000c.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_001c.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_002c.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_004b.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 …]
|