Home
last modified time | relevance | path

Searched refs:function (Results 126 – 150 of 6958) sorted by relevance

12345678910>>...279

/PHP-7.2/ext/session/tests/
H A Dbug60634_error_5.phpt14 function open($save_path, $session_name) {
18 function close() {
23 function read($id) {
27 function write($id, $session_data) {
31 function destroy($id) {
35 function gc($maxlifetime) {
48 Fatal error: Uncaught Error: Call to undefined function undefined_function() in %s:%d
50 #0 [internal function]: close()
H A Dsession_set_save_handler_iface_003.phpt2 Test session_set_save_handler() function: id interface
19 echo "*** Testing session_set_save_handler() function: id interface ***\n";
24 public function open($path, $name) {
32 public function close() {
36 public function read($id) {
40 public function write($id, $data) {
45 public function destroy($id) {
49 public function gc($maxlifetime) {
58 public function create_sid() {
80 *** Testing session_set_save_handler() function: id interface ***
H A Dsession_set_save_handler_class_016.phpt2 Test session_set_save_handler() function: class with create_sid
19 echo "*** Testing session_set_save_handler() function: class with create_sid ***\n";
24 public function open($path, $name) {
32 public function close() {
36 public function read($id) {
40 public function write($id, $data) {
44 public function destroy($id) {
48 public function gc($maxlifetime) {
57 public function create_sid() {
79 *** Testing session_set_save_handler() function: class with create_sid ***
H A Dsession_set_save_handler_class_017.phpt2 Test session_set_save_handler() function: class with create_sid
19 echo "*** Testing session_set_save_handler() function: class with create_sid ***\n";
24 public function open($path, $name) {
32 public function close() {
36 public function read($id) {
40 public function write($id, $data) {
44 public function destroy($id) {
48 public function gc($maxlifetime) {
57 public function create_sid() {
79 *** Testing session_set_save_handler() function: class with create_sid ***
H A Dbug60634_error_3.phpt14 function open($save_path, $session_name) {
18 function close() {
23 function read($id) {
27 function write($id, $session_data) {
32 function destroy($id) {
36 function gc($maxlifetime) {
47 Fatal error: Uncaught Error: Call to undefined function undefined_function() in %s:%d
49 #0 [internal function]: write(%s, '')
H A Dbug71162.phpt12 public function open($path, $sessname) {
16 public function close() {
20 public function read($sessid) {
24 public function write($sessid, $sessdata) {
29 public function destroy($sessid) {
33 public function gc($maxlifetime) {
37 public function create_sid() {
41 public function validateId($sid) {
45 public function updateTimestamp($sessid, $sessdata) {
/PHP-7.2/Zend/tests/
H A Dbug48770.phpt9 public function func($str) {
12 private function func2($str) {
15 protected function func3($str) {
18 private function func22($str) {
24 public function func($str) {
34 private function func2($str) {
37 protected function func3($str) {
43 public function func($str) {
H A Dns_040.phpt9 function f1($x=A) {
12 function f2($x=\X\A) {
15 function f3($x=Y\A) {
18 function f4($x=\X\A) {
21 function f5($x=B) {
24 function f6($x=array(A)) {
27 function f7($x=array("aaa"=>A)) {
30 function f8($x=array(A=>"aaa\n")) {
H A Dbug72496.phpt7 private function getFoo()
12 private function getBar()
17 private function getBaz()
25 public function getFoo($extraArgument)
30 protected function getBar($extraArgument)
35 private function getBaz($extraArgument)
H A Dmethods-on-non-objects-usort.phpt2 usort() in combination with "Call to a member function method() on null"
5 set_error_handler(function($code, $message) {
11 usort($list, function($a, $b) use ($comparator) {
24 string(43) "Call to a member function compare() on null"
26 string(43) "Call to a member function compare() on null"
28 string(43) "Call to a member function compare() on null"
30 string(43) "Call to a member function compare() on null"
/PHP-7.2/tests/classes/
H A Dfinal.phpt7 function show() {
8 echo "Call to function first::show()\n";
16 final function show() {
17 echo "Call to function second::show()\n";
27 Call to function first::show()
28 Call to function second::show()
/PHP-7.2/ext/reflection/tests/
H A DReflectionObject_isInstantiable_variation.phpt7 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 …]
H A DReflectionClass_isIterateable_basic.phpt9 public function __construct() { }
10 public function key() {}
11 public function current() {}
12 function next() {}
13 function valid() {}
14 function rewind() {}
19 function dump_iterateable($class) {
H A DReflectionObject_isInstantiable_basic.phpt2 ReflectionObject::IsInstantiable() - basic function test
9 function f1();
13 function f1() {}
17 function f1() {}
18 abstract function f2();
22 function f2() {}
/PHP-7.2/ext/date/tests/
H A Dgmdate_variation10.phpt2 Test gmdate() function : usage variation - Passing Timezone format options to format argument.
17 echo "\n-- Testing gmdate() function with Timezone identifier format --\n";
25 echo "\n-- Testing gmdate() function with difference to GMT in hours format --\n";
33 echo "\n-- Testing gmdate() function with timezone abbreviation format --\n";
37 echo "\n-- Testing gmdate() function with timezone offset format --\n";
46 -- Testing gmdate() function with Timezone identifier format --
50 -- Testing gmdate() function with checking whether date is in daylight saving time format --
54 -- Testing gmdate() function with difference to GMT in hours format --
58 -- Testing gmdate() function with Difference to GMT in hours using colon as separator format --
62 -- Testing gmdate() function with timezone abbreviation format --
[all …]
/PHP-7.2/ext/standard/tests/strings/
H A Dhebrevc_basic.phpt2 Test hebrevc() function : basic functionality
13function converts logical Hebrew text to visual text.\nThis function is similar to hebrev() with t…
22 string(239) ".The hebrevc function converts logical Hebrew text to visual text<br />
23 ) This function is similar to hebrev() with the difference that it converts newlines<br />
26 .The function tries to avoid breaking words<br />
32 function<br />
40 ) This function<br />
45 .The function<br />
H A Dstrncasecmp_error.phpt2 Test strncasecmp() function : error conditions
10 echo "*** Testing strncasecmp() function: error conditions ***\n";
16 echo "\n-- Testing strncasecmp() function with Zero arguments --";
19 echo "\n-- Testing strncasecmp() function with less than expected number of arguments --";
23 echo "\n-- Testing strncasecmp() function with more than expected number of arguments --";
26 echo "\n-- Testing strncasecmp() function with invalid argument --";
32 *** Testing strncasecmp() function: error conditions ***
34 -- Testing strncasecmp() function with Zero arguments --
38 -- Testing strncasecmp() function with less than expected number of arguments --
45 -- Testing strncasecmp() function with more than expected number of arguments --
[all …]
H A Dhebrev_basic.phpt2 Test hebrev() function : basic functionality
13 $hebrew_text = "The hebrev function converts logical Hebrew text to visual text.\nThe function trie…
22 string(109) ".The hebrev function converts logical Hebrew text to visual text
23 .The function tries to avoid breaking words
29 hebrev function
33 .The function
/PHP-7.2/ext/standard/tests/array/
H A Darray_diff_ukey_variation10.phpt2 Test array_diff_ukey() function : usage variation - Passing non-existing function name to callback
16 //function name within double quotes
19 //function name within single quotes
22 //function name without quotes
30 …y() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
33 …y() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
38 …y() expects parameter 3 to be a valid callback, function 'unknown_function' not found or invalid f…
/PHP-7.2/ext/ftp/tests/
H A Dftp_ssl_connect_error.phpt2 Test ftp_ssl_connect() function : error conditions
11 echo "*** Testing ftp_ssl_connect() function : error conditions ***\n";
12 echo "\n-- Testing ftp_ssl_connect() function on failure --\n";
15 echo "\n-- Testing ftp_ssl_connect() function invalid argument type --\n";
20 echo "\n-- Testing ftp_ssl_connect() function with more than expected no. of arguments --\n";
23 echo "\n-- Testing ftp_ssl_connect() function timeout warning for value 0 --\n";
28 *** Testing ftp_ssl_connect() function : error conditions ***
30 -- Testing ftp_ssl_connect() function on failure --
35 -- Testing ftp_ssl_connect() function invalid argument type --
43 -- Testing ftp_ssl_connect() function with more than expected no. of arguments --
[all …]
/PHP-7.2/ext/opcache/tests/
H A Dbug70423.phpt18 $fn1 = function() use ($a) {echo "$a\n"; $a++;};
19 $fn2 = function() use ($a) {echo "$a\n"; $a++;};
28 $fn1 = function() use (&$b) {echo "$b\n"; $b++;};
29 $fn2 = function() use (&$b) {echo "$b\n"; $b++;};
38 $fn1 = function() use (&$c) {echo "$c\n"; $c++;};
39 $fn2 = function() use ($c) {echo "$c\n"; $c++;};
48 $fn1 = function() use ($d) {echo "$d\n"; $d++;};
49 $fn2 = function() use (&$d) {echo "$d\n"; $d++;};
/PHP-7.2/ext/standard/tests/general_functions/
H A Dcallbacks_001.phpt6 public static function who() {
9 public static function who2() {
15 public static function who() {
21 public function call($cb) {
25 public function test() {
37 public static function who() {
52 public function who() {
58 function __toString() {
61 public function who() {
64 public function call($cb) {
[all …]
/PHP-7.2/tests/lang/
H A Dbug27439.phpt16 public function __construct() {
20 public function getArray() {
24 public function getString() {
28 public function case1() {
34 public function case2() {
38 public function case3() {
42 public function case4() {
46 public function case5() {
50 public function case6() {
/PHP-7.2/ext/xsl/tests/
H A Dxslt011.phpt2 Test 11: php:function Support
7 print "Test 11: php:function Support\n";
9 function __construct() {}
10 function __toString() { return "not a DomNode object";}
23 function foobar($id, $secondArg = "" ) {
30 function nodeSet($id = null) {
39 function nonDomNode() {
44 static function aStaticFunction($id) {
49 Test 11: php:function Support
/PHP-7.2/ext/spl/tests/
H A Darray_005.phpt11 public function __construct($id, $name)
17 public function __toString()
22 public function getId()
32 public function __construct(ArrayObject $students, Student $other)
38 public function accept()
49 public function __construct()
54 public function add(Student $student)
61 public function contains(Student $student)
72 public function getIterator() {

Completed in 26 milliseconds

12345678910>>...279