Skip to content

Commit

Permalink
- Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick Rethans committed Oct 3, 2002
1 parent cebb0f7 commit b6323ef
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/func/008.phpt
Original file line number Diff line number Diff line change
@@ -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 changes: 18 additions & 0 deletions tests/func/009.phpt
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit b6323ef

Please sign in to comment.