summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Schürmann <sebs@php.net>2009-04-25 11:33:26 (GMT)
committerSebastian Schürmann <sebs@php.net>2009-04-25 11:33:26 (GMT)
commit7942cd2c3cb11fb431c7949c4ae5a187dfa9f9dc (patch)
treee0db0a76672cd6669ffbbab42792a2201b946848 /tests
parenta3a20e29c29fce0b8de72919858643efd9200fcf (diff)
downloadphp-7942cd2c3cb11fb431c7949c4ae5a187dfa9f9dc.tar.gz
- Initial commit
Diffstat (limited to 'tests')
-rw-r--r--tests/output/ob_get_status.phpt34
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)
+ }
+}
+