Home
last modified time | relevance | path

Searched refs:php (Results 1 – 25 of 3049) sorted by relevance

12345678910>>...122

/php-src/ext/standard/tests/general_functions/
H A Doutput_add_rewrite_var_basic4.phpt9 <?php
23 <a href="//php.net/foo.php"> </a>
24 <a href="http://php.net/foo.php"> </a>
25 <a href="bad://php.net/foo.php"> </a>
26 <a href="//www.php.net/foo.php"> </a>
43 <a href="//php.net/foo.php"> </a>
45 <a href="bad://php.net/foo.php"> </a>
46 <a href="//www.php.net/foo.php"> </a>
65 <a href="//php.net/foo.php"> </a>
80 <a href="//php.net/foo.php"> </a>
[all …]
H A Doutput_add_rewrite_var_basic3.phpt9 <?php
23 <a href="//php.net/foo.php"> </a>
24 <a href="http://php.net/foo.php"> </a>
25 <a href="bad://php.net/foo.php"> </a>
26 <a href="//www.php.net/foo.php"> </a>
43 <a href="//php.net/foo.php"> </a>
45 <a href="bad://php.net/foo.php"> </a>
46 <a href="//www.php.net/foo.php"> </a>
65 <a href="//php.net/foo.php"> </a>
81 <a href="//php.net/foo.php"> </a>
[all …]
H A Doutput_add_rewrite_var_basic2.phpt9 <?php
24 <a href="//php.net/foo.php"> </a>
25 <a href="http://php.net/foo.php"> </a>
26 <a href="bad://php.net/foo.php"> </a>
27 <a href="//www.php.net/foo.php"> </a>
44 <a href="//php.net/foo.php"> </a>
45 <a href="http://php.net/foo.php"> </a>
46 <a href="bad://php.net/foo.php"> </a>
47 <a href="//www.php.net/foo.php"> </a>
66 <a href="//php.net/foo.php"> </a>
[all …]
H A Doutput_add_rewrite_var_basic1.phpt9 <?php
24 <a href="//php.net/foo.php"> </a>
25 <a href="http://php.net/foo.php"> </a>
26 <a href="bad://php.net/foo.php"> </a>
27 <a href="//www.php.net/foo.php"> </a>
44 <a href="//php.net/foo.php"> </a>
45 <a href="http://php.net/foo.php"> </a>
46 <a href="bad://php.net/foo.php"> </a>
47 <a href="//www.php.net/foo.php"> </a>
66 <a href="//php.net/foo.php"> </a>
[all …]
H A Durl_rewriting_basic3.phpt9 <?php
15 <a href="//php.net/foo.php"></a>
16 <a href="http://php.net/foo.php"></a>
17 <a href="bad://php.net/foo.php"></a>
18 <a href="//www.php.net/foo.php"></a>
94 <a href="//php.net/foo.php"></a>
95 <a href="http://php.net/foo.php"></a>
96 <a href="bad://php.net/foo.php"></a>
97 <a href="//www.php.net/foo.php"></a>
132 <a href="//php.net/foo.php"></a>
[all …]
H A Durl_rewriting_basic1.phpt9 <?php
15 <a href="//php.net/foo.php"></a>
16 <a href="http://php.net/foo.php"></a>
17 <a href="bad://php.net/foo.php"></a>
18 <a href="//www.php.net/foo.php"></a>
86 <a href="//php.net/foo.php"></a>
87 <a href="http://php.net/foo.php"></a>
88 <a href="bad://php.net/foo.php"></a>
89 <a href="//www.php.net/foo.php"></a>
128 <a href="//php.net/foo.php"></a>
[all …]
/php-src/ext/standard/tests/url/
H A Dparse_url_basic_003.phpt4 <?php
25 --> http://php.net : string(7) "php.net"
26 --> http://php.net/ : string(7) "php.net"
34 --> http://www.php.net/index.php : string(11) "www.php.net"
39 --> http://www.php.net:80/index.php : string(11) "www.php.net"
40 --> http://www.php.net:80/foo/bar/index.php : string(11) "www.php.net"
48 --> http://www.php.net:80/index.php : string(11) "www.php.net"
49 --> http://www.php.net:80/index.php? : string(11) "www.php.net"
56 --> http://www.php.net/index.php?& : string(11) "www.php.net"
57 --> http://www.php.net:80/index.php?foo& : string(11) "www.php.net"
[all …]
H A Durls.inc1 <?php
9 'php.net',
10 'php.net/',
20 'http://www.php.net/index.php',
25 'http://www.php.net:80/index.php',
26 'http://www.php.net:80/foo/bar/index.php',
34 'http://www.php.net:80/index.php',
35 'http://www.php.net:80/index.php?',
42 'http://www.php.net/index.php?&',
43 'http://www.php.net:80/index.php?foo&',
[all …]
H A Dparse_url_basic_007.phpt4 <?php
23 --> php.net : string(7) "php.net"
24 --> php.net/ : string(8) "php.net/"
34 --> http://www.php.net/index.php : string(10) "/index.php"
39 --> http://www.php.net:80/index.php : string(10) "/index.php"
48 --> http://www.php.net:80/index.php : string(10) "/index.php"
49 --> http://www.php.net:80/index.php? : string(10) "/index.php"
55 --> http://www.php.net:80/index.php?test=1& : string(10) "/index.php"
56 --> http://www.php.net/index.php?& : string(10) "/index.php"
57 --> http://www.php.net:80/index.php?foo& : string(10) "/index.php"
[all …]
H A Dparse_url_basic_004.phpt4 <?php
23 --> php.net : NULL
34 --> http://www.php.net/index.php : NULL
39 --> http://www.php.net:80/index.php : int(80)
40 --> http://www.php.net:80/foo/bar/index.php : int(80)
48 --> http://www.php.net:80/index.php : int(80)
49 --> http://www.php.net:80/index.php? : int(80)
55 --> http://www.php.net:80/index.php?test=1& : int(80)
56 --> http://www.php.net/index.php?& : NULL
57 --> http://www.php.net:80/index.php?foo& : int(80)
[all …]
H A Dparse_url_basic_006.phpt4 <?php
23 --> php.net : NULL
34 --> http://www.php.net/index.php : NULL
39 --> http://www.php.net:80/index.php : NULL
40 --> http://www.php.net:80/foo/bar/index.php : NULL
48 --> http://www.php.net:80/index.php : NULL
49 --> http://www.php.net:80/index.php? : NULL
55 --> http://www.php.net:80/index.php?test=1& : NULL
56 --> http://www.php.net/index.php?& : NULL
57 --> http://www.php.net:80/index.php?foo& : NULL
[all …]
/php-src/ext/phar/tests/
H A Ddelete_in_phar_confirm.phpt10 <?php
11 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
16 $files['a.php'] = '<?php echo "This is a\n"; ?>';
17 $files['b.php'] = '<?php echo "This is b\n"; ?>';
18 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
32 <?php
33 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/a.php';
34 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/b.php';
35 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/b/c.php';
39 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
[all …]
H A Ddelete_in_phar.phpt10 <?php
11 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
16 $files['a.php'] = '<?php echo "This is a\n"; ?>';
17 $files['b.php'] = '<?php echo "This is b\n"; ?>';
18 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
22 include $pname . '/a.php';
23 include $pname . '/b.php';
28 <?php
29 include $pname . '/a.php';
35 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
[all …]
H A D029.phpt8 <?php
9 $fname1 = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php';
10 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.2.phar.php';
14 $file = '<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
17 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>';
18 $files['b.php'] = '<?php echo "This is b\n"; include "'.$pname.'/b/c.php"; ?>';
19 $files['b/c.php'] = '<?php echo "This is b/c\n"; include "'.$pname.'/b/d.php"; ?>';
20 $files['b/d.php'] = '<?php echo "This is b/d\n"; include "'.$pname.'/e.php"; ?>';
21 $files['e.php'] = '<?php echo "This is e\n"; ?>';
41 <?php
[all …]
H A Dopen_for_write_newfile_b.phpt9 <?php
10 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
12 $file = "<?php __HALT_COMPILER(); ?>";
15 $files['a.php'] = '<?php echo "This is a\n"; ?>';
16 $files['b.php'] = '<?php echo "This is b\n"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
21 include $pname . '/b/c.php';
22 include $pname . '/b/new.php';
26 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
28 …ar.php/b/new.php): Failed to open stream: phar error: write operations disabled by the php.ini set…
[all …]
H A Dopen_for_write_newfile_c.phpt9 <?php
10 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
12 $file = "<?php __HALT_COMPILER(); ?>";
15 $files['a.php'] = '<?php echo "This is a\n"; ?>';
16 $files['b.php'] = '<?php echo "This is b\n"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
21 include $pname . '/b/c.php';
22 include $pname . '/b/new.php';
26 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
28 …ar.php/b/new.php): Failed to open stream: phar error: write operations disabled by the php.ini set…
[all …]
H A D026.phpt8 <?php
9 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
11 $file = "<?php __HALT_COMPILER(); ?>";
14 $files['a.php'] = '<?php echo "This is a\n"; require \''.$pname.'/b.php\'; ?>';
15 $files['b.php'] = '<?php echo "This is b\n"; require \''.$pname.'/b/c.php\'; ?>';
16 $files['b/c.php'] = '<?php echo "This is b/c\n"; require \''.$pname.'/b/d.php\'; ?>';
17 $files['b/d.php'] = '<?php echo "This is b/d\n"; require \''.$pname.'/e.php\'; ?>';
18 $files['e.php'] = '<?php echo "This is e\n"; ?>';
22 require $pname . '/a.php';
26 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
H A Ddelete_in_phar_b.phpt9 <?php
10 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
15 $files['a.php'] = '<?php echo "This is a\n"; ?>';
16 $files['b.php'] = '<?php echo "This is b\n"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
20 include $pname . '/a.php';
21 include $pname . '/b.php';
26 <?php
27 include $pname . '/a.php';
28 include $pname . '/b.php';
[all …]
H A Dinclude_path.phpt6 tempmanifest1.phar.php
10 <?php
13 $a['file1.php'] = 'file1.php
15 $a['test/file1.php'] = 'test/file1.php
19 include 'file1.php';
21 include 'file1.php';
22 include 'file2.php';
25 <?php
29 file1.php
30 test/file1.php
[all …]
H A D023.phpt8 <?php
9 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
11 $file = "<?php __HALT_COMPILER(); ?>";
14 $files['a.php'] = '<?php echo "This is a\n"; ?>';
15 $files['b.php'] = '<?php echo "This is b\n"; ?>';
16 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
20 var_dump(file_get_contents($pname . '/a.php'));
26 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
28 string(28) "<?php echo "This is a\n"; ?>"
29 string(28) "<?php echo "This is b\n"; ?>"
[all …]
H A Dmounteddir.phpt10 <?php
15 $a['index.php'] = '<?php
36 file_put_contents(__DIR__ . '/testit/extfile.php', '<?php
39 file_put_contents(__DIR__ . '/testit/extfile2.php', '<?php
84 <?php
94 <?php
103 Mounting of .phar/stub.php to %sextfile.php within phar %stests/tempmanifest1.phar.php failed
107 extfile.php
108 extfile2.php
110 phar://%stempmanifest1.phar.php/testit%cextfile.php
[all …]
/php-src/ext/session/tests/
H A Dsession_basic3.phpt19 <?php
45 <a href="http://php.net/file.php">test</a>
46 <a href="http://php.net/file.php#bar">test</a>
47 <a href="http://php.net/file.php?foo">test</a>
58 <a href="https://php.net/file.php">test</a>
76 <a href="//php.net/file.php">test</a>
77 <a href="//php.net/file.php#bar">test</a>
78 <a href="//php.net/file.php?foo">test</a>
175 <a href="//php.net/file.php">test</a>
176 <a href="//php.net/file.php#bar">test</a>
[all …]
/php-src/ext/standard/tests/strings/
H A Durl_t.phpt4 <?php
12 'php.net',
23 'http://www.php.net/index.php',
28 'http://www.php.net:80/index.php',
29 'http://www.php.net:80/foo/bar/index.php',
37 'http://www.php.net:80/index.php',
38 'http://www.php.net:80/index.php?',
44 'http://www.php.net:80/index.php?test=1&',
45 'http://www.php.net/index.php?&',
46 'http://www.php.net:80/index.php?foo&',
[all …]
/php-src/ext/phar/tests/files/
H A Dphar_oo_test.inc1 <?php
5 $tname = basename(current(get_included_files()), ".php");
6 $fname = dirname(__FILE__) . "/$tname.phar.php";
8 $file = (binary)'<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
18 $files['a.php'] = '<?php echo "This is a.php\n"; ?>';
19 $files['b.php'] = '<?php echo "This is b.php\n"; ?>';
20 $files['b/c.php'] = '<?php echo "This is b/c.php\n"; ?>';
21 $files['b/d.php'] = '<?php echo "This is b/d.php\n"; ?>';
22 $files['e.php'] = '<?php echo "This is e.php\n"; ?>';
43 $files['a.php'] = '<?php echo new new class;';
/php-src/ext/phar/tests/cache_list/files/
H A Dphar_oo_test.inc1 <?php
5 $fname = dirname(__FILE__) . '/phar_oo_test.phar.php';
7 $file = '<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
17 $files['a.php'] = '<?php echo "This is a.php\n"; ?>';
18 $files['b.php'] = '<?php echo "This is b.php\n"; ?>';
19 $files['b/c.php'] = '<?php echo "This is b/c.php\n"; ?>';
20 $files['b/d.php'] = '<?php echo "This is b/d.php\n"; ?>';
21 $files['e.php'] = '<?php echo "This is e.php\n"; ?>';
42 $files['a.php'] = '<?php echo new new class;';

Completed in 91 milliseconds

12345678910>>...122