Home
last modified time | relevance | path

Searched refs:test (Results 376 – 400 of 4309) sorted by relevance

1...<<11121314151617181920>>...173

/PHP-5.4/ext/standard/tests/file/
H A Drealpath_basic-win32.phpt19 mkdir("$file_path/realpath_basic/home/test/", 0777, true);
21 $file_handle1 = fopen("$file_path/realpath_basic/home/test/realpath_basic.tmp", "w");
33 "$file_path/realpath_basic//home/test//../test/./realpath_basic.tmp",
40 "$file_path///realpath_basic/home//..//././test//realpath_basic.tmp",
41 "$file_path/realpath_basic/home/../home/../test/../..realpath_basic.tmp"
57 unlink("$name_prefix/home/test/realpath_basic.tmp");
60 rmdir("$name_prefix/home/test/");
76 string(%d) "%s\realpath_basic\home\test\realpath_basic.tmp"
H A Duserstreams_004.phpt19 function test($name, $fd, $mode) {
26 var_dump(stream_wrapper_register('test', 'test_wrapper'));
29 $fd = fopen("test://foo","r");
32 test("stream_lock not implemented", $fd2, LOCK_EX);
35 test("fclock($mode)", $fd, constant($mode));
36 test("fclock($mode|LOCK_NB)", $fd, constant($mode)|LOCK_NB);
/PHP-5.4/ext/pdo/tests/
H A Dpdo_009.phpt21 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(10))');
22 $db->exec('INSERT INTO test VALUES(1, 0, \'A\')');
23 $db->exec('INSERT INTO test VALUES(2, 1, \'B\')');
24 $db->exec('INSERT INTO test VALUES(3, 2, \'C\')');
25 $db->exec('INSERT INTO test VALUES(4, 3, \'D\')');
27 …t = $db->prepare('SELECT classtypes.name, test.id AS id, test.val AS val FROM test LEFT JOIN class…
H A Dbug_39398.phpt17 $db->exec("CREATE TABLE test (test INT)");
20 $stmt = $db->prepare('INSERT INTO test VALUES (:boolean)');
24 var_dump($db->query("SELECT * FROM test")->fetchAll(PDO::FETCH_ASSOC));
31 ["test"]=>
/PHP-5.4/Zend/tests/
H A Dobjects_004.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo($arg) in %s on li…
H A Dobjects_003.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo($arg) in %s on li…
H A Dbug32429.phpt8 var_dump(method_exists($this, 'test'));
10 if (method_exists($this, 'test')) {
11 $this->test();
21 $test = new TestClass;
H A Dexception_handler_002.phpt13 class test extends Exception {
16 throw new test();
21 string(12) "test thrown!"
25 #0 [internal function]: foo(Object(test))
H A Dobjects_008.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo(Test $arg) in %s …
H A Dobjects_009.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo(Test $arg) in %s …
/PHP-5.4/Zend/tests/traits/
H A Dtrait_constant_001.phpt7 public static function test() {
28 echo Direct::test()."\n";
29 echo IndirectInheritance::test()."\n";
30 echo Indirect::test()."\n";
/PHP-5.4/ext/phar/tests/cache_list/files/
H A Dwrite23.phar.inc9 var_dump(isset($p["test.txt"]), isset($p["newname"]));
10 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname");
11 var_dump(isset($p["test.txt"]), isset($p["newname"]));
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
/PHP-5.4/ext/spl/tests/
H A Darray_026.phpt5 $test = new ArrayObject();
6 $test['d1']['d2'] = 'hello';
7 $test['d1']['d3'] = 'world';
8 var_dump($test, $test3['mmmmm']);
/PHP-5.4/sapi/caudium/
H A Dconfig.m412 if test "$PHP_CAUDIUM" != "no"; then
13 if test "$prefix" = "NONE"; then CPREF=/usr/local/; fi
14 if test ! -d $PHP_CAUDIUM ; then
15 if test "$prefix" = "NONE"; then
21 if test -f $PHP_CAUDIUM/bin/caudium; then
23 elif test -f $PHP_CAUDIUM/bin/pike; then
31 if test -z "$PIKE_INCLUDE_DIR" || test -z "$PIKE_MODULE_DIR"; then
44 if test "$prefix" != "NONE"; then
50 if test -f $PIKE_C_INCLUDE/version.h; then
62 if test -z "$PIKE_CMAJOR_VERSION"; then
[all …]
/PHP-5.4/ext/recode/
H A Dconfig9.m46 if test "$PHP_RECODE" != "no"; then
7 test "$PHP_IMAP" != "no" && recode_conflict="$recode_conflict imap"
9 if test -n "$MYSQL_LIBNAME"; then
15 if test -n "$recode_conflict"; then
/PHP-5.4/sapi/apache2handler/
H A Dconfig.m411 if test "$PHP_APXS2" != "no"; then
12 if test "$PHP_APXS2" = "yes"; then
15 if test "$?" != "0" && test -x /usr/sbin/apxs; then
23 if test "$?" != "0"; then
63 if test "$APACHE_VERSION" -le 2000000; then
70 if test -z `$APXS -q SYSCONFDIR`; then
94 if test -x "$APR_CONFIG"; then
97 if test -x "$APU_CONFIG"; then
107 if test -f _APP_; then `rm _APP_`; fi
121 …if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM" != "itk"; th…
[all …]
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_change_user_locks_temporary.phpt19 if (!mysqli_query($link, 'LOCK TABLE test WRITE'))
23 if ($res = mysqli_query($link2, 'SELECT COUNT(*) AS _num FROM test')) {
33 if (!$res = mysqli_query($link2, 'SELECT COUNT(*) AS _num FROM test'))
40 printf("[005] There should be some rows in the table test\n");
45 if (!mysqli_query($link, 'DROP TABLE test'))
48 if (!mysqli_query($link, 'CREATE TEMPORARY TABLE test(id INT)'))
51 if (!mysqli_query($link, 'INSERT INTO test(id) VALUES (1), (2), (3)'))
54 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS _num FROM test'))
61 printf("[011] There should be three rows in the table test\n");
68 if ($res = mysqli_query($link, 'SELECT COUNT(*) AS _num FROM test')) {
[all …]
/PHP-5.4/ext/standard/tests/array/
H A Darray_splice_basic.phpt11 echo "test truncation \n";
17 echo "test removing entries from the middle \n";
23 echo "test substitution at end \n";
35 echo "test insertion \n";
46 test truncation
59 test removing entries from the middle
72 test substitution at end
103 test insertion
/PHP-5.4/
H A Dconfigure.in166 if test -n "$with_apache" && test -n "$with_apxs"; then
170 if test -n "$with_apxs2filter" && test -n "$with_apxs2"; then
306 if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then
350 if test "${with_pic+set}" != "set" || test "$with_pic" = "no"; then
783 …if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
846 if test "$GCC" = "yes" || test "$ICC" = "yes"; then
1038 if test -z "$PHP_MODULES" && test -z "$PHP_ZEND_EX"; then
1061 if test -z "$with_pear" && test "$enable_pear" = "no"; then
1098 if test "$PHP_PEAR" = "DEFAULT" || test "$PHP_PEAR" = "yes"; then
1423 if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
[all …]
/PHP-5.4/ext/zlib/tests/
H A Dzlib_filter_inflate2.phpt8 $a = gzopen(dirname(__FILE__) . '/test.txt.gz', 'w');
12 $fp = fopen(dirname(__FILE__) . '/test.txt.gz', 'r');
17 $fp = fopen(dirname(__FILE__) . '/test.txt.gz', 'r');
19 $fp = fopen(dirname(__FILE__) . '/test.txt.gz', 'r');
25 $fp = fopen(dirname(__FILE__) . '/test.txt.gz', 'r');
34 @unlink(dirname(__FILE__) . '/test.txt.gz');
/PHP-5.4/ext/standard/tests/file/windows_links/
H A Dbug48746_3.phpt10 die('skip windows only test');
23 $dirname = __DIR__ . "\\mnt\\test\\directory";
25 chdir(__DIR__ . "\\mnt\\test");
35 rmdir(__DIR__ . "\\mnt\\test\\directory");
36 rmdir(__DIR__ . "\\mnt\\test\\junction");
37 rmdir(__DIR__ . "\\mnt\\test");
/PHP-5.4/ext/phar/tests/cache_list/
H A Dfrontcontroller22.phpt2 Phar front controller include from cwd test 1 [cache_list]
17 %string|unicode%(4) "test"
18 %string|unicode%(12) "oof/test.php"
20 Warning: include(./hi.php): failed to open stream: No such file or directory in phar://%s/oof/test.…
22 …(): Failed opening './hi.php' for inclusion (include_path='%s') in phar://%soof/test.php on line %d
/PHP-5.4/ext/standard/tests/streams/
H A Dbug44818.phpt5 function test($url, $mode) {
12 test("php://memory","r");
13 test("php://memory","r+");
14 test("php://temp","r");
15 test("php://temp","w");
/PHP-5.4/ext/mbstring/tests/
H A Dmb_send_mail01.phpt2 mb_send_mail() test 1 (lang=neutral)
20 mb_send_mail($to, mb_language(), "test");
25 mb_send_mail($to, "test ".mb_language(), "test");
37 Subject: test neutral
/PHP-5.4/ext/tidy/
H A Dconfig.m48 if test "$PHP_TIDY" != "no"; then
10 if test "$PHP_TIDY" != "yes"; then
17 if test -f $i/include/tidy/tidy.h; then
20 elif test -f $i/include/tidy.h; then
26 if test -z "$TIDY_DIR"; then

Completed in 70 milliseconds

1...<<11121314151617181920>>...173