Home
last modified time | relevance | path

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

12345678910>>...167

/PHP-5.3/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.3/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.3/ext/standard/tests/file/
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"
H A Dreadlink_realpath_basic1.phpt20 mkdir("$file_path/readlink_realpath_basic1/home/test/", 0777, true);
29 symlink("$file_path/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp",
39 "$file_path/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp",
40 "$file_path/readlink_realpath_basic1//home/test//../test/./readlink_realpath_basic1_link.tmp",
64 unlink("$name_prefix/home/test/readlink_realpath_basic1.tmp");
67 unlink("$name_prefix/home/test/readlink_realpath_basic1_link.tmp");
69 rmdir("$name_prefix/home/test/");
81 string(%d) "%s/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
82 string(%d) "%s/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
85 string(%d) "%s/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
[all …]
/PHP-5.3/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.3/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.3/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();
H A Dheredoc_003.phpt2 simple variable replacement test (heredoc)
9 This is heredoc test #$a.
14 This is heredoc test #$b.
22 This is heredoc test #1.
23 This is heredoc test #2.
H A Dheredoc_004.phpt2 braces variable replacement test (heredoc)
9 This is heredoc test #{$a}.
14 This is heredoc test #{$b}.
22 This is heredoc test #1.
23 This is heredoc test #2.
/PHP-5.3/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.3/ext/pdo_mysql/tests/
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.3/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.3/tests/func/
H A D010.phpt5 if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
15 function test($a,$b)
37 test($v42, \'42\');
38 test(\'4000\', $v4000);
40 test($v0, \'0\'); // first
41 test($v'.dechex($limit-1).", '".dechex($limit-1).'\'); // last
42 test($v'.dechex($boundary).", '".dechex($boundary).'\'); //boundary
43 test($v'.dechex($boundary+1).", '".dechex($boundary+1).'\'); //boundary+1
44 test($v'.dechex($boundary-1).", '".dechex($boundary-1).'\'); //boundary-1
/PHP-5.3/ext/soap/tests/soap12/
H A DT32.phpt11 <test:requiredHeader xmlns:test="http://example.org/ts-tests"
12 env:mustUnderstand="true">foo</test:requiredHeader>
15 <test:echoHeader xmlns:test="http://example.org/ts-tests">
16 </test:echoHeader>
20 include "soap12-test.inc";
/PHP-5.3/ext/session/tests/
H A Dsession_commit_variation4.phpt18 var_dump(session_id("test"));
41 string(4) "test"
43 string(4) "test"
45 string(4) "test"
47 string(4) "test"
49 string(4) "test"
51 string(4) "test"
H A Dsession_write_close_variation4.phpt18 var_dump(session_id("test"));
41 string(4) "test"
43 string(4) "test"
45 string(4) "test"
47 string(4) "test"
49 string(4) "test"
51 string(4) "test"

Completed in 36 milliseconds

12345678910>>...167