Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: output in phpunit

$
0
0
Hi guys.
I dont know where to see the version of the PHPExcel.

I am trying to make some unitTests and my code that I am testing is using PHPExcel... and it is outputing some stuff and is not working to disable it with
b_start();
$out1 = ob_get_contents();
ob_end_clean();

any idea pls? I cant test my code because of this.

How do I disable the output pls?

It looks smth like:

...<b>DOM ELEMENT: </b>HTML<br /><b>DOM ELEMENT: </b>BODY<br /><b>DOM ELEMENT: </b>P<br />START OF PARAGRAPH: <br />END OF PARAGRAPH:<br />FLUSH CELL: A1 => campa......

Cheers!

Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>