Home
last modified time | relevance | path

Searched refs:test (Results 126 – 150 of 4507) sorted by relevance

12345678910>>...181

/PHP-5.5/ext/standard/tests/class_object/
H A Dget_object_vars_basic_001.phpt14 public static function test($b) {
26 public static function test($b) {
35 public static function test($b) {
53 B::test($b);
55 C::test($b);
57 A::test($b);
59 X::test($b);
70 B::test
83 C::test
92 A::test
[all …]
/PHP-5.5/ext/pdo_sqlite/tests/
H A Dbug_42589.phpt11 $db->exec('CREATE TABLE test (field1 VARCHAR(10))');
12 $db->exec('INSERT INTO test VALUES("test")');
14 $result = $db->query('SELECT * FROM test t1 LEFT JOIN test t2 ON t1.field1 = t2.field1');
18 var_dump(!empty($meta1['table']) && $meta1['table'] == 'test');
19 var_dump(!empty($meta2['table']) && $meta2['table'] == 'test');
H A Dbug46139.phpt14 public $test = NULL;
16 var_dump($this->test);
20 $stmt = $db->query("SELECT 'foo' test, 1");
23 printf("'%s'\n", $r1->test);
25 $stmt = $db->query("SELECT 'foo' test, 1");
28 printf("'%s'\n", $r1[0]->test);
30 $stmt = $db->query("SELECT 'foo' test, 1");
33 printf("'%s'\n", $r1->test);
/PHP-5.5/sapi/apache_hooks/
H A Dconfig.m47 if test -n "$APXS_INCLUDEDIR"; then
16 if test "$ac_cv_php_fd_in_buff" = "yes"; then
29 if test "$PHP_APACHE_HOOKS" != "no"; then
33 if test "$?" != "0" && test -x /usr/sbin/apxs; then #SUSE 6.x
41 if test "$?" != "0"; then
95 if test "$?" != "0"; then
113 if test -z "`$APXS -q LD_SHLIB`" || test "`$APXS -q LIBEXECDIR`" = "modules"; then
133 if test "$PHP_SAPI" != "apache" && test "$PHP_SAPI" != "apache_hooks" && test "$PHP_APACHE_HOOKS_ST…
165 if test ! -d $APACHE_TARGET; then
189 if test ! -d $APACHE_TARGET; then
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dpathinfo_basic1.phpt25 'c:\test\adir',
26 'c:\test\adir\\',
31 'c:\test\afile',
32 'c:\\test\\afile',
33 'c://test//afile',
34 'c:\test\afile\\',
35 'c:\test\prog.exe',
36 'c:\\test\\prog.exe',
37 'c:/test/prog.exe',
48 ' c:\test\adir\afile.txt',
[all …]
H A Dparse_ini_file_variation5.phpt26 $contents = "a=test";
119 string(4) "test"
125 string(4) "test"
131 string(4) "test"
137 string(4) "test"
143 string(4) "test"
149 string(4) "test"
155 string(4) "test"
161 string(4) "test"
167 string(4) "test"
[all …]
H A Dpathinfo_basic1-win32.phpt25 'c:\test\adir',
26 'c:\test\adir\\',
31 'c:\test\afile',
32 'c:\\test\\afile',
33 'c://test//afile',
34 'c:\test\afile\\',
35 'c:\test\prog.exe',
153 string(7) "c:\test"
166 string(7) "c:\test"
231 string(7) "c:\test"
[all …]
H A Dstream_rfc2397_004.phpt9 'data://,;test',
10 'data://text/plain,test',
11 'data://text/plain;charset=US-ASCII,test',
26 string(5) ";test"
27 string(4) "test"
28 string(4) "test"
/PHP-5.5/sapi/cgi/tests/
H A D006.phpt14 $filename = dirname(__FILE__)."/006.test.php";
19 $test = "var";
21 class test {
25 echo test::$var;
38 class test
54 string(%d) "No syntax errors detected in %s006.test.php
59 <b>Parse error</b>: %s expecting %s{%s in <b>%s006.test.php</b> on line <b>5</b><br />
60 Errors parsing %s006.test.php
H A D003.phpt15 $filename = dirname(__FILE__).'/003.test.php';
18 /* some test script */
20 class test { /* {{{ */
21 public $var = "test"; //test var
37 var_dump(`echo "<?php /* comment */ class test {\n // comment \n function foo() {} } ?>" | $php -n …
49 class test { public $var = "test"; private $pri; function foo() { } } ?>
60 <?php class test { function foo() {} } ?>
/PHP-5.5/ext/pdo_mysql/tests/
H A Dbug_61207.phpt15 $db->query('DROP TABLE IF EXISTS test');
16 $db->query('create table `test`( `id` int )');
18 $handle1 = $db->prepare('insert into test(id) values(1);
19 select * from test where id = ?;
20 update test set id = 2 where id = ?;');
34 $handle2 = $db->prepare('select * from test where id = ?;
50 $handle3 = $db->prepare('update test set id = 2 where id = ?;
51 select * from test where id = ?;');
66 $handle4 = $db->prepare('insert into test(id) values(3);
68 select * from test where id = ?;');
[all …]
H A Dpdo_mysql_prepare_native.phpt120 prepex(5, $db, 'DROP TABLE IF EXISTS test');
126 prepex(9, $db, 'DELETE FROM test');
158 prepex(20, $db, 'DROP TABLE IF EXISTS test');
185 $db->exec('DELETE FROM test');
202 prepex(33, $db, 'DROP TABLE IF EXISTS test');
208 prepex(37, $db, 'DELETE FROM test');
233 prepex(44, $db, 'DELETE FROM test');
270 prepex(51, $db, 'DROP TABLE IF EXISTS test');
286 prepex(57, $db, 'DELETE FROM test');
326 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
[all …]
/PHP-5.5/tests/security/
H A Dopen_basedir_tempnam.phpt11 var_dump(tempnam("../bad", "test"));
12 var_dump(tempnam("..", "test"));
13 var_dump(tempnam("../", "test"));
14 var_dump(tempnam("/", "test"));
16 var_dump(tempnam("./../.", "test"));
17 var_dump(tempnam("", "test"));
19 //absolute test
20 $file = tempnam($initdir."/test/ok", "test");
24 //relative test
25 $file = tempnam(".", "test");
[all …]
/PHP-5.5/ext/standard/tests/strings/
H A Dstrtok_variation2.phpt16 $str = 'this testcase test strtok() function ';
111 string(37) "this testcase test strtok() function "
113 string(37) "this testcase test strtok() function "
115 string(37) "this testcase test strtok() function "
117 string(37) "this testcase test strtok() function "
119 string(37) "this testcase test strtok() function "
121 string(37) "this testcase test strtok() function "
123 string(37) "this testcase test strtok() function "
125 string(37) "this testcase test strtok() function "
127 string(37) "this testcase test strtok() function "
[all …]
H A Dstrrev_variation1.phpt52 "t@@#$% %test ^test &test *test +test -test",
53 "!test ~test `test` =test= @test@test.com",
54 "/test/r\test\strrev\t\u /uu/",
H A Dstrrev_variation2.phpt52 't@@#$% %test ^test &test *test +test -test',
53 '!test ~test `test` =test= @test@test.com',
54 '/test/r\test\strrev\t\u /uu/',
/PHP-5.5/ext/phar/tests/cache_list/files/
H A Dwrite2.phar.inc10 mkdir("phar://" . __FILE__ . "/test");
11 var_dump(is_dir("phar://" . __FILE__ . "/test"));
14 var_dump(isset($phar["test"]));
15 var_dump(isset($phar2["test"]));
20 $phar['test.txt'] = "hi
22 $phar['test.txt']->setMetadata('hi');
/PHP-5.5/Zend/tests/
H A Dbug46381.phpt8 class test {
9 public function test() {
13 $test = new test();
14 $test->test();
H A Dobjects_020.phpt8 $test = 'stdclass';
10 $$test->a =& $$test;
11 $$test->a->b[] = 2;
13 var_dump($$test);
H A Dcompare_002.phpt8 class test {
25 new test,
82 string(0) "" !== object(test)#3 (0) {}
99 int(1) !== object(test)#3 (0) {}
116 float(2.5) !== object(test)#3 (0) {}
133 int(0) !== object(test)#3 (0) {}
201 NULL !== object(test)#3 (0) {}
275 object(test)#3 (0) {} !== int(1)
277 object(test)#3 (0) {} !== int(0)
281 object(test)#3 (0) {} !== NULL
[all …]
H A Dobjects_017.phpt7 private $test = 1;
10 function test() {
14 test()->test = 2;
18 Fatal error: Cannot access private property foo::$test in %s on line %d
H A Dbug24436.phpt9 class test {
11 if (empty($this->test[0][0])) { print "test1\n";}
12 if (!isset($this->test[0][0])) { print "test2\n";}
13 if (empty($this->test)) { print "test1\n";}
14 if (!isset($this->test)) { print "test2\n";}
18 $test1 = new test();
/PHP-5.5/sapi/apache/
H A Dconfig.m47 if test -n "$APXS_INCLUDEDIR"; then
28 if test "$PHP_APXS" != "no"; then
29 if test "$PHP_APXS" = "yes"; then
32 if test "$?" != "0" && test -x /usr/sbin/apxs; then #SUSE 6.x
40 if test "$?" != "0"; then
94 if test "$?" != "0"; then
112 if test -z "`$APXS -q LD_SHLIB`" || test "`$APXS -q LIBEXECDIR`" = "modules"; then
131 if test "$PHP_SAPI" != "apache" && test "$PHP_APACHE" != "no"; then
133 if test "$PHP_APACHE" = "yes"; then
235 if test -z "$enable_mod_charset" && test "$with_mod_charset"; then
[all …]
/PHP-5.5/ext/reflection/tests/
H A Dbug46064_2.phpt10 $x->test = 2000;
14 var_dump($p->getProperty('test'));
23 class test extends bar {
36 new test;
43 string(4) "test"
51 string(4) "test"
64 string(4) "test"
71 string(4) "test"
/PHP-5.5/ext/odbc/
H A Dconfig.m46 if ! test -f "$ODBC_INCDIR/$1"; then
84 if test ! -f $ODBC_LIBS; then
107 if test -z "$ODBC_TYPE"; then
136 if test -z "$ODBC_TYPE"; then
156 if test -z "$ODBC_TYPE"; then
183 if test -z "$ODBC_TYPE"; then
222 if test -z "$ODBC_TYPE"; then
244 if test -z "$ODBC_TYPE"; then
269 if test -z "$ODBC_TYPE"; then
311 if test -z "$ODBC_TYPE"; then
[all …]

Completed in 73 milliseconds

12345678910>>...181