mirror of
https://github.com/php/web-qa.git
synced 2026-03-24 07:22:07 +01:00
The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
36 lines
954 B
PHP
36 lines
954 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: capture_stdio_1.phpt</h1>
|
|
<p>Back to "<a href="../phpt_details.php">PHPT Test File Layout</a>"</p>
|
|
<pre>
|
|
--TEST--
|
|
Test covering the all standard I/O streams.
|
|
--DESCRIPTION--
|
|
This tests checks if the output of stdin, stdout and stderr I/O streams match
|
|
the expected content.
|
|
--CAPTURE_STDIO--
|
|
STDIN STDOUT STDERR
|
|
--FILE--
|
|
<?php
|
|
echo "Hello, world. This is sent to the stdout I/O stream\n";
|
|
fwrite(STDERR, "This is error sent to the stderr I/O stream\n");
|
|
?>
|
|
--EXPECT--
|
|
Hello, world. This is sent to the stdout I/O stream
|
|
This is error sent to the stderr I/O stream
|
|
</pre>
|
|
<p>Back to "<a href="../phpt_details.php">PHPT Test File Layout</a>"</p>
|
|
</div>
|
|
|
|
<?php
|
|
common_footer();
|
|
?>
|