Return to ob_020.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / output |
1.1 ! misho 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: )