<?php function output($buffer) { global $object; return $buffer.$object->bar; } $object = new stdClass(); $object->bar = "bar"; ob_start('output'); echo "foo ";
You have javascript disabled. You will not be able to edit any code.