Home
last modified time | relevance | path

Searched refs:php (Results 26 – 50 of 4382) sorted by relevance

12345678910>>...176

/PHP-7.4/ext/phar/tests/
H A D033a.phpt9 <?php
10 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php';
12 $file = '<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
15 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>';
19 var_dump($a['a.php']->isExecutable());
20 $a['a.php']->chmod(0777);
21 var_dump($a['a.php']->isExecutable());
22 $a['a.php']->chmod(0666);
30 <?php
31 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.1.phar.php');
[all …]
H A Dfrontcontroller21.phpt9 SCRIPT_NAME=/frontcontroller21.php
10 REQUEST_URI=/frontcontroller21.php/index.php?test=hi
11 PATH_INFO=/index.php
18 string(10) "/index.php"
19 string(10) "/index.php"
20 string(%d) "phar://%sfrontcontroller21.php/index.php"
21 string(18) "/index.php?test=hi"
22 string(32) "/frontcontroller21.php/index.php"
23 string(22) "/frontcontroller21.php"
24 string(%d) "%sfrontcontroller21.php"
[all …]
H A D024.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"; ?>';
20 include $pname . '/a.php';
21 include $pname . '/b.php';
22 include $pname . '/b/c.php';
[all …]
H A Drefcount1.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"; ?>';
26 $a = $p['b/c.php'];
39 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
44 string(%d) "phar://%srefcount1.phar.php/b/c.php"
46 string(%d) "c.php"
54 string(%d) "phar://%srefcount1.phar.php/b/c.php"
[all …]
H A Dopen_for_write_existing_b.phpt4 <?php
11 <?php
12 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
14 $file = "<?php __HALT_COMPILER(); ?>";
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"; ?>';
22 $fp = fopen($pname . '/b/c.php', 'wb');
25 include $pname . '/b/c.php';
29 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
[all …]
H A Dopen_for_write_existing_c.phpt4 <?php
11 <?php
12 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
14 $file = "<?php __HALT_COMPILER(); ?>";
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"; ?>';
22 $fp = fopen($pname . '/b/c.php', 'wb');
25 include $pname . '/b/c.php';
29 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
[all …]
H A Dphar_oo_005.phpt4 <?php
10 <?php
31 <?php
36 string(14) "phar://*/a.php"
37 string(14) "phar://*/a.php"
39 string(5) "a.php"
44 string(7) "b/c.php"
49 string(7) "b/d.php"
51 string(14) "phar://*/b.php"
54 string(5) "b.php"
[all …]
H A Dmounteddir.phpt4 <?php
12 <?php
17 $a['index.php'] = '<?php
38 file_put_contents(__DIR__ . '/testit/extfile.php', '<?php
87 <?php
97 <?php
106 Mounting of .phar/stub.php to %sextfile.php within phar %stests/tempmanifest1.phar.php failed
110 extfile.php
111 extfile2.php
113 phar://%stempmanifest1.phar.php/testit%cextfile.php
[all …]
H A Dopen_for_write_newfile.phpt4 <?php if (!extension_loaded("phar")) die("skip"); ?>
9 <?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"; ?>';
20 $fp = fopen($pname . '/b/new.php', 'wb');
23 include $pname . '/b/c.php';
24 include $pname . '/b/new.php';
[all …]
H A Dbug65028.phpt8 <?php
11 "lib/widgets/Widgets.php",
12 "lib/events/FormBeginEventArgs.php",
13 "lib/events/FormEndEventArgs.php",
14 "lib/Core.php",
15 "lib/database/MySqlDatabase.php",
16 "lib/utils/DateUtil.php",
30 "vendor/Fusonic/Linq.php",
55 "modules/bwd/bwd.php",
124 "index.php",
[all …]
H A Dopen_for_write_existing.phpt4 <?php if (!extension_loaded("phar")) die("skip"); ?>
9 <?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"; ?>';
20 $fp = fopen($pname . '/b/c.php', 'wb');
23 include $pname . '/b/c.php';
28 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
/PHP-7.4/ext/phar/tests/tar/
H A Ddelete_in_phar_confirm.phpt9 <?php
15 $phar['a.php'] = '<?php echo "This is a\n"; ?>';
16 $phar['b.php'] = '<?php echo "This is b\n"; ?>';
17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
21 include $alias . '/a.php';
22 include $alias . '/b.php';
23 include $alias . '/b/c.php';
31 <?php
32 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar/a.php';
33 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar/b.php';
[all …]
H A Ddelete_in_phar.phpt9 <?php
15 $phar['a.php'] = '<?php echo "This is a\n"; ?>';
16 $phar['b.php'] = '<?php echo "This is b\n"; ?>';
17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
21 include $alias . '/a.php';
22 include $alias . '/b.php';
23 include $alias . '/b/c.php';
28 <?php
29 include $alias . '/a.php';
30 include $alias . '/b.php';
[all …]
H A Ddelete_in_phar_b.phpt9 <?php
15 $phar['a.php'] = '<?php echo "This is a\n"; ?>';
16 $phar['b.php'] = '<?php echo "This is b\n"; ?>';
17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
22 include $alias . '/a.php';
23 include $alias . '/b.php';
24 include $alias . '/b/c.php';
29 <?php
30 include $alias . '/a.php';
31 include $alias . '/b.php';
[all …]
H A Dfrontcontroller21.phar.phpt9 SCRIPT_NAME=/frontcontroller21.phar.php
10 REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi
11 PATH_INFO=/index.php
18 string(10) "/index.php"
19 string(10) "/index.php"
20 string(%d) "phar://%sfrontcontroller21.phar.php/index.php"
21 string(18) "/index.php?test=hi"
22 string(37) "/frontcontroller21.phar.php/index.php"
23 string(27) "/frontcontroller21.phar.php"
24 string(%d) "%sfrontcontroller21.phar.php"
[all …]
/PHP-7.4/ext/phar/tests/zip/
H A Ddelete_in_phar_confirm.phpt9 <?php
15 $phar['a.php'] = '<?php echo "This is a\n"; ?>';
16 $phar['b.php'] = '<?php echo "This is b\n"; ?>';
17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
21 include $alias . '/a.php';
22 include $alias . '/b.php';
23 include $alias . '/b/c.php';
32 <?php
33 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip/a.php';
34 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip/b.php';
[all …]
H A Ddelete_in_phar.phpt9 <?php
15 $phar['a.php'] = '<?php echo "This is a\n"; ?>';
16 $phar['b.php'] = '<?php echo "This is b\n"; ?>';
17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
21 include $alias . '/a.php';
22 include $alias . '/b.php';
23 include $alias . '/b/c.php';
27 <?php
28 include $alias . '/a.php';
29 include $alias . '/b.php';
[all …]
H A Ddelete_in_phar_b.phpt9 <?php
15 $phar['a.php'] = '<?php echo "This is a\n"; ?>';
16 $phar['b.php'] = '<?php echo "This is b\n"; ?>';
17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
22 include $alias . '/a.php';
23 include $alias . '/b.php';
24 include $alias . '/b/c.php';
28 <?php
29 include $alias . '/a.php';
30 include $alias . '/b.php';
[all …]
H A Dfrontcontroller21.phar.phpt10 SCRIPT_NAME=/frontcontroller21.phar.php
11 REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi
12 PATH_INFO=/index.php
19 string(10) "/index.php"
20 string(10) "/index.php"
21 string(%d) "phar://%sfrontcontroller21.phar.php/index.php"
22 string(18) "/index.php?test=hi"
23 string(37) "/frontcontroller21.phar.php/index.php"
24 string(27) "/frontcontroller21.phar.php"
25 string(%d) "%sfrontcontroller21.phar.php"
[all …]
/PHP-7.4/ext/standard/tests/url/
H A Dparse_url_basic_006.phpt4 <?php
29 --> php.net : NULL
40 --> http://www.php.net/index.php : NULL
45 --> http://www.php.net:80/index.php : NULL
46 --> http://www.php.net:80/foo/bar/index.php : NULL
54 --> http://www.php.net:80/index.php : NULL
55 --> http://www.php.net:80/index.php? : NULL
61 --> http://www.php.net:80/index.php?test=1& : NULL
62 --> http://www.php.net/index.php?& : NULL
63 --> http://www.php.net:80/index.php?foo& : NULL
[all …]
H A Dparse_url_basic_009.phpt4 <?php
29 --> php.net : NULL
40 --> http://www.php.net/index.php : NULL
45 --> http://www.php.net:80/index.php : NULL
46 --> http://www.php.net:80/foo/bar/index.php : NULL
54 --> http://www.php.net:80/index.php : NULL
55 --> http://www.php.net:80/index.php? : NULL
61 --> http://www.php.net:80/index.php?test=1& : NULL
62 --> http://www.php.net/index.php?& : NULL
63 --> http://www.php.net:80/index.php?foo& : NULL
[all …]
H A Dparse_url_basic_004.phpt4 <?php
29 --> php.net : NULL
40 --> http://www.php.net/index.php : NULL
45 --> http://www.php.net:80/index.php : int(80)
46 --> http://www.php.net:80/foo/bar/index.php : int(80)
54 --> http://www.php.net:80/index.php : int(80)
55 --> http://www.php.net:80/index.php? : int(80)
61 --> http://www.php.net:80/index.php?test=1& : int(80)
62 --> http://www.php.net/index.php?& : NULL
63 --> http://www.php.net:80/index.php?foo& : int(80)
[all …]
H A Dparse_url_basic_005.phpt4 <?php
29 --> php.net : NULL
40 --> http://www.php.net/index.php : NULL
45 --> http://www.php.net:80/index.php : NULL
46 --> http://www.php.net:80/foo/bar/index.php : NULL
54 --> http://www.php.net:80/index.php : NULL
55 --> http://www.php.net:80/index.php? : NULL
61 --> http://www.php.net:80/index.php?test=1& : NULL
62 --> http://www.php.net/index.php?& : NULL
63 --> http://www.php.net:80/index.php?foo& : NULL
[all …]
/PHP-7.4/sapi/cli/tests/
H A D012.phpt4 <?php include "skipif.inc"; ?>
6 <?php
8 $php = getenv('TEST_PHP_EXECUTABLE');
10 var_dump(`"$php" -n -F some.php -F some.php`);
11 var_dump(`"$php" -n -F some.php -R some.php`);
12 var_dump(`"$php" -n -R some.php -F some.php`);
13 var_dump(`"$php" -n -R some.php -R some.php`);
14 var_dump(`"$php" -n -f some.php -f some.php`);
15 var_dump(`"$php" -n -B '' -B ''`);
16 var_dump(`"$php" -n -E '' -E ''`);
[all …]
/PHP-7.4/ext/opcache/tests/
H A Dissue0115.phpt8 <?php require_once('skipif.inc'); ?>
14 <?php
15 $stub = '<?php
17 require "phar://this/index.php";
20 $p['index.php'] = '<?php
22 require_once "phar://this/hello.php";
24 $p['hello.php'] = "Hello World 1!\n";
28 $p['index.php'] = '<?php
30 require_once "phar://this/hello.php";
32 $p['hello.php'] = "Hello World 2!\n";
[all …]

Completed in 36 milliseconds

12345678910>>...176