Skip to content

Commit

Permalink
use a safer variable name for the ob
Browse files Browse the repository at this point in the history
  • Loading branch information
scoates authored and ieure committed Nov 25, 2009
1 parent b67197e commit 72a8e49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PHP/Repl.php
Expand Up @@ -129,8 +129,9 @@ public function run()
ob_start();
while (true) {
// inner loop is to escape from stacked output buffers
while ($c = ob_get_clean() ) {
echo $c;
while ($__ob__ = ob_get_clean() ) {
echo $__ob__;
unset($__ob__);
}

try {
Expand Down

0 comments on commit 72a8e49

Please sign in to comment.