/php-src/ext/dba/tests/ |
H A D | dba015.phpt | 17 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 D | dba_db4_018.phpt | 17 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 D | createfromgd2.phpt | 8 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 D | parse_url_basic_008.phpt | 52 --> 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 D | bug55273.phpt | 5 function test($s) { 11 test('PHP'); 12 test('PH'); 13 test('P');
|
/php-src/ext/dom/tests/ |
H A D | bug47530.phpt | 56 <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 D | DOMNode_DOMNameSpaceNode_parentElement.phpt | 16 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 D | bug47530.phpt | 55 <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 D | bug77454.phpt | 8 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 D | frontcontroller13.phar | 4 � index.php/�L�G/���w�oof/test.php3�L�G3B�Z� 6 var_dump("test"); 7 include "oof/test.php";<?php 8 var_dump("oof/test.php");
|
H A D | write21.phar.inc | 9 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 D | write23.phar | 3 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 6test.txtM��H���E�<?php __HALT_COMPILER();��8��.��X�N�ݱƊ�k…
|
/php-src/ext/phar/tests/files/ |
H A D | frontcontroller13.phar | 4 � index.php/�L�G/���w�oof/test.php3�L�G3B�Z� 6 var_dump("test"); 7 include "oof/test.php";<?php 8 var_dump("oof/test.php");
|
/php-src/Zend/tests/ |
H A D | bug78335.phpt | 7 public static $test; 15 function test() { 21 Test::$test = $foo; 22 test();
|
H A D | bug32322.phpt | 7 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 D | bug31102.phpt | 6 $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 D | readlink_realpath_basic2.phpt | 13 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 D | userstreams_005.phpt | 27 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 D | 014.phpt | 10 $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 D | sqlite3_23_escape_string.phpt | 12 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 D | openssl_encrypt_ocb.phpt | 16 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 D | strrchr.phpt | 10 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 D | factory_and_singleton_003.phpt | 2 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 D | factory_and_singleton_004.phpt | 2 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 D | bug21094.phpt | 5 class test { 11 set_error_handler(array(new test(), "hdlr")); 13 trigger_error("test"); 16 [1024] errstr: test, errfile: %s, errline: %d
|