Home
last modified time | relevance | path

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

12345678910>>...123

/php-src/tests/strings/
H A D002.phpt52 fprintf test 1:abcde
55 printf test 2:42
68 printf test 13: -12
69 printf test 14:@
71 printf test 16:aa
72 printf test 17:AA
79 printf test 24:abcde
81 printf test 26:2 1
82 printf test 27:3 1 2
83 printf test 28:02 1
[all …]
/php-src/ext/standard/tests/
H A Dghsa-wpj3-hf5j-x4v4.phpt4 ..Host-test=ignore_1;
5 ._Host-test=ignore_2;
6 .[Host-test=ignore_3;
7 _.Host-test=ignore_4;
8 __Host-test=ignore_5;
9 _[Host-test=ignore_6;
10 [.Host-test=ignore_7;
11 [_Host-test=ignore_8;
12 [[Host-test=ignore_9;
46 ["__Host-test"]=>
[all …]
/php-src/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
24 $fd = fopen("test://foo","r");
25 touch("test://testdir/touch");
26 touch("test://testdir/touch", 1);
28 chown("test://testdir/chown", "test");
30 chgrp("test://testdir/chgrp", "test");
36 metadata: test://testdir/touch, 1
38 metadata: test://testdir/touch, 1
40 metadata: test://testdir/touch, 1
43 test
[all …]
/php-src/ext/soap/tests/bugs/
H A Dbug30045.phpt41 function test($type, $num) {
53 //test(XSD_BYTE, -129);
54 test(XSD_BYTE, -128);
55 test(XSD_BYTE, 127);
56 //test(XSD_BYTE, 128);
59 //test(XSD_SHORT, -32769);
60 test(XSD_SHORT, -32768);
61 test(XSD_SHORT, 32767);
62 //test(XSD_SHORT, 32768);
66 test(XSD_INT, -2147483648);
[all …]
/php-src/ext/ftp/tests/
H A Dftp_nb_continue.phpt32 This is line 0 of the test data.
33 This is line 1 of the test data.
34 This is line 2 of the test data.
35 This is line 3 of the test data.
36 This is line 4 of the test data.
37 This is line 5 of the test data.
38 This is line 6 of the test data.
39 This is line 7 of the test data.
40 This is line 8 of the test data.
41 This is line 9 of the test data.
[all …]
/php-src/tests/classes/
H A Dfactory_and_singleton_001.phpt5 class test {
12 if (test::$test) {
13 return test::$test;
15 test::$test = new test($x);
16 return test::$test;
21 test::$cnt++;
26 test::$test = NULL;
30 test::$cnt--;
38 if (test::$test) {
39 return test::$test->x;
[all …]
H A Dfactory_and_singleton_002.phpt5 class test {
12 if (test::$test) {
13 return test::$test;
15 test::$test = new test($x);
16 return test::$test;
21 test::$cnt++;
26 test::$test = NULL;
30 test::$cnt--;
38 if (test::$test) {
39 return test::$test->x;
[all …]
/php-src/ext/xmlwriter/tests/
H A Dbug41287.phpt11 xmlwriter_start_element_ns($xw, 'test', 'test', 'urn:x-test:');
24 $xw->startElementNS('test', 'test', 'urn:x-test:');
25 $xw->writeElementNS('test', 'foo', null, '');
34 <test:test xmlns:test="urn:x-test:">
35 <test:foo></test:foo>
36 <bar xmlns="urn:x-test:"></bar>
38 </test:test>
41 <test:test xmlns:test="urn:x-test:">
42 <test:foo></test:foo>
43 <bar xmlns="urn:x-test:"></bar>
[all …]
H A Dbug41326.phpt11 $xml->startElement('test');
26 $xw->startElementNS('test', 'test', 'urn:x-test:');
27 $xw->writeElementNS('test', 'foo', null, '');
38 <test>
43 </test>
46 <test:test xmlns:test="urn:x-test:">
47 <test:foo></test:foo>
48 <bar xmlns="urn:x-test:"></bar>
49 <bar xmlns="urn:x-test:"/>
50 <bar xmlns="urn:x-test:"/>
[all …]
/php-src/ext/dom/tests/delayed_freeing/
H A Ddirect_construction.phpt15 var_dump($test->appendChild($test));
22 $test = new DOMCharacterData("test");
29 var_dump($test->appendData('test'));
35 $test = new DOMCdataSection("test");
37 var_dump($test->appendData('test'));
40 $test = new DOMText("test");
60 $test = new DOMElement("qualifiedName", "test");
64 var_dump($test->appendChild($test));
87 var_dump($test->appendChild($test));
97 var_dump($test->appendChild($test));
[all …]
/php-src/ext/standard/tests/strings/
H A Ducwords_variation3.phpt24 '"testing",ucword,"test"',
25 '"t""t",test, t',
26 '\'t \'t\',test',
36 't@@#$% %test ^test &test *test +test -test',
37 '!test ~test `test` =test= @test@test.com',
38 '/test/r\test\ucwords\t\y\y\u\3 \yy\ /uu/',
71 string(14) ""t""t",test, T"
73 string(11) "'t 't',test"
85 string(42) "T@@#$% %test ^test &test *test +test -test"
87 string(40) "!test ~test `test` =test= @test@test.com"
[all …]
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 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-src/ext/iconv/tests/
H A Dbug79200.phpt7 var_dump(iconv_mime_decode('=?windows-1258?Q?test=20test?=', 0, 'UTF-8'));
8 var_dump(iconv_strlen('test test', 'WINDOWS-1258'));
9 var_dump(iconv_strpos('test test', 'test test', 0, 'WINDOWS-1258'));
10 var_dump(iconv_substr('test test', 0 , 9, 'WINDOWS-1258'));
13 string(9) "test test"
16 string(9) "test test"
/php-src/Zend/tests/type_declarations/union_types/
H A Dincdec_prop.phpt13 $test = new Test;
15 $x = $test->prop++;
19 $x = ++$test->prop;
23 $x = $test->prop--;
27 $x = --$test->prop;
30 $test = new Test;
32 $r =& $test->prop;
33 $x = $test->prop++;
38 $r =& $test->prop;
43 $r =& $test->prop;
[all …]
/php-src/ext/standard/tests/general_functions/
H A Disset_basic1.phpt42 Float test: YES
43 String test: YES
44 Array test: YES
46 Null test: NO
47 Object test: YES
53 Integer test: NO
54 Float test: NO
55 String test: NO
56 Array test: NO
58 Null test: NO
[all …]
/php-src/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");
27 $test[] = gmp_init("4d2");
[all …]
/php-src/ext/spl/tests/
H A Dgh10907.phpt7 $array[0] = "test value 1";
8 $array[1] = "test value 2";
17 $array[0] = "test value 1";
18 $array[1] = "test value 2";
28 $array[0] = "test value 1";
30 $array[1] = "test value 2";
44 $array[0] = "test value 1";
45 $array[1] = "test value 2";
55 string(12) "test value 1"
57 string(12) "test value 2"
[all …]
/php-src/ext/standard/tests/array/
H A Dbug77669.phpt6 function test($mode) {
17 test(EXTR_OVERWRITE);
18 test(EXTR_SKIP);
19 test(EXTR_IF_EXISTS);
20 test(EXTR_PREFIX_SAME);
21 test(EXTR_PREFIX_ALL);
22 test(EXTR_PREFIX_INVALID);
23 test(EXTR_PREFIX_IF_EXISTS);
24 test(EXTR_REFS | EXTR_OVERWRITE);
25 test(EXTR_REFS | EXTR_SKIP);
[all …]
/php-src/ext/libxml/tests/
H A Dlibxml_set_streams_context_overwrite.phpt23 stream_wrapper_register("test", "TestWrapper");
25 $ctx1 = stream_context_create(array('test'=>array('test'=>'test 1')));
26 $ctx2 = stream_context_create(array('test'=>array('test'=>'test 2')));
29 @simplexml_load_file('test://sdfsdf');
32 @simplexml_load_file('test://sdfsdf');
37 [test] => Array
39 [test] => test 2
45 [test] => Array
47 [test] => test 1
/php-src/ext/filter/tests/
H A Dghsa-w8qr-v226-r27w.phpt8 function test(string $input) {
13 test("http://t[est@127.0.0.1");
14 test("http://t[est@[::1]");
15 test("http://t[est@[::1");
16 test("http://t[est@::1]");
18 test("http://test[@2001:db8:3333:4444:5555:6666:1.2.3.4]");
23 test("http://test@127.0.0.1");
24 test("http://test@[2001:db8:3333:4444:5555:6666:1.2.3.4]");
25 test("http://test@[::1]");
39 string(21) "http://test@127.0.0.1"
[all …]
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_076.phpt24 $test->$prop2 = $value;
25 $test->$prop1 =& $test->$prop2;
29 $test->$prop1 = $value;
30 $test->$prop2 =& $test->$prop1;
37 $test->$prop2 = $value;
38 $test->$prop1 =& $test->$prop2;
43 $test->$prop1 = $value;
44 $test->$prop2 =& $test->$prop1;
50 $test = new Test;
56 valid($test, 'A', 'A', new A);
[all …]
/php-src/ext/session/tests/
H A Dsession_basic3.phpt29 <a href="/">test</a>
30 <a href="/#bar">test</a>
31 <a href="/?foo">test</a>
32 <a href="/?foo#bar">test</a>
33 <a href="/?foo=var">test</a>
35 <a href="file.php">test</a>
101 <a href="/">test</a>
102 <a href="/path">test</a>
105 <a href="../">test</a>
110 <a href="/#bar">test</a>
[all …]

Completed in 53 milliseconds

12345678910>>...123