Re: Not a bad choice, but... [was:Re: PEAR::Strip_Comments]
| From: | Thorsten Suckow-Homberg | Date: | Fri, 30 Apr 2004 08:46:06 +0000 |
| Subject: | Re: Not a bad choice, but... [was:Re: PEAR::Strip_Comments] | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12245@lists.php.net to get a copy of this message | ||
> Just as a quick point on this, unless its built into the installer (as a
> setting not a flag) how will the whitespace stripped file be updated
> when the package is?
You call the file you wish to require/include with
require_once(Util_DocStrip("PEAR.php"));
The method will search the include paths for the file, then, if found, check
the file-date of the (evtl.) allready existing file and renew it if the
original file is newer.
Additionally, the stripper replaces all parameter of require_once and
include calls with Util_DocStrip("ORIGINAL_PARAMETER").