diff options
author | Derick Rethans <derick@php.net> | 2002-10-03 10:43:43 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2002-10-03 10:43:43 +0000 |
commit | b6323ef5e27f2170e2738b75c19d9a40565c898c (patch) | |
tree | 1656d965bda081971a4ea57bbfc69d400013d4fd /tests | |
parent | cebb0f76b8594149ca480355d299f5c201535d01 (diff) | |
download | php-git-b6323ef5e27f2170e2738b75c19d9a40565c898c.tar.gz |
- Add tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/func/008.phpt | 18 | ||||
-rw-r--r-- | tests/func/009.phpt | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/func/008.phpt b/tests/func/008.phpt new file mode 100644 index 0000000000..b16798ac89 --- /dev/null +++ b/tests/func/008.phpt @@ -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' diff --git a/tests/func/009.phpt b/tests/func/009.phpt new file mode 100644 index 0000000000..7f69186fd8 --- /dev/null +++ b/tests/func/009.phpt @@ -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' |