Home
last modified time | relevance | path

Searched refs:test (Results 276 – 300 of 4181) sorted by relevance

1...<<11121314151617181920>>...168

/PHP-5.4/ext/sqlite3/
H A Dconfig0.m49 if test $PHP_SQLITE3 != "no"; then
14 if test -z "$enable_maintainer_zts"; then
15 if test -f "$phpincludedir/main/php_config.h"; then
17 if test "$ZTS" -eq "1"; then
23 if test $PHP_SQLITE3 != "yes"; then
26 if test -r $i/include/sqlite3.h; then
33 if test -z "$SQLITE3_DIR"; then
68 if test "$enable_maintainer_zts" = "yes"; then
74 if test "$ZEND_DEBUG" = "yes"; then
81 if test "$PHP_INTL" = "yes" && test "$PHP_INTL_SHARED" != "yes"; then
/PHP-5.4/tests/lang/
H A Dbug24436.phpt5 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-5.4/ext/phar/tests/cache_list/files/
H A Dwrite4.phar2 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 Dwrite7.phar3 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));
4 $p->delete("test.txt");
6 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));
9 6���������������������test.txt������H���zzo�������hi
H A Dwrite19.phar3 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 Dwrite20.phar3 var_dump($p["test.txt"]->getMetadata());
4 $p["test.txt"]->delMetadata();
5 var_dump($p["test.txt"]->getMetadata());
8 ?���������������������test.txt���K��H������E��� ���s:2:"hi";<?php __HALT_COMPILER();3��+�%Ls…
H A Dwrite.phar3 echo $phar["test.txt"]->getContent();
4 $phar["test.txt"] = "changed
6 echo $phar["test.txt"]->getContent();
9 H�������������� ���s:2:"hi";���test.txt���a��H���zzo��� ���s:2:"hi";hi
H A Dwrite18.phar3 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
4 $p["test.txt"]->chmod(0444);
5 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
8 6���������������������test.txt������H������E�������<?php __HALT_COMPILER();��$oʧϠ�P�@���� �…
/PHP-5.4/ext/dba/tests/
H A Ddba015.phpt13 require_once(dirname(__FILE__) .'/test.inc');
18 dba_insert("key1", "This is a test insert 1", $db_file1);
32 dba_insert("key2", "This is a test insert 2", $db_file2);
61 This is a test insert 1
65 This is a test insert 1
66 This is a test insert 2
68 This is a test insert 1
69 This is a test insert 2
74 This is a test insert 1
75 This is a test insert 2
H A Ddba_db4_018.phpt13 require_once(dirname(__FILE__) .'/test.inc');
18 dba_insert("key1", "This is a test insert 1", $db_file1);
32 dba_insert("key2", "This is a test insert 2", $db_file2);
61 This is a test insert 1
65 This is a test insert 1
66 This is a test insert 2
68 This is a test insert 1
69 This is a test insert 2
74 This is a test insert 1
75 This is a test insert 2
/PHP-5.4/ext/spl/tests/
H A Dspl_iterator_iterator_constructor.phpt14 $test = new IteratorIterator($arrayIterator);
16 $test = new IteratorIterator($arrayIterator, 1);
17 $test = new IteratorIterator($arrayIterator, 1, 1);
18 $test = new IteratorIterator($arrayIterator, 1, 1, 1);
19 $test = new IteratorIterator($arrayIterator, 1, 1, 1, 1);
/PHP-5.4/ext/gettext/tests/
H A Dgettext_basic-enus.phpt2 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-5.4/ext/zlib/
H A Dconfig0.m411 if test "$PHP_ZLIB" != "no" || test "$PHP_ZLIB_DIR" != "no"; then
15 if test "$PHP_ZLIB" != "yes" -a "$PHP_ZLIB" != "no"; then
16 if test -f $PHP_ZLIB/include/zlib/zlib.h; then
19 elif test -f $PHP_ZLIB/include/zlib.h; then
25 if test -f $i/include/zlib/zlib.h; then
28 elif test -f $i/include/zlib.h; then
35 if test -z "$ZLIB_DIR"; then
47 …if test `echo $ZLIB_VERSION | $SED -e 's/[[^0-9]]/ /g' | $AWK '{print $1*1000000 + $2*10000 + $3*1…
/PHP-5.4/Zend/tests/
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 Dheredoc_001.phpt9 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 Dns_031.phpt5 namespace test;
18 call_user_func(__NAMESPACE__."\\test::foo");
20 test\foo
21 test\Test::foo
/PHP-5.4/ext/standard/tests/general_functions/
H A Dbug44487.phpt10 public function test()
12 print 'test';
19 call_user_method_array('test', $bar, array()) ;
24 test
/PHP-5.4/ext/standard/tests/file/
H A Dpathinfo_basic2-win32.phpt22 'c:\test\adir\afile..txt',
24 'c:\test\adir\afile.',
28 '..\.\..\test\afile.txt',
29 '.././../test/afile',
97 string(12) "c:\test\adir"
103 string(12) "c:\test\adir"
127 string(12) "c:\test\adir"
133 string(12) "c:\test\adir"
185 string(12) "..\.\..\test"
191 string(12) "..\.\..\test"
[all …]
/PHP-5.4/ext/reflection/tests/
H A Dparameters_002.phpt10 class test
69 check_params(new ReflectionMethod('test::test'));
75 #####test()#####
141 #####test::test()#####
146 getDeclaringClass: test
155 getDeclaringClass: test
164 getDeclaringClass: test
173 getDeclaringClass: test
182 getDeclaringClass: test
191 getDeclaringClass: test
[all …]
/PHP-5.4/ext/pdo/tests/
H A Dpdo_034.phpt2 PDO Common: PDO::FETCH_KEY_PAIR fetch mode test
17 $db->exec("CREATE TABLE test (a varchar(100), b varchar(100), c varchar(100))");
20 $db->exec("INSERT INTO test (a,b,c) VALUES('test".$i."','".$i."','".$i."')");
23 var_dump($db->query("SELECT a,b FROM test")->fetch(PDO::FETCH_KEY_PAIR));
24 var_dump($db->query("SELECT a,b FROM test")->fetchAll(PDO::FETCH_KEY_PAIR));
25 var_dump($db->query("SELECT * FROM test")->fetch(PDO::FETCH_KEY_PAIR));
26 var_dump($db->query("SELECT a,a FROM test")->fetchAll(PDO::FETCH_KEY_PAIR));
/PHP-5.4/ext/xsl/
H A Dconfig.m49 if test "$PHP_XSL" != "no"; then
11 if test "$PHP_LIBXML" = "no"; then
15 if test "$PHP_DOM" = "no"; then
20 if test -x "$i/bin/xslt-config"; then
26 if test -z "$XSLT_CONFIG"; then
35 if test "$LIBXSLT_VERSION" -ge "1001000"; then
43 if test -r "$i/include/libexslt/exslt.h"; then
48 if test -z "$PHP_XSL_EXSL_DIR"; then
/PHP-5.4/ext/xml/
H A Dconfig.m48 if test -z "$PHP_LIBXML_DIR"; then
16 if test "$PHP_XML" != "no"; then
21 if test "$PHP_LIBEXPAT_DIR" = "no"; then
23 if test "$PHP_LIBXML" = "no"; then
38 if test "$PHP_LIBEXPAT_DIR" != "no"; then
40 …if test -f "$i/$PHP_LIBDIR/libexpat.a" || test -f "$i/$PHP_LIBDIR/libexpat.$SHLIB_SUFFIX_NAME"; th…
46 if test -z "$EXPAT_DIR"; then
/PHP-5.4/ext/pdo_mysql/tests/
H A Dlast_insert_id.phpt15 print_r($db->query("CREATE TABLE test (id int auto_increment primary key, num int)"));
17 print_r($db->query("INSERT INTO test (id, num) VALUES (23, 42)"));
19 print_r($db->query("INSERT INTO test (num) VALUES (451)"));
25 [queryString] => CREATE TABLE test (id int auto_increment primary key, num int)
29 [queryString] => INSERT INTO test (id, num) VALUES (23, 42)
33 [queryString] => INSERT INTO test (num) VALUES (451)
/PHP-5.4/Zend/tests/traits/
H A Derror_015.phpt8 public function test() { return 3; }
12 public function test() { return 4; }
17 baz::test as zzz;
22 var_dump($x->test());
26 Fatal error: Trait method test has not been applied, because there are collisions with other trait …
/PHP-5.4/ext/oci8/tests/
H A Dlob_temp1.phpt5 $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
14 var_dump($blob->writeTemporary("test"));
21 var_dump($blob->writeTemporary("test"));
30 string(4) "test"
33 string(4) "test"

Completed in 92 milliseconds

1...<<11121314151617181920>>...168