Home
last modified time | relevance | path

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

12345678910>>...179

/PHP-8.0/ext/standard/tests/general_functions/
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>
65 <a href="//php.net/foo.php"> </a>
80 <a href="//php.net/foo.php"> </a>
95 <a href="//php.net/foo.php"> </a>
[all …]
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>
65 <a href="//php.net/foo.php"> </a>
80 <a href="//php.net/foo.php"> </a>
95 <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 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 …]
/PHP-8.0/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-8.0/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-8.0/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.phpt4 <?php
11 <?php
12 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
17 $files['a.php'] = '<?php echo "This is a\n"; ?>';
18 $files['b.php'] = '<?php echo "This is b\n"; ?>';
19 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
23 include $pname . '/b/c.php';
24 include $pname . '/b/new.php';
28 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
30 …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.phpt4 <?php
11 <?php
12 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
17 $files['a.php'] = '<?php echo "This is a\n"; ?>';
18 $files['b.php'] = '<?php echo "This is b\n"; ?>';
19 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
23 include $pname . '/b/c.php';
24 include $pname . '/b/new.php';
28 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
30 …ar.php/b/new.php): Failed to open stream: phar error: write operations disabled by the php.ini set…
[all …]
H A Dcreate_new_phar.phpt4 <?php if (!extension_loaded("phar")) die("skip"); ?>
9 <?php
11 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/a.php',
13 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/a.php';
15 $fileName = "ChineseFile\xE5\x84\xB7\xE9\xBB\x91.php";
16 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/$fileName.php
18 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/$fileName.php';
22 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
H A D026.phpt4 <?php if (!extension_loaded("phar")) die("skip"); ?>
8 <?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';
[all …]
H A Dcreate_new_phar_b.phpt4 <?php if (!extension_loaded("phar")) die("skip"); ?>
9 <?php
11 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/a.php',
13 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/a.php';
17 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
19 …_b.phar.php/a.php): Failed to open stream: phar error: write operations disabled by the php.ini se…
21 …ng: include(phar://%screate_new_phar_b.phar.php/a.php): Failed to open stream: %s in %screate_new_…
23 …opening 'phar://%screate_new_phar_b.phar.php/a.php' for inclusion (include_path='%s') in %screate_…
H A D023.phpt4 <?php if (!extension_loaded("phar")) die("skip"); ?>
8 <?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"; ?>';
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 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 D028.phpt4 <?php if (!extension_loaded("phar")) die("skip"); ?>
8 <?php
9 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
11 $file = '<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
15 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>';
16 $files['b.php'] = '<?php echo "This is b\n"; include "'.$pname.'/b/c.php"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; include "'.$pname.'/b/d.php"; ?>';
18 $files['b/d.php'] = '<?php echo "This is b/d\n"; include "'.$pname.'/e.php"; ?>';
19 $files['e.php'] = '<?php echo "This is e\n"; ?>';
29 include $pname . '/a.php';
[all …]
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 …]
/PHP-8.0/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-8.0/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-8.0/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 47 milliseconds

12345678910>>...179