if(substr($filesrc, -2)=="?".">")
{
$p = strlen($filesrc) - 2;
$php_start = "<"."?";
----> while(($p > 0) && (substr($filesrc, $p, 2) != $php_start)) <------- строка 4713
$p--;
$epilog = substr($filesrc, $p);
$filesrc = substr($filesrc, 0, $p);
}
return Array(
"PROLOG"=>$prolog,
"TITLE"=>$title,
"PROPERTIES"=>$arPageProps,
"CONTENT"=>$filesrc,
"EPILOG"=>$epilog
);
|