", '', $phpString); $phpString = highlight_string($phpString, TRUE); $newString = explode("_NEW_LINE_", $phpString); $noLines = count($newString); $noLines--; $returnSession = ''; $returnSession .= "
PHP:
\n"; $c=1; while(isset($newString[$c])){ if($c != $noLines){ $returnSession .= '@is',
'@
@is',
'@@is');
$by = array(
'',
'',
'');
$line = preg_replace($replace, $by, $line);
$returnSession .= $line.'