function parse($file) { global $str; ob_start(); include($file); $buffer = ob_get_contents(); ob_end_clean(); return $buffer; } function parse($file) { global $str; ob_start(); include($file); $buffer = ob_get_contents(); ob_end_clean(); return $buffer;}
Daily Archives: February 6, 2011
Understanding PHP eval function and usage Do more than just evaluating
#1: The syntax behind the eval(); It is very simple and straight forward… You pass any string argument through the eval construct. The string will be treated as any PHP code. The basic syntax is: http://www.intechgrity.com/understanding-php-eval-function-and-usage-do-more-than-just-evaluating/