Re: PhD - Patch to add support to DBTimestamp processing instructions
| From: | Hannes Magnusson | Date: | Wed, 06 Jan 2010 07:52:28 +0000 |
| Subject: | Re: PhD - Patch to add support to DBTimestamp processing instructions | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969381250@lists.php.net to get a copy of this message | ||
On Wed, Jan 6, 2010 at 03:59, Moacir de Oliveira
<moacirdeoliveira.eng@gmail.com> wrote:
> hi all,
>
> Here a patch to add support to DBTimestamp processing instructions to PhD
>
> Patch:
> http://pastie.org/768355
Looks good. I tested it with the zenddocs and it seems to work fine.
As we need to be very careful about speed, please change the loop to
first $len = strlen() and then check $len, and use isset() rather then
array_key_exists().
In those cases the actual current second has no meaning, so please use
$_SERVER["REQUEST_TIME"].
-Hannes