Searched refs:test (Results 276 – 300 of 4858) sorted by relevance
1...<<11121314151617181920>>...195
/PHP-7.0/ext/pdo/tests/ |
H A D | pdo_011.phpt | 37 $select1 = $db->prepare('SELECT grp, id FROM test'); 38 $select2 = $db->prepare('SELECT id, val FROM test'); 57 function test($id,$val='N/A') 89 test(1,N/A) 90 test(2,N/A) 91 test(3,N/A) 92 test(4,N/A) 121 test(1,A) 122 test(2,B) 123 test(3,C) [all …]
|
/PHP-7.0/ext/gd/tests/ |
H A D | png2gd.phpt | 2 png <--> gd1/gd2 conversion test 18 echo imagegd(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test.gd1") ? 'ok' : 'failed'; 22 echo imagegd2(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test.gd2") ? 'ok' : 'failed'; 26 echo imagepng(imagecreatefromgd($cwd . "/test.gd1"), $cwd . "/test_gd1.png") ? 'ok' : 'failed'; 30 echo imagepng(imagecreatefromgd2($cwd . "/test.gd2"), $cwd . "/test_gd2.png") ? 'ok' : 'failed'; 33 @unlink($cwd . "/test.gd1"); 34 @unlink($cwd . "/test.gd2");
|
H A D | jpg2gd.phpt | 2 jpeg <--> gd1/gd2 conversion test 18 echo imagegd(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test.gd1") ? 'ok' : 'failed'; 22 echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test.gd2") ? 'ok' : 'failed'; 26 echo imagejpeg(imagecreatefromgd($cwd . "/test.gd1"), $cwd . "/test_gd1.jpeg") ? 'ok' : 'failed'; 30 echo imagejpeg(imagecreatefromgd2($cwd . "/test.gd2"), $cwd . "/test_gd2.jpeg") ? 'ok' : 'failed'; 33 @unlink($cwd . "/test.gd1"); 34 @unlink($cwd . "/test.gd2");
|
/PHP-7.0/ext/phar/tests/tar/ |
H A D | 033a.phpt | 17 $phar->addEmptyDir('test'); 27 echo "test dir\n"; 28 var_dump($phar['test']->isReadable()); 29 $phar['test']->chmod(0000); 30 var_dump($phar['test']->isReadable()); 31 $phar['test']->chmod(0666); 32 var_dump($phar['test']->isReadable());
|
/PHP-7.0/ext/phar/tests/zip/ |
H A D | 033a.phpt | 17 $phar->addEmptyDir('test'); 27 echo "test dir\n"; 28 var_dump($phar['test']->isExecutable()); 29 $phar['test']->chmod(0777); 30 var_dump($phar['test']->isExecutable()); 31 $phar['test']->chmod(0666); 32 var_dump($phar['test']->isExecutable());
|
/PHP-7.0/ext/phar/tests/cache_list/files/ |
H A D | write7.phar | 3 var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); 4 $p->delete("test.txt"); 6 var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); 9 6test.txt���Hzzo�hi
|
H A D | write4.phar | 2 var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); 4 Phar::mount("test.txt", "phar://" . __FILE__ . "/tobemounted"); 5 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"), file_get_contents("phar://" . __FILE__ . …
|
H A D | write19.phar | 3 var_dump($p["test.txt"]->getMetadata()); 4 $p["test.txt"]->setMetadata("hi2"); 5 var_dump($p["test.txt"]->getMetadata()); 8 ?test.txt��H���E� s:2:"hi";<?php __HALT_COMPILER();�����ο_…
|
H A D | write20.phar | 3 var_dump($p["test.txt"]->getMetadata()); 4 $p["test.txt"]->delMetadata(); 5 var_dump($p["test.txt"]->getMetadata()); 8 ?test.txtK��H���E� s:2:"hi";<?php __HALT_COMPILER();3��+�%Ls…
|
H A D | write.phar | 3 echo $phar["test.txt"]->getContent(); 4 $phar["test.txt"] = "changed 6 echo $phar["test.txt"]->getContent(); 9 H s:2:"hi";test.txta��Hzzo� s:2:"hi";hi
|
H A D | write18.phar | 3 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 4 $p["test.txt"]->chmod(0444); 5 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 8 6test.txt���H���E�<?php __HALT_COMPILER();��$oʧϠ�P�@���� �…
|
/PHP-7.0/tests/lang/ |
H A D | bug24436.phpt | 5 class test { 7 if (empty($this->test[0][0])) { print "test1";} 8 if (!isset($this->test[0][0])) { print "test2";} 12 $test1 = new test();
|
/PHP-7.0/Zend/tests/ |
H A D | bug68118.phpt | 2 Bug #68118: $a->foo .= 'test'; can leave $a->foo undefined 8 $obj->test = 'meow'; 13 $a->undefined .= 'test'; 20 string(4) "test"
|
H A D | heredoc_001.phpt | 9 This is a heredoc test. 14 This is another heredoc test. 22 This is a heredoc test. 23 This is another heredoc test.
|
H A D | compare_001_64bit.phpt | 8 class test { 25 new test, 105 == object(test)#%d (0) {} 128 != object(test)#%d (0) {} 151 != object(test)#%d (0) {} 309 object(test)#%d (0) {} 312 object(test)#%d (0) {} 315 object(test)#%d (0) {} 326 object(test)#%d (0) {} == object(test)#%d (0) {} 328 object(test)#%d (0) {} [all …]
|
H A D | compare_003_64bit.phpt | 8 class test { 25 new test, 105 <= object(test)#%d (0) {} 128 > object(test)#%d (0) {} 151 <= object(test)#%d (0) {} 309 object(test)#%d (0) {} 312 object(test)#%d (0) {} 315 object(test)#%d (0) {} 326 object(test)#%d (0) {} <= object(test)#%d (0) {} 328 object(test)#%d (0) {} [all …]
|
H A D | compare_004_64bit.phpt | 8 class test { 25 new test, 105 >= object(test)#%d (0) {} 128 >= object(test)#%d (0) {} 151 < object(test)#%d (0) {} 309 object(test)#%d (0) {} 312 object(test)#%d (0) {} 315 object(test)#%d (0) {} 326 object(test)#%d (0) {} >= object(test)#%d (0) {} 328 object(test)#%d (0) {} [all …]
|
H A D | compare_005_64bit.phpt | 8 class test { 25 new test, 105 >= object(test)#%d (0) {} 128 >= object(test)#%d (0) {} 151 < object(test)#%d (0) {} 309 object(test)#%d (0) {} 312 object(test)#%d (0) {} 315 object(test)#%d (0) {} 326 object(test)#%d (0) {} >= object(test)#%d (0) {} 328 object(test)#%d (0) {} [all …]
|
H A D | compare_006_64bit.phpt | 8 class test { 25 new test, 105 <= object(test)#%d (0) {} 128 > object(test)#%d (0) {} 151 <= object(test)#%d (0) {} 309 object(test)#%d (0) {} 312 object(test)#%d (0) {} 315 object(test)#%d (0) {} 326 object(test)#%d (0) {} <= object(test)#%d (0) {} 328 object(test)#%d (0) {} [all …]
|
/PHP-7.0/ext/pgsql/tests/ |
H A D | config.inc | 3 // These vars are used to connect db and create test table. 7 // "test" database must exist. i.e. "createdb test" before testing 8 $conn_str = getenv('PGSQL_TEST_CONNSTR') ?: "host=localhost dbname=test port=5432 user=postgres pas… 10 $table_name = "php_pgsql_test"; // test table that will be created 11 $table_name_92 = "php_pgsql_test_92"; // test table that will be created
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | php_strip_whitespace.phpt | 11 $data = '/* test comment */'; 15 $data = '<?php /* test comment */ ?>'; 20 /* test class */ 21 class test { 48 string(18) "/* test comment */" 51 class test { function foo () { echo $var; } } ?>"
|
/PHP-7.0/Zend/tests/variadic/ |
H A D | by_ref.phpt | 6 function test(&... $args) { 13 test(); 14 test($a); 16 test($b, $c, $d);
|
/PHP-7.0/tests/security/ |
H A D | open_basedir_symlink.phpt | 17 $target = ($initdir."/test/ok/ok.txt"); 23 $symlink = ($initdir."/test/ok/symlink.txt"); 30 $target = ($initdir."/test/ok/ok.txt"); 36 $symlink = ($initdir."/test/ok/ok2/ok.txt"); 37 …ok.txt", $symlink)); // $target == (dirname($symlink)."/".$target) == ($initdir."/test/ok/ok.txt"); 58 Warning: symlink(): open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the… 64 Warning: symlink(): open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the… 67 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the… 70 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed… 73 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the… [all …]
|
/PHP-7.0/ext/gettext/tests/ |
H A D | gettext_basic-enus.phpt | 2 Gettext basic test with en_US locale that should be on nearly every system 19 echo gettext("Basic test"), "\n"; 20 echo _("Basic test"), "\n"; 24 A basic test 25 A basic test
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_param_many_columns.phpt | 14 The way we test the INSERT and data types overlaps with 15 the mysqli_stmt_bind_result test in large parts. There is only 16 one difference. This test uses mysqli_query()/mysqli_fetch_assoc() to 17 fetch the inserted values. This way we test 19 in this file and we test mysqli_stmt_bind_result() in the other 20 test -- therefore the "duplicate" makes some sense to me. 51 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) { 52 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 60 $link->query("CREATE TABLE test(" . implode(" , ", $str) . ") ENGINE=MyISAM"); 62 printf("Failed to create the test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [all …]
|
Completed in 75 milliseconds
1...<<11121314151617181920>>...195