File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / output / ob_get_status.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:48:06 2012 UTC (12 years, 4 months ago) by misho
Branches: php, MAIN
CVS tags: v5_3_10, HEAD
php

--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)
  }
}


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>