Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 3230) sorted by relevance

12345678910>>...130

/PHP-7.1/ext/mbstring/libmbfl/tests/conv_kana.tests/
H A Dconv_kana.exp8 "\[^\r\n\]*\r\n" { fail $test }
55 "\[^\r\n\]*\r\n" { fail $test }
94 "\[^\r\n\]*\r\n" { fail $test }
141 "\[^\r\n\]*\r\n" { fail $test }
188 "\[^\r\n\]*\r\n" { fail $test }
235 "\[^\r\n\]*\r\n" { fail $test }
282 "\[^\r\n\]*\r\n" { fail $test }
329 "\[^\r\n\]*\r\n" { fail $test }
376 "\[^\r\n\]*\r\n" { fail $test }
411 "\[^\r\n\]*\r\n" { fail $test }
[all …]
/PHP-7.1/tests/strings/
H A D002.phpt49 fprintf test 1:abcde
52 printf test 2:42
65 printf test 13: -12
66 printf test 14:@
68 printf test 16:aa
69 printf test 17:AA
76 printf test 24:abcde
78 printf test 26:2 1
79 printf test 27:3 1 2
80 printf test 28:02 1
[all …]
/PHP-7.1/ext/standard/tests/file/
H A D001.phpt13 @unlink('test.file');
14 @unlink('test.link');
28 symlink('test.file','test.link');
63 echo "test.file is " . filetype('test.file') . "\n";
64 echo "test.link is " . filetype('test.link') . "\n";
66 echo "test.file size is " . filesize('test.file') . "\n";
123 test.file exists
124 test.link exists
127 test.file exists
133 test.file is file
[all …]
H A D001-win32.phpt14 @unlink('test.file');
37 $s = stat ('test.file');
44 echo "test.file is " . filetype('test.file') . "\n";
45 printf ("test.file permissions are 0%o\n", 0777 & fileperms('test.file'));
46 echo "test.file size is " . filesize('test.file') . "\n";
72 unlink('test.file');
87 test.file exists
89 test.file exists
90 test.file is file
92 test.file size is 0
[all …]
H A Duserstreams_007.phpt2 User-space streams: test metadata option
23 $fd = fopen("test://foo","r");
24 touch("test://testdir/touch");
25 touch("test://testdir/touch", 1);
27 chown("test://testdir/chown", "test");
29 chgrp("test://testdir/chgrp", "test");
34 metadata: test://testdir/touch, 1
36 metadata: test://testdir/touch, 1
38 metadata: test://testdir/touch, 1
41 test
[all …]
/PHP-7.1/ext/soap/tests/bugs/
H A Dbug30045.phpt54 //test(XSD_BYTE, -129);
55 test(XSD_BYTE, -128);
56 test(XSD_BYTE, 127);
57 //test(XSD_BYTE, 128);
60 //test(XSD_SHORT, -32769);
61 test(XSD_SHORT, -32768);
62 test(XSD_SHORT, 32767);
63 //test(XSD_SHORT, 32768);
67 test(XSD_INT, -2147483648);
68 test(XSD_INT, 2147483647);
[all …]
/PHP-7.1/ext/ftp/tests/
H A Dftp_nb_continue.phpt33 This is line 0 of the test data.
34 This is line 1 of the test data.
35 This is line 2 of the test data.
36 This is line 3 of the test data.
37 This is line 4 of the test data.
38 This is line 5 of the test data.
39 This is line 6 of the test data.
40 This is line 7 of the test data.
41 This is line 8 of the test data.
42 This is line 9 of the test data.
[all …]
/PHP-7.1/ext/mbstring/libmbfl/tests/strcut.tests/
H A Diso2022jp.exp11 "\[^\r\n\]*\r\n" { fail $test }
17 set test "asciish characters ($from, $length)"
20 -ex "***ERROR***\r\n" { pass $test }
27 -ex "***ERROR***\r\n" { pass $test }
36 -ex "***ERROR***\r\n" { pass $test }
43 -ex "***ERROR***\r\n" { pass $test }
52 -ex "%74%74 (2)\r\n" { pass $test }
59 -ex " (0)\r\n" { pass $test }
102 pass $test
113 pass $test
[all …]
H A Dujis.exp11 "\[^\r\n\]*\r\n" { fail $test }
17 set test "asciish characters ($from, $length)"
20 -ex "***ERROR***\r\n" { pass $test }
26 -ex "***ERROR***\r\n" { pass $test }
32 set test "asciish characters ($from, $length)"
35 -ex "***ERROR***\r\n" { pass $test }
41 -ex "***ERROR***\r\n" { pass $test }
47 set test "asciish characters ($from, $length)"
50 -ex "%74%74 (2)\r\n" { pass $test }
56 -ex "%a5%b9 (2)\r\n" { pass $test }
[all …]
H A Dutf8.exp11 "\[^\r\n\]*\r\n" { fail $test }
17 set test "asciish characters ($from, $length)"
20 -ex "***ERROR***\r\n" { pass $test }
26 -ex "***ERROR***\r\n" { pass $test }
32 set test "asciish characters ($from, $length)"
35 -ex "***ERROR***\r\n" { pass $test }
41 -ex "***ERROR***\r\n" { pass $test }
47 set test "asciish characters ($from, $length)"
50 -ex "%74%74 (2)\r\n" { pass $test }
56 -ex "(0)\r\n" { pass $test }
[all …]
/PHP-7.1/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dyensign.exp6 "\[^\r\n\]*\r\n" { fail $test }
8 set test "CP932"
12 "%5c (1)\r\n" { pass $test }
20 set test "SJIS-open"
32 set test "eucJP-open"
44 set test "CP51932"
48 "%5c (1)\r\n" { pass $test }
56 set test "ISO-2022-JP-MS"
68 set test "CP50220"
80 set test "CP50221"
[all …]
/PHP-7.1/tests/classes/
H A Dfactory_and_singleton_002.phpt7 class test {
14 if (test::$test) {
15 return test::$test;
17 test::$test = new test($x);
18 return test::$test;
23 test::$cnt++;
28 test::$test = NULL;
32 test::$cnt--;
40 if (test::$test) {
41 return test::$test->x;
[all …]
H A Dfactory_and_singleton_001.phpt7 class test {
14 if (test::$test) {
15 return test::$test;
17 test::$test = new test($x);
18 return test::$test;
23 test::$cnt++;
28 test::$test = NULL;
32 test::$cnt--;
40 if (test::$test) {
41 return test::$test->x;
[all …]
/PHP-7.1/ext/xmlwriter/tests/
H A Dbug41287.phpt13 xmlwriter_start_element_ns($xw, 'test', 'test', 'urn:x-test:');
26 $xw->startElementNS('test', 'test', 'urn:x-test:');
27 $xw->writeElementNS('test', 'foo', null, '');
36 <test:test xmlns:test="urn:x-test:">
37 <test:foo></test:foo>
38 <bar xmlns="urn:x-test:"></bar>
40 </test:test>
43 <test:test xmlns:test="urn:x-test:">
44 <test:foo></test:foo>
45 <bar xmlns="urn:x-test:"></bar>
[all …]
/PHP-7.1/ext/mbstring/libmbfl/tests/strwidth.tests/
H A Dstrwidth.exp6 "\[^\r\n\]*\r\n" { fail $test }
9 set test "basic test"
12 "8\r\n" { pass $test }
15 set test "CJK kanji"
18 "4\r\n" { pass $test }
21 set test "CJK hiragana"
24 "8\r\n" { pass $test }
27 set test "CJK katakana"
30 "8\r\n" { pass $test }
36 "20\r\n" { pass $test }
[all …]
/PHP-7.1/ext/session/tests/
H A Dsession_basic3.phpt35 <a href="/">test</a>
36 <a href="/#bar">test</a>
37 <a href="/?foo">test</a>
38 <a href="/?foo#bar">test</a>
39 <a href="/?foo=var">test</a>
41 <a href="file.php">test</a>
107 <a href="/">test</a>
108 <a href="/path">test</a>
111 <a href="../">test</a>
116 <a href="/#bar">test</a>
[all …]
/PHP-7.1/ext/oci8/tests/
H A Ddbmsoutput.phpt111 createoutput($c, 'test 2');
116 createoutput($c, 'test 3');
121 createoutput($c, 'test 4');
144 string(52) "0 test 2 Hello, world! Lots and lots and ... of text"
146 string(52) "1 test 2 Hello, world! Lots and lots and ... of text"
148 string(52) "2 test 2 Hello, world! Lots and lots and ... of text"
150 string(52) "3 test 2 Hello, world! Lots and lots and ... of text"
152 string(52) "4 test 2 Hello, world! Lots and lots and ... of text"
154 string(52) "5 test 2 Hello, world! Lots and lots and ... of text"
156 string(52) "6 test 2 Hello, world! Lots and lots and ... of text"
[all …]
/PHP-7.1/ext/standard/tests/strings/
H A Dbug21744.phpt5 $test = <<< HERE
6 <a href="test?test\\!!!test">test</a>
7 <!-- test -->
10 print strip_tags($test, '');
11 print strip_tags($test, '<a>');
14 test
15 <a href="test?test\!!!test">test</a>
H A Ducwords_variation3.phpt29 '"testing",ucword,"test"',
30 '"t""t",test, t',
31 '\'t \'t\',test',
41 't@@#$% %test ^test &test *test +test -test',
42 '!test ~test `test` =test= @test@test.com',
43 '/test/r\test\ucwords\t\y\y\u\3 \yy\ /uu/',
76 string(14) ""t""t",test, T"
78 string(11) "'t 't',test"
90 string(42) "T@@#$% %test ^test &test *test +test -test"
92 string(40) "!test ~test `test` =test= @test@test.com"
[all …]
H A Dbug27457.phpt5 $test = "Dot in brackets [.]\n";
6 echo $test;
7 $test = strtr($test, array('.' => '0'));
8 echo $test;
9 $test = strtr($test, array('0' => '.'));
10 echo $test;
11 $test = strtr($test, '.', '0');
12 echo $test;
13 $test = strtr($test, '0', '.');
14 echo $test;
/PHP-7.1/ext/standard/tests/general_functions/
H A Disset_basic1.phpt47 Float test: YES
48 String test: YES
49 Array test: YES
51 Null test: NO
52 Object test: YES
58 Integer test: NO
59 Float test: NO
60 String test: NO
61 Array test: NO
63 Null test: NO
[all …]
/PHP-7.1/ext/soap/interop/
H A Dclient_round2_params.php177 $test->encoding = 'UTF-8';
178 $soap_tests['base'][] = $test;
180 $test->encoding = 'UTF-8';
181 $soap_tests['base'][] = $test;
265 $test->type = 'soapval';
266 $soap_tests['base'][] = $test;
450 $soap_tests['GroupC'][] = $test;
500 $test->expect_fault = TRUE;
519 $test->headers_expect =
536 $test->headers_expect =
[all …]
/PHP-7.1/ext/gmp/tests/
H A D003.phpt8 $test[] = gmp_init("0b10011010010");
10 $test[] = gmp_init("10011010010");
14 $test[] = gmp_init("02322");
15 $test[] = gmp_init("02322", 8);
16 $test[] = gmp_init("2322");
17 $test[] = gmp_init("2322", 8);
20 $test[] = gmp_init("1234");
21 $test[] = gmp_init("1234", 10);
24 $test[] = gmp_init("0x4d2");
26 $test[] = gmp_init("4d2");
[all …]
/PHP-7.1/ext/libxml/tests/
H A Dbug54440.phpt4 <?php if (!extension_loaded('simplexml')) die('skip simplexml required for this test'); ?>
24 stream_wrapper_register("test", "TestWrapper")
27 $ctx1 = stream_context_create(array('test'=>array('test'=>'test 1')));
28 $ctx2 = stream_context_create(array('test'=>array('test'=>'test 2')));
31 @simplexml_load_file('test://sdfsdf');
34 @simplexml_load_file('test://sdfsdf');
38 [test] => Array
40 [test] => test 1
46 [test] => Array
48 [test] => test 2
/PHP-7.1/Zend/tests/
H A Dbug31683.phpt9 var_dump($test);
10 $test = 'bug';
14 var_dump($test);
16 $test = 'bug';
21 var_dump($test);
22 $test = 'bug';
26 var_dump($test);
27 $test = 'bug';
34 $test = 'bug';
40 $test = 'bug';
[all …]

Completed in 62 milliseconds

12345678910>>...130