Including file from a registered shutown function on a syntax parse

--0016e6d63ffb6e7297047e800bb4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Greetings,

If I register a shutdown function in PHP (to catch syntax parse errors and
send them in logs), it looks like I can open files, but I cannot do include=
s
- that is, if the reason of exit is a syntax parse error.

Is this a desired effect? It seems a tad odd that I could do
eval(preg_replace("#^<\?[php]?#", "", file_get_contents($file))); but not
include($file);

--
Marc Trudel-B=E9lisle
www.wizcorp.jp

--0016e6d63ffb6e7297047e800bb4--
Marc Trudel [ Mo, 01 Februar 2010 02:38 ] [ ID #2030935 ]
PHP » gmane.comp.php.general » Including file from a registered shutown function on a syntax parse

Vorheriges Thema: magic_quotes_gpc on by default??
Nächstes Thema: flush() in conjunction with gzipped content