File tree Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Original file line number Diff line number Diff line change 1
- --TEST--
1
+ <?php
2
+ include ("../include/functions.php " );
3
+
4
+ $ TITLE = "Sample Test [PHP-QAT: Quality Assurance Team] " ;
5
+ $ SITE_UPDATE = date ("D M d H:i:s Y T " , filectime (__FILE__ ));
6
+
7
+ common_header ();
8
+ ?>
9
+
10
+ <div style="padding: 10px">
11
+ <h1>Sample Test: skipif2.inc</h1>
12
+ <p>Back to "<a href="../phpt_details.php">PHPT Test File Layout</a>"</p>
13
+ <pre>--TEST--
2
14
Handling of errors during linking
3
15
--INI--
4
16
opcache.enable=1
5
17
opcache.enable_cli=1
6
18
opcache.optimization_level=-1
7
19
opcache.preload={PWD}/preload_inheritance_error_ind.inc
8
20
--SKIPIF--
9
- < ?php
21
+ < ?php
10
22
require_once('skipif.inc');
11
23
if (getenv('SKIP_ASAN')) die('xfail Startup failure leak');
12
- ?>
24
+ ?>
13
25
--FILE--
14
- < ?php
26
+ < ?php
15
27
echo "Foobar\n";
16
- ?>
28
+ ?>
17
29
--EXPECTF--
18
30
Fatal error: Declaration of B::foo($bar) must be compatible with A::foo() in %spreload_inheritance_error.inc on line 8
31
+ </pre>
32
+ <p>Back to "<a href="../phpt_details.php">PHPT Test File Layout</a>"</p>
33
+ </div>
34
+
35
+ <?php
36
+ common_footer ();
37
+ ?>
You can’t perform that action at this time.
0 commit comments