diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/output/ob_get_status.phpt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/output/ob_get_status.phpt b/tests/output/ob_get_status.phpt new file mode 100644 index 0000000..a6a3498 --- /dev/null +++ b/tests/output/ob_get_status.phpt @@ -0,0 +1,34 @@ +--TEST-- +ob_get_status() function basic test +--CREDITS-- +Sebastian Schürmann +sebs@php.net +Testfest 2009 Munich +--FILE-- +<?php +ob_start(); +$status = ob_get_status(true); +ob_end_clean(); +var_dump($status); +?> +--EXPECT-- +array(1) { + [0]=> + array(7) { + ["chunk_size"]=> + int(0) + ["size"]=> + int(40960) + ["block_size"]=> + int(10240) + ["type"]=> + int(1) + ["status"]=> + int(0) + ["name"]=> + string(22) "default output handler" + ["del"]=> + bool(true) + } +} + |