Home
last modified time | relevance | path

Searched refs:test (Results 426 – 450 of 5243) sorted by relevance

1...<<11121314151617181920>>...210

/php-src/ext/dba/tests/
H A Ddba015.phpt17 require_once(__DIR__ .'/test.inc');
22 dba_insert("key1", "This is a test insert 1", $db_file1);
36 dba_insert("key2", "This is a test insert 2", $db_file2);
66 This is a test insert 1
70 This is a test insert 1
71 This is a test insert 2
73 This is a test insert 1
74 This is a test insert 2
80 This is a test insert 1
81 This is a test insert 2
H A Ddba_db4_018.phpt17 require_once(__DIR__ .'/test.inc');
22 dba_insert("key1", "This is a test insert 1", $db_file1);
36 dba_insert("key2", "This is a test insert 2", $db_file2);
66 This is a test insert 1
70 This is a test insert 1
71 This is a test insert 2
73 This is a test insert 1
74 This is a test insert 2
80 This is a test insert 1
81 This is a test insert 2
/php-src/ext/gd/tests/
H A Dcreatefromgd2.phpt8 die("skip test requires GD 2.3.2 or older");
17 echo 'test create from gd2: ';
22 echo 'test create from gd2 part: ';
27 test create from gd2: ok
28 test create from gd2 part: ok
/php-src/ext/standard/tests/url/
H A Dparse_url_basic_008.phpt52 --> http://www.php.net:80/?test=1 : string(6) "test=1"
53 --> http://www.php.net/?test=1& : string(7) "test=1&"
55 --> http://www.php.net:80/index.php?test=1& : string(7) "test=1&"
59 --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : string(31) "test=1&test2=ch…
60 --> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=…
61 …-> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : str…
62 --> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : strin…
63 … http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : str…
64 …tp://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : str…
65 …//secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : str…
[all …]
H A Dbug55273.phpt5 function test($s) {
11 test('PHP');
12 test('PH');
13 test('P');
/php-src/ext/dom/tests/
H A Dbug47530.phpt56 <feed xmlns="http://www.w3.org/1999/xhtml" xmlns:test="https://php.net/test" xmlns:example="https:/…
59 <example:p>More test text</example:p>
60 <test:p>Even more test text</test:p>
69 …$dom2->loadXML('<?xml version="1.0"?><container xmlns:test="https://php.net/test" xmlns="https://p…
82 …ps://php.net/default" xmlns:example="https://php.net/example"><p example:test="test"/><i/></div>');
136 <container xmlns:test="https://php.net/test" xmlns="https://php.net/example"><feed xmlns="http://ww…
139 <example:p>More test text</example:p>
140 <test:p>Even more test text</test:p>
145 …xmlns="https://php.net/default" xmlns:example="https://php.net/example" example:test="test"/></div>
148 …https://php.net/default" xmlns:example="https://php.net/example" example:test="test"><i/></p></div>
[all …]
H A DDOMNode_DOMNameSpaceNode_parentElement.phpt16 echo "--- body test ---\n";
22 echo "--- document test ---\n";
30 echo "--- fragment test ---\n";
45 --- body test ---
48 --- document test ---
53 --- fragment test ---
/php-src/ext/dom/tests/modern/spec/
H A Dbug47530.phpt55 <feed xmlns="http://www.w3.org/1999/xhtml" xmlns:test="https://php.net/test" xmlns:example="https:/…
58 <example:p>More test text</example:p>
59 <test:p>Even more test text</test:p>
66 …ument::createFromString('<?xml version="1.0"?><container xmlns:test="https://php.net/test" xmlns="…
78 …ps://php.net/default" xmlns:example="https://php.net/example"><p example:test="test"/><i/></div>');
132 <container xmlns:test="https://php.net/test" xmlns="https://php.net/example"><feed xmlns="http://ww…
135 <example:p>More test text</example:p>
136 <test:p>Even more test text</test:p>
141 …xmlns="https://php.net/default" xmlns:example="https://php.net/example" example:test="test"/></div>
143 …https://php.net/default" xmlns:example="https://php.net/example" example:test="test"><i/></p></div>
[all …]
/php-src/ext/mbstring/tests/
H A Dbug77454.phpt8 function test($str, $enc) {
11 test($str, 'latin1');
12 test($str, 'utf-8');
13 test($str, 'ascii');
/php-src/ext/phar/tests/cache_list/files/
H A Dfrontcontroller13.phar4 ������������������� ���index.php/����L�G/������w������� ���oof/test.php3����L�G3���B�Z�������
6 var_dump("test");
7 include "oof/test.php";<?php
8 var_dump("oof/test.php");
H A Dwrite21.phar.inc9 var_dump($p["test.txt"]->isCompressed());
10 $p["test.txt"]->compress(Phar::GZ);
11 var_dump($p["test.txt"]->isCompressed());
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
H A Dwrite23.phar3 var_dump(isset($p["test.txt"]), isset($p["newname"]));
4 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname");
5 var_dump(isset($p["test.txt"]), isset($p["newname"]));
8 6���������������������test.txt���M��H������E�������<?php __HALT_COMPILER();��8��.��X�N�ݱƊ�k …
/php-src/ext/phar/tests/files/
H A Dfrontcontroller13.phar4 ������������������� ���index.php/����L�G/������w������� ���oof/test.php3����L�G3���B�Z�������
6 var_dump("test");
7 include "oof/test.php";<?php
8 var_dump("oof/test.php");
/php-src/Zend/tests/
H A Dbug78335.phpt7 public static $test;
15 function test() {
21 Test::$test = $foo;
22 test();
H A Dbug32322.phpt7 class test
22 self::$instance = new test('Singleton1');
34 $instance2 = new test('Singleton2');
52 $getCopyofSingleton = test::getInstance();
54 $getCopyofSingleton = &test::getInstance();
56 $getCopyofSingleton = test::getInstance();
58 $getCopyofSingleton2 = test::getInstance2();
60 $getCopyofSingleton2 = &test::getInstance2();
62 $getCopyofSingleton2 = test::getInstance2();
H A Dbug31102.phpt6 $test = 0;
9 global $test;
11 echo __METHOD__ . "($class,$test)\n";
12 switch($test)
26 while($test++ < 5)
30 eval("\$bug = new Test$test();");
/php-src/ext/standard/tests/file/
H A Dreadlink_realpath_basic2.phpt13 mkdir("$file_path/readlink_realpath_basic2/home/test/", 0777, true);
15 $file_handle1 = fopen("$file_path/readlink_realpath_basic2/home/test/readlink_realpath_basic2.tmp",…
27 "$file_path/readlink_realpath_basic2//home/test//../test/./readlink_realpath_basic2.tmp",
31 "$file_path///readlink_realpath_basic2/home//..//././test//readlink_realpath_basic2.tmp",
32 "$file_path/readlink_realpath_basic2/home/../home/../test/../readlink_realpath_basic2.tmp",
49 unlink("$name_prefix/home/test/readlink_realpath_basic2.tmp");
52 rmdir("$name_prefix/home/test/");
66 string(%d) "%s/readlink_realpath_basic2/home/test/readlink_realpath_basic2.tmp"
H A Duserstreams_005.phpt27 function test($name, $fd, $dest_size) {
31 var_dump(stream_wrapper_register('test', 'test_wrapper'));
35 $fd = fopen("test://foo","r");
39 test("stream_truncate not implemented", $fd2, 0);
40 test("stream_truncate size 0", $fd, 0);
41 test("stream_truncate size 10", $fd, 10);
43 test("stream_truncate negative size", $fd, -1);
47 test("stream_truncate bad return", $fd3, 0);
/php-src/sapi/cli/tests/
H A D014.phpt10 $filename = __DIR__."/014.test.php";
13 $test = "var"; //var
14 /* test class */
15 class test {
24 $o = new test;
41 $test </span><span style="color: #007700">= </span><span style="color: #DD0000">"var"</span><span s…
42 /* test class */
43 </span><span style="color: #007700">class </span><span style="color: #0000BB">test </span><span sty…
52 …an><span style="color: #007700">= new </span><span style="color: #0000BB">test</span><span style="…
/php-src/ext/sqlite3/tests/
H A Dsqlite3_23_escape_string.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", '" . SQLite3::escapeString…
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
19 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
47 string(7) "test''%"
/php-src/ext/openssl/tests/
H A Dopenssl_encrypt_ocb.phpt16 foreach ($tests as $idx => $test) {
18 $ct = openssl_encrypt($test['pt'], $method, $test['key'], OPENSSL_RAW_DATA,
19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
20 var_dump($test['ct'] === $ct);
21 var_dump($test['tag'] === $tag);
/php-src/ext/standard/tests/strings/
H A Dstrrchr.phpt10 var_dump(strrchr("test ".chr(0)." test", " "));
11 var_dump(strrchr("test".chr(0)."string", "t"));
20 string(5) " test"
/php-src/tests/classes/
H A Dfactory_and_singleton_003.phpt2 ZE2 factory and singleton, test 3
5 class test {
11 $obj = new test;
16 Fatal error: Uncaught Error: Call to protected test::__construct() from global scope in %s:%d
H A Dfactory_and_singleton_004.phpt2 ZE2 factory and singleton, test 4
5 class test {
11 $obj = new test;
16 Fatal error: Uncaught Error: Call to private test::__construct() from global scope in %s:%d
/php-src/tests/lang/
H A Dbug21094.phpt5 class test {
11 set_error_handler(array(new test(), "hdlr"));
13 trigger_error("test");
16 [1024] errstr: test, errfile: %s, errline: %d

Completed in 44 milliseconds

1...<<11121314151617181920>>...210