/PHP-5.5/ext/dba/tests/ |
H A D | dba_db4_016.phpt | 13 require_once(dirname(__FILE__) .'/test.inc'); 19 var_dump(dba_insert("key1", "This is a test insert", $db_file)); 29 // Now test reopening it 33 var_dump(dba_insert("key1", "second open test", $db_file)); 34 var_dump(dba_insert("key2", "second open test row 2", $db_file)); 54 This is a test insert 58 This is a test insert 59 second open test row 2
|
/PHP-5.5/ext/iconv/tests/ |
H A D | iconv_substr.phpt | 34 bar("This is a test", 100000); 35 bar("This is a test", 0, 100000); 36 bar("This is a test", -3); 37 bar("This is a test", 0, -9); 38 bar("This is a test", 0, -100000); 39 bar("This is a test", -9, -100000); 49 string(14) "This is a test" 50 string(14) "This is a test"
|
/PHP-5.5/Zend/tests/ |
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 …]
|
H A D | nowdoc_005.phpt | 2 unbraced complex variable replacement test (nowdoc) 9 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 14 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 22 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 23 This is nowdoc test #s $a, $b, $c['c'], and $d->d.
|
H A D | nowdoc_006.phpt | 2 braced complex variable replacement test (nowdoc) 9 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
|
H A D | nowdoc_007.phpt | 2 braced and unbraced complex variable replacement test (nowdoc) 9 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
|
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"
|
/PHP-5.5/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-5.5/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-5.5/ext/gd/tests/ |
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");
|
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");
|
/PHP-5.5/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-5.5/ext/hash/tests/ |
H A D | joaat.phpt | 18 foreach ($tests as $test) { 21 $result = hash("joaat", $test[0]); 22 if ($result != $test[1]) { 23 …echo "Iteration " . $i . " failed - expected '" . $test[1] . "', got '" . $result . "' for '" . $t…
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | write22.phar | 3 var_dump($p["test.txt"]->isCompressed()); 4 $p["test.txt"]->decompress(); 5 var_dump($p["test.txt"]->isCompressed()); 8 6test.txt���H���E���/�(P���p� �w��
|
H A D | write21.phar | 3 var_dump($p["test.txt"]->isCompressed()); 4 $p["test.txt"]->compress(Phar::GZ); 5 var_dump($p["test.txt"]->isCompressed()); 8 6test.txt{��H���E�<?php __HALT_COMPILER();u:ΰ�U��|ZM�̧�Є�…
|
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 | 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
|
/PHP-5.5/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 …]
|
/PHP-5.5/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-5.5/ext/standard/tests/file/ |
H A D | userstreams_003.phpt | 30 function test($name, $fd, $return_value, $func, $args, $expected_option, $expected_value) { 39 var_dump(stream_wrapper_register('test', 'test_wrapper')); 42 $fd = fopen("test://foo","r"); 45 test("stream_set_blocking - 1", $fd, true, "stream_set_blocking", array($fd,0), STREAM_OPTION_BLOCK… 46 test("stream_set_blocking - 2", $fd, false, "stream_set_blocking", array($fd,1), STREAM_OPTION_BLOC… 47 test("stream_set_blocking - 3", $fd, "foo", "stream_set_blocking", array($fd,0), STREAM_OPTION_BLOC… 48 test("stream_set_blocking - 4", $fd2, true, "stream_set_blocking", array($fd2,1), STREAM_OPTION_BLO… 50 test("stream_set_write_buffer - 1", $fd, true, "stream_set_write_buffer", array($fd,0), STREAM_OPTI… 51 test("stream_set_write_buffer - 2", $fd, true, "stream_set_write_buffer", array($fd,4096), STREAM_O… 54 test("stream_set_timeout - 1", $fd, true, "stream_set_timeout", array($fd,10,11), STREAM_OPTION_REA… [all …]
|
H A D | pathinfo_basic2.phpt | 20 'c:\test\..\test2\.\adir\afile.txt', 22 'c:\test\adir\afile..txt', 24 'c:\test\adir\afile.', 28 '..\.\..\test\afile.txt', 29 '.././../test/afile', 102 %unicode|string%(19) "c:\test\adir\afile." 130 %unicode|string%(19) "c:\test\adir\afile." 132 %unicode|string%(18) "c:\test\adir\afile" 190 %unicode|string%(18) "..\.\..\test\afile" 202 %unicode|string%(12) ".././../test" [all …]
|