Created
July 4, 2017 15:14
-
-
Save myanmarlinks/166c5592a952b1b486c1f51ab1b5477c to your computer and use it in GitHub Desktop.
Output Buffering Fourth
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 | |
ob_start(); | |
echo "How are you and where do you live? "; | |
echo "I live in Yangon"; | |
$out1 = ob_get_contents(); | |
echo "How do you do?"; | |
echo "where do you live"; | |
$out2 = ob_get_contents(); | |
ob_end_clean(); | |
var_dump($out1); | |
var_dump($out2); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment