mirror of
https://github.com/php/web-qa.git
synced 2026-03-24 07:22:07 +01:00
The --FILE_EXTERNAL-- sections can take any extension, however current php code has *.php extension ignored in the Git repository and adding such files to the repository conflicts with the generated *.php files from the run-tests.php script. So the *.inc extension has been picked which is used in other sections already.
26 lines
586 B
PHP
26 lines
586 B
PHP
<?php
|
|
include("../include/functions.php");
|
|
|
|
$TITLE = "Sample Test [PHP-QAT: Quality Assurance Team]";
|
|
$SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
|
|
|
|
common_header();
|
|
?>
|
|
|
|
<div style="padding: 10px">
|
|
<h1>Sample Test: sample012.phpt</h1>
|
|
<p>Back to "<a href="../phpt_details.php">PHPT Test File Layout</a>"</p>
|
|
<pre>--TEST--
|
|
sample test for file_external
|
|
--FILE_EXTERNAL--
|
|
files/<a href="file012.php">file012.inc</a>
|
|
--EXPECT--
|
|
hello world
|
|
</pre>
|
|
<p>Back to "<a href="../phpt_details.php">PHPT Test File Layout</a>"</p>
|
|
</div>
|
|
|
|
<?php
|
|
common_footer();
|
|
?>
|