_end_fix_quote($string); eval($s='$rst ='.str_replace('$this->bundle_vars','$compiler->bundle_vars',$string).';'); if($rst){ return var_export($rst,1); }else{ return $default; } }else{ return '((isset('.$string.') && \'\'!=='.$string.')?'.$string.':'.$default.')'; } } function compile_ecos_logo(){ return '?>Powered By ECOS$v){ $re['/([^a-z])'.$k.'([^a-z])/i'] = '$1('.$v.')$2'; } $equation = substr(preg_replace(array_keys($re),array_values($re),$equation),1,-1); if($format){ $equation = 'sprintf('.$format.','.$equation.')'; } if($assign){ $equation = '$this->_vars['.$assign.']='.$equation; } return 'echo ('.$equation.');'; } }