zoe             Wed Apr 22 16:14:38 2009 UTC

  Added files:                 
    /phpruntests/phpt-tests     sample_expectheaders.phpt hw.php 
                                sample_fileexternal.phpt 
  Log:
  Sample tests for EXPECTHEADERS and FILE_EXTERNAL
  

http://cvs.php.net/viewvc.cgi/phpruntests/phpt-tests/sample_expectheaders.phpt?view=markup&rev=1.1
Index: phpruntests/phpt-tests/sample_expectheaders.phpt
+++ phpruntests/phpt-tests/sample_expectheaders.phpt
--TEST--
Sample expect headers test
--FILE--
<?php
header("HTTP/1.0 404 Not Found");
echo 'hello world';
?>
--EXPECTHEADERS--
Status: 404 Not Found
X-Powered-By: PHP/5.3.0RC2-dev
Content-type: text/html

--EXPECT--
hello world





http://cvs.php.net/viewvc.cgi/phpruntests/phpt-tests/hw.php?view=markup&rev=1.1
Index: phpruntests/phpt-tests/hw.php
+++ phpruntests/phpt-tests/hw.php
<?php
  echo "hello world\n";
?>

http://cvs.php.net/viewvc.cgi/phpruntests/phpt-tests/sample_fileexternal.phpt?view=markup&rev=1.1
Index: phpruntests/phpt-tests/sample_fileexternal.phpt
+++ phpruntests/phpt-tests/sample_fileexternal.phpt
--TEST--
sample test for file_external
--FILE_EXTERNAL--
hw.php
--EXPECT--
hello world



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to