1
0
mirror of https://github.com/php/web-qa.git synced 2026-03-24 07:22:07 +01:00
Files
archived-web-qa/sample_tests/sample012.php
Peter Kokot 8fa799a2be Change --FILE_EXTERNAL-- file extensions
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.
2018-10-20 21:11:41 +02:00

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 &quot;<a href="../phpt_details.php">PHPT Test File Layout</a>&quot;</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 &quot;<a href="../phpt_details.php">PHPT Test File Layout</a>&quot;</p>
</div>
<?php
common_footer();
?>