bh-php
bh-php copied to clipboard
No html code output
why $bh->apply([ 'block' => 'button' ]); doesn't output any html
i have to use echo($bh->apply([ 'block' => 'button' ])); in order to get it
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?