Created
July 4, 2017 14:50
-
-
Save myanmarlinks/6d2adfcfaea44c07b5988eb880d9f1cd to your computer and use it in GitHub Desktop.
Output Buffering Second
This file contains 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 | |
function testFuncOne($buffer) { | |
return (str_replace("Apple", "Orange", $buffer)); | |
} | |
ob_start("testFuncOne"); | |
echo "Hello Apple <br>"; | |
echo "How are you my Apple! <br>"; | |
echo "Another, How are you? <br>"; | |
echo "Testing One Apple Three <br>"; | |
ob_end_flush(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment