Home
last modified time | relevance | path

Searched refs:test (Results 151 – 175 of 4695) sorted by relevance

12345678910>>...188

/PHP-5.6/Zend/tests/
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 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.
H A Dbug19859.phpt7 class test
11 print "test::__call invoked for method '$method'\n";
14 $x = new test;
20 test::__call invoked for method 'fake'
21 test::__call invoked for method 'fake'
22 test::__call invoked for method 'fake'
H A Dnowdoc_003.phpt2 simple variable replacement test (nowdoc)
9 This is nowdoc test #$a.
14 This is nowdoc test #$b.
22 This is nowdoc test #$a.
23 This is nowdoc test #$b.
H A Dnowdoc_004.phpt2 braces variable replacement test (nowdoc)
9 This is nowdoc test #{$a}.
14 This is nowdoc test #{$b}.
22 This is nowdoc test #{$a}.
23 This is nowdoc test #{$b}.
H A Dclosure_013.phpt16 $test = new Foo;
17 $test->__invoke();
18 $test = foo();
19 $test->__invoke();
20 $test = foo()->__invoke();
/PHP-5.6/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.6/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 …]
/PHP-5.6/ext/standard/tests/file/
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.6/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.6/ext/sqlite3/tests/
H A Dbug72668.phpt9 throw new \Exception("test exception\n");
16 $result = $db->query('SELECT my_udf_md5("test")');
23 $result = $db->querySingle('SELECT my_udf_md5("test")');
29 $statement = $db->prepare('SELECT my_udf_md5("test")');
39 Exception: test exception
40 Exception: test exception
41 Exception: test exception
/PHP-5.6/ext/session/tests/
H A Dsession_commit_variation4.phpt20 var_dump(session_id("test"));
43 string(4) "test"
45 string(4) "test"
47 string(4) "test"
49 string(4) "test"
51 string(4) "test"
53 string(4) "test"
H A Dsession_write_close_variation4.phpt20 var_dump(session_id("test"));
43 string(4) "test"
45 string(4) "test"
47 string(4) "test"
49 string(4) "test"
51 string(4) "test"
53 string(4) "test"
/PHP-5.6/ext/simplexml/tests/
H A D030.phpt9 xmlns:s="urn::test" xmlns:t="urn::test-t">
10 <child1>test</child1>
11 <child1>test 2</child1>
26 $atts = $sxe->attributes("urn::test");
35 test
36 test 2
/PHP-5.6/sapi/cli/tests/
H A D011.phpt10 $filename = dirname(__FILE__)."/011.test.php";
15 $test = "var";
17 class test {
21 echo test::$var;
34 class test
50 string(%d) "No syntax errors detected in %s011.test.php
56 Errors parsing %s011.test.php
H A D010.phpt15 $filename = __DIR__."/010.test.php";
16 $filename_txt = __DIR__."/010.test.txt";
27 test
38 @unlink(__DIR__."/010.test.php");
39 @unlink(__DIR__."/010.test.txt");
43 string(10) "test
/PHP-5.6/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.6/ext/standard/tests/streams/
H A Dbug61371-win.phpt6 die('skip windows only test');
10 function test($doFclose) {
13 for($test=1;$test<=3;$test++) {
32 test(true);
33 test(false);
H A Dbug61371.phpt6 die('skip non windows test');
10 function test($doFclose) {
13 for($test=1;$test<=3;$test++) {
32 test(true);
33 test(false);
/PHP-5.6/Zend/tests/traits/
H A Derror_010.phpt7 public function test() { return 3; }
10 public function test() { return 2; }
14 use foo, c { c::test insteadof foo; }
15 use foo, c { c::test insteadof foo; }
19 var_dump($x->test());
23 Fatal error: Failed to evaluate a trait precedence (test). Method of trait foo was defined to be ex…
/PHP-5.6/ext/iconv/tests/
H A Diconv001.phpt2 iconv() test 1
9 /* include('test.inc'); */
11 $test = "���";
12 var_dump("ISO-8859-1: $test");
13 var_dump("UTF-8: ".iconv( "ISO-8859-1", "UTF-8", $test ) );
/PHP-5.6/ext/mssql/
H A Dconfig.m49 if test "$PHP_MSSQL" != "no"; then
11 if test "$PHP_MSSQL" = "yes"; then
13 if test -f $i/include/sybdb.h; then
17 elif test -f $i/include/freetds/sybdb.h; then
24 if test -z "$FREETDS_INSTALLATION_DIR"; then
28 elif test "$PHP_MSSQL" != "no"; then
30 if test -f $PHP_MSSQL/include/sybdb.h; then
33 elif test -f $PHP_MSSQL/include/freetds/sybdb.h; then
41 …if test ! -r "$FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.a" && test ! -r "$FREETDS_INSTALLATIO…
/PHP-5.6/ext/standard/tests/strings/
H A Dstripos.phpt2 stripos() function test
5 var_dump(stripos("test string", "TEST"));
6 var_dump(stripos("test string", "strIng"));
7 var_dump(stripos("test string", "stRin"));
8 var_dump(stripos("test string", "t S"));
9 var_dump(stripos("test string", "G"));
11 var_dump(stripos("tEst", "test"));
12 var_dump(stripos("teSt", "test"));

Completed in 54 milliseconds

12345678910>>...188