Re: [PHP-DEV] Porting PECL to userspace

2011-05-21 Thread David Muir
On 21/05/11 01:15, Larry Garfield wrote: > Hi all. > > I'm working with a fellow developer on an experimental project. There > are some PECL modules that we want to try and use in an open source > project where we cannot guarantee that PECL modules will be available, > since it's intended for wide

Re: [PHP-DEV] [PATCH] arithmetic speedup

2011-05-21 Thread Martynas Venckus
On 5/21/11, Sebastian Bergmann wrote: > On 05/20/2011 11:28 AM, Dmitry Stogov wrote: >> The bench.php gets more than 10% speedup (2.5 sec instead of 2.9 sec) >> Real-life applications are not affected. All the PHPT tests are passed. > > I chatted with Kore Nordmann, the creator of Image_3D (rayt

Re: [PHP-DEV] [PATCH] arithmetic speedup

2011-05-21 Thread Stas Malyshev
Hi! What platform was that on? GCC already inlines its builtins by default (even at -O0). I.e., the abs() generates the following code: As I understand, Sebastian wasn't talking about inlining C abs(). He was talking about converting PHP abs() (which is a function call right now with all o

Re: [PHP-DEV] [PATCH] arithmetic speedup

2011-05-21 Thread Martynas Venckus
On 5/21/11, Stas Malyshev wrote: > Hi! > >> What platform was that on? GCC already inlines its builtins by >> default (even at -O0). I.e., the abs() generates the following code: > > As I understand, Sebastian wasn't talking about inlining C abs(). He was > talking about converting PHP abs() (wh

[PHP-DEV] CRL file parsing

2011-05-21 Thread Ricardo Maia
I need to parse a CRL (Certificate Revocation List) file and verify if a client certificate has been revoked, but the PHP OpenSSL extension do not support this feature. I saw a patch for this issue dated from 2007 http://bugs.php.net/bug.php?id=40046 http://pecl.php.net/~pierre/ext-openssl-crl.pat

[PHP-DEV] Constructor object instance dereferentiation

2011-05-21 Thread dukeofgaming
Hi, I was wondering if object dereferentiation after constructor call is something that has been discussed already. This is, being able to do something like: new MyClass()->setSomething(); Instead of: $var = new MyClass(); $var->setSomething(); Regards, David Vega