File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / output / ob_020.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_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, v5_3_10, HEAD
php

    1: --TEST--
    2: output buffering - ob_list_handlers
    3: --FILE--
    4: <?php
    5: print_r(ob_list_handlers());
    6: 
    7: ob_start();
    8: print_r(ob_list_handlers());
    9: 
   10: ob_start();
   11: print_r(ob_list_handlers());
   12: 
   13: ob_end_flush();
   14: print_r(ob_list_handlers());
   15: 
   16: ob_end_flush();
   17: print_r(ob_list_handlers());
   18: ?>
   19: --EXPECT--
   20: Array
   21: (
   22: )
   23: Array
   24: (
   25:     [0] => default output handler
   26: )
   27: Array
   28: (
   29:     [0] => default output handler
   30:     [1] => default output handler
   31: )
   32: Array
   33: (
   34:     [0] => default output handler
   35: )
   36: Array
   37: (
   38: )

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