bh-php icon indicating copy to clipboard operation
bh-php copied to clipboard

No html code output

Open cmnstmntmn opened this issue 9 years ago • 1 comments

why $bh->apply([ 'block' => 'button' ]); doesn't output any html i have to use echo($bh->apply([ 'block' => 'button' ])); in order to get it

cmnstmntmn avatar Apr 08 '16 14:04 cmnstmntmn

This is because you can easily output it with echo.

Better to have echo in echo $bh->apply(...); than ob-wrapper in ob_start(); $bh->apply(...); $res = ob_get_clean();, right?

qfox avatar Apr 09 '16 11:04 qfox