Home
last modified time | relevance | path

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

12345678910>>...181

/PHP-5.5/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.5/Zend/tests/
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();
H A Dmethod_static_var.phpt11 public static function test() {
17 foo::test();
19 foo::test();
22 …* function_add_ref() makes a clone of static variables for inherited functions, so $i in Bar::test
24 Bar::test();
25 Bar::test();
/PHP-5.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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"));
/PHP-5.5/ext/gd/
H A Dconfig.m412 if test -z "$PHP_VPX_DIR"; then
17 if test -z "$PHP_JPEG_DIR"; then
22 if test -z "$PHP_PNG_DIR"; then
27 if test -z "$PHP_ZLIB_DIR"; then
52 if test "$PHP_ZLIB_DIR" != "no" && test "$PHP_ZLIB_DIR" != "yes"; then
82 if test -z "$GD_VPX_DIR"; then
263 if test "$PHP_GD" != "no"; then
280 if test "$PHP_GD" = "yes"; then
305 if test -n "$GD_VPX_DIR"; then
315 if test -n "$GD_XPM_DIR"; then
[all …]
/PHP-5.5/ext/json/tests/
H A Dpass003.phpt2 JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json)
10 $test = '
14 "In this test": "It is an object."
19 echo 'Testing: ' . $test . "\n";
21 $obj = json_decode($test);
24 $arr = json_decode($test, true);
47 "In this test": "It is an object."
57 ["In this test"]=>
67 ["In this test"]=>
81 ["In this test"]=>
[all …]
/PHP-5.5/ext/mysqli/tests/
H A D015.phpt31 if (!mysqli_query($link,"DROP TABLE IF EXISTS test") ||
33 !mysqli_query($link, "INSERT INTO test VALUES (1, 'foobar')"))
34 printf("[004] Cannot create test data, [%d] %s\n",
41 if (!mysqli_query($link, "DELETE FROM test") ||
42 !mysqli_query($link, "INSERT INTO test VALUES (2, 'egon')"))
43 printf("[006] Cannot modify test data, [%d] %s\n",
58 if (!mysqli_query($link, "DELETE FROM test") ||
59 !mysqli_query($link, "INSERT INTO test VALUES (2, 'egon')"))
60 printf("[009] Cannot modify test data, [%d] %s\n",
65 $result = mysqli_query($link, "SELECT * FROM test");
[all …]
/PHP-5.5/tests/security/
H A Dopen_basedir_realpath.phpt29 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe…
32 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th…
35 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa…
38 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa…
44 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe…
53 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa…
55 string(%d) "%s\test\ok"
56 string(%d) "%s\test\ok\ok.txt"
57 string(%d) "%s\test\ok\ok.txt"
58 string(%d) "%s\test\ok\ok.txt"
[all …]

Completed in 64 milliseconds

12345678910>>...181