Home
last modified time | relevance | path

Searched refs:test (Results 251 – 275 of 5269) sorted by relevance

1...<<11121314151617181920>>...211

/PHP-8.2/Zend/tests/
H A Dbug60825.phpt7 class test {
14 $a = new test;
16 debug_zval_dump($a, test::$x);
19 object(test)#%d (0) refcount(%d){
21 object(test)#%d (0) refcount(%d){
H A Dclass_alias_013.phpt6 namespace test\baz;
19 var_dump(new \test\baz\foo, new \test\baz\T\BAR);
23 object(test\baz\foo)#%d (0) {
25 object(test\baz\foo)#%d (0) {
H A Dbug36513.phpt5 function test($s) {
13 //test('<?php echo "1";//');
14 test('<?php echo "1";//2');
15 test('<?php echo "1";//22');
16 test('<?php echo 3; // 4 ?>5');
H A Dconcat_001.phpt8 class test {
10 return "this is test object";
15 $o = new test;
54 string(24) "Arraythis is test object"
71 string(24) "this is test objectArray"
72 string(30) "this is test objectsome string"
73 string(22) "this is test object222"
74 string(27) "this is test object2323.444"
75 string(38) "this is test objectthis is test object"
86 string(22) "222this is test object"
[all …]
H A Doverloaded_func_001.phpt8 var_dump($o->test());
9 var_dump(_ZendTestClass::test());
12 string(4) "test"
13 string(4) "test"
H A Dclass_constants_001.phpt6 class test {
11 var_dump(test::val);
12 var_dump(test::val2);
14 var_dump(test::val3);
22 Fatal error: Uncaught Error: Undefined constant test::val3 in %s:%d
H A Dclosure_018.phpt7 public function test(&$x) {
16 $test = new foo;
19 var_dump($test->test($y));
20 var_dump($x = $test->test($y));
/PHP-8.2/ext/phar/tests/cache_list/files/
H A Dwrite.phar.inc9 echo $phar["test.txt"]->getContent();
10 $phar["test.txt"] = "changed
12 echo $phar["test.txt"]->getContent();
17 $phar['test.txt'] = "hi
19 $phar['test.txt']->setMetadata('hi');
H A Dwrite19.phar.inc9 var_dump($p["test.txt"]->getMetadata());
10 $p["test.txt"]->setMetadata("hi2");
11 var_dump($p["test.txt"]->getMetadata());
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar["test.txt"]->setMetadata("hi");
H A Dwrite20.phar.inc9 var_dump($p["test.txt"]->getMetadata());
10 $p["test.txt"]->delMetadata();
11 var_dump($p["test.txt"]->getMetadata());
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar["test.txt"]->setMetadata("hi");
H A Dwrite22.phar.inc9 var_dump($p["test.txt"]->isCompressed());
10 $p["test.txt"]->decompress();
11 var_dump($p["test.txt"]->isCompressed());
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar['test.txt']->compress(Phar::GZ);
/PHP-8.2/ext/json/tests/
H A Dpass003.phpt2 JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json)
6 $test = '
10 "In this test": "It is an object."
15 echo 'Testing:' . $test . "\n";
17 $obj = json_decode($test);
20 $arr = json_decode($test, true);
43 "In this test": "It is an object."
53 ["In this test"]=>
63 ["In this test"]=>
77 ["In this test"]=>
[all …]
/PHP-8.2/tests/security/
H A Dopen_basedir_realpath.phpt29 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe…
32 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th…
35 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa…
38 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa…
44 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe…
53 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa…
55 string(%d) "%s\test\ok"
56 string(%d) "%s\test\ok\ok.txt"
57 string(%d) "%s\test\ok\ok.txt"
58 string(%d) "%s\test\ok\ok.txt"
[all …]
/PHP-8.2/ext/mysqli/tests/
H A D015.phpt32 if (!mysqli_query($link,"DROP TABLE IF EXISTS test") ||
34 !mysqli_query($link, "INSERT INTO test VALUES (1, 'foobar')"))
35 printf("[004] Cannot create test data, [%d] %s\n",
42 if (!mysqli_query($link, "DELETE FROM test") ||
43 !mysqli_query($link, "INSERT INTO test VALUES (2, 'egon')"))
44 printf("[006] Cannot modify test data, [%d] %s\n",
51 $result = mysqli_query($link, "SELECT SQL_NO_CACHE * FROM test");
59 if (!mysqli_query($link, "DELETE FROM test") ||
61 printf("[009] Cannot modify test data, [%d] %s\n",
66 $result = mysqli_query($link, "SELECT * FROM test");
[all …]
/PHP-8.2/Zend/tests/readonly_props/
H A Dunset.phpt14 $test = new Test(1);
16 unset($test->prop);
37 $test = new Test2;
38 var_dump($test->prop); // Call __get.
39 var_dump($test->prop); // Don't call __get.
41 unset($test->prop); // Unset initialized, illegal.
50 $test = new Test3;
52 unset($test->prop);
/PHP-8.2/ext/pdo_mysql/tests/
H A Dchange_column_count.phpt19 $db->exec('DROP TABLE IF EXISTS test');
20 $db->exec('CREATE TABLE test (id INTEGER PRIMARY KEY NOT NULL, name VARCHAR(255) NOT NULL)');
22 $stmt = $db->prepare('INSERT INTO test (id, name) VALUES(:id, :name)');
25 'name' => 'test',
28 $stmt = $db->prepare('SELECT * FROM test WHERE id = :id');
32 $db->exec('ALTER TABLE test ADD new_col VARCHAR(255)');
49 string(4) "test"
58 string(4) "test"
/PHP-8.2/Zend/tests/traits/
H A Derror_014.phpt7 public function test() { return 3; }
11 final public function test() { return 4; }
15 use foo { test as public; }
19 var_dump($x->test());
23 Fatal error: Cannot override final method baz::test() in %s on line %d
/PHP-8.2/ext/standard/tests/file/
H A Dstream_rfc2397_005.phpt12 'data:,;test',
13 'data:text/plain,test',
14 'data:text/plain;charset=US-ASCII,test',
30 string(5) ";test"
31 string(4) "test"
32 string(4) "test"
H A Ddirname_basic.phpt23 'c:\test\afile',
24 'c:\\test\\afile',
25 'c://test//afile',
26 'c:\test\afile\\',
37 ' c:\test\adir\afile.txt',
38 'c:\test\adir\afile.txt ',
39 ' c:\test\adir\afile.txt ',
44 ' c:\test\adir\afile.txt',
64 string(8) "c://test"
/PHP-8.2/ext/standard/tests/
H A Dforward_static_call_array.phpt8 function test() {
17 public static function test() {
28 public static function test() {
30 forward_static_call_array(array('A', 'test'), array('more', 'args'));
31 forward_static_call_array('test', array('other', 'args'));
36 B::test('foo');
/PHP-8.2/ext/standard/tests/strings/
H A Dbug36944.phpt7 var_dump(strncmp("test ", "e", -1));
11 var_dump(strncmp("test ", "e", 10));
12 var_dump(strncmp("test ", "e", 0));
15 var_dump(strncasecmp("test ", "E", -1));
19 var_dump(strncasecmp("test ", "E", 10));
20 var_dump(strncasecmp("test ", "E", 0));
/PHP-8.2/ext/spl/tests/
H A Dobserver_003.phpt8 public $test = 25;
10 public function __construct($test = 42)
12 $this->test = $test;
27 var_dump($object->test);
39 var_dump($object->test);
/PHP-8.2/ext/simplexml/tests/
H A Dlibxml_global_state_entity_loader_bypass.phpt19 echo "--- String test ---\n";
21 echo "--- Constructor test ---\n";
23 echo "--- File test ---\n";
35 --- String test ---
36 --- Constructor test ---
37 --- File test ---
/PHP-8.2/ext/soap/tests/soap12/
H A DT56.phpt14 <test:DataHolder xmlns:test="http://example.org/ts-tests"
16 <test:Data enc:id="data-1" xsi:type="xsd:string">
18 </test:Data>
19 </test:DataHolder>
22 <test:echoString xmlns:test="http://example.org/ts-tests"
25 </test:echoString>
29 include "soap12-test.inc";
/PHP-8.2/ext/odbc/
H A Dconfig.m42 if ! test -f "$ODBC_INCDIR/$1"; then
76 if test ! -f $ODBC_LIBS; then
102 if test -z "$ODBC_TYPE"; then
132 if test -z "$ODBC_TYPE"; then
153 if test -z "$ODBC_TYPE"; then
181 if test -z "$ODBC_TYPE"; then
221 if test -z "$ODBC_TYPE"; then
247 if test -z "$ODBC_TYPE"; then
289 if test -z "$ODBC_TYPE"; then
317 if test -z "$ODBC_TYPE"; then
[all …]

Completed in 30 milliseconds

1...<<11121314151617181920>>...211