- Add tests

This commit is contained in:
Derick Rethans 2002-10-03 10:43:43 +00:00
parent cebb0f76b8
commit b6323ef5e2
2 changed files with 36 additions and 0 deletions

18
tests/func/008.phpt Normal file
View file

@ -0,0 +1,18 @@
--TEST--
Output buffering tests / Implicit flush off
--POST--
--GET--
--INI--
implicit_flush=0
--FILE--
<?php
$res = var_export("foo1");
echo "\n";
$res = var_export("foo2", TRUE);
echo "\n";
echo $res."\n";
?>
--EXPECT--
'foo1'
'foo2'

18
tests/func/009.phpt Normal file
View file

@ -0,0 +1,18 @@
--TEST--
Output buffering tests / Implicit flush off
--POST--
--GET--
--INI--
implicit_flush=1
--FILE--
<?php
$res = var_export("foo1");
echo "\n";
$res = var_export("foo2", TRUE);
echo "\n";
echo $res."\n";
?>
--EXPECT--
'foo1'
'foo2'