This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// without OB | |
echo 'before_ob' . PHP_EOL; | |
ob_start(); // first level begins | |
// this line will be in $second | |
echo 'second_ob' . PHP_EOL; | |
ob_start(); // second level begins | |
// these 2 lines will be in $first |