Annotation of embedaddon/php/tests/output/ob_get_status.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: ob_get_status() function basic test
! 3: --CREDITS--
! 4: Sebastian Schürmann
! 5: sebs@php.net
! 6: Testfest 2009 Munich
! 7: --FILE--
! 8: <?php
! 9: ob_start();
! 10: $status = ob_get_status(true);
! 11: ob_end_clean();
! 12: var_dump($status);
! 13: ?>
! 14: --EXPECT--
! 15: array(1) {
! 16: [0]=>
! 17: array(7) {
! 18: ["chunk_size"]=>
! 19: int(0)
! 20: ["size"]=>
! 21: int(40960)
! 22: ["block_size"]=>
! 23: int(10240)
! 24: ["type"]=>
! 25: int(1)
! 26: ["status"]=>
! 27: int(0)
! 28: ["name"]=>
! 29: string(22) "default output handler"
! 30: ["del"]=>
! 31: bool(true)
! 32: }
! 33: }
! 34:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>