Wednesday, November 25, 2009
Home | Projects and Goals | Release Candidates | How to Help | Handling Bug Reports | Submit a build test


Sample Test: sample009.phpt

Back to "PHPT Test File Layout"

--TEST--
STDIN input
--FILE--
<?php
var_dump(stream_get_contents(STDIN));
?>
--STDIN--
fooBar
use this to input some thing to the php script
--EXPECT--
string(54) "fooBar
use this to input some thing to the php script
"

Back to "PHPT Test File Layout"

 
Go to the main PHP site