What in this code is causing the PHP source it prints is making all the " turn into ? ?
code:
<?php
$phpizer_div_class="code";
function phpizer($text) {
global $phpizer_div_class;
$parse=0;
$codebuffer="";
$finaltext="";
$count=1;
$lines=split("\n",stripslashes($text));
foreach($lines as $theline){
if(preg_match("/\[php\]/",$theline)){
$parse=1;
$theline="";
}
if(preg_match("/\[\/php\]/",$theline)){
$parse=0;
$finaltext .= "<div id=\"phpizer_div_" . $count . "\" class=\"" . $phpizer_div_class . "\">\n" . highlight_string("<?php\n" . $codebuffer . "\n?>\n",1) . "</div>\n";
$count++;
$codebuffer="";
$theline="\n";
}
if($parse==0){
$finaltext .= $theline;
}
else{
$codebuffer .= $theline;
}
}
return $finaltext;
}
add_filter('the_content', 'phpizer', 8);
add_filter('comment_text', 'phpizer', 8);
?>

:: WWW || Contact || Deviations || ThoughtPrism ::