Re: [PHP-DEV] alternative to the fopen() hack in autoloaders

2009-11-10 Thread Igor Feghali
As stated in the RFC, I am not happy with the name autoload_include. Suggestions welcome! That reminds me of the set theory... how about: contain $file; or superset $file; there are also the not so original (as found in many other languages) keywords import / load. Best, ~IF. -- PHP

Re: [PHP-DEV] Memory Leaks with Objects (no circular reference)

2009-03-06 Thread Igor Feghali
Hello Dmitry, Thank you for your answer. The problem comes when you put that piece of code inside a Daemon that is supposed to run 24h/7 days. The reserved memory increases at each loop, never gets freed, and in about 1~2 days the process dies because it reaches the memory limit of 128MB. Isn't

Re: [PHP-DEV] phar update

2009-03-02 Thread Igor Feghali
Hello Greg, AIX 5.3.0.0, PPC 64bit: 297 passed 214 skipped I am doing a second run right now to see if something goes different. Please let me know if you want the test log as well. Regards, Igor Feghali. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] phar update

2009-03-02 Thread Igor Feghali
You can cut down on the skipped tests by building bz2, zlib, and openssl. 350 passed 161 skipped By the way, phar complained Archive.php wasn't found (no PEAR installed in this machine) in `make` time. Does it affects anything ? -- PHP Internals - PHP Runtime Development Mailing List To

[PHP-DEV] Memory Leaks with Objects (no circular reference)

2009-02-27 Thread Igor Feghali
Hi, I am facing some memory leaks with php 5.1.6 that has been fixed in 5.2.0. So I suppose the fix should be somewhere between those versions, but I couldn't find exactly which line in the NEWS file is that. ?php class foo { var $a1; var $a2; var $a3; var $a4; var $a5; var

Re: [PHP-DEV] phar update

2009-02-27 Thread Igor Feghali
It's a bug in PCRE that has been reported, can't find the bug report just now though, you can fix it with a compiler define for using ANSI C. Just for the record thats the patch to fix this issue: http://bugs.exim.org/attachment.cgi?id=294 And here is the original bug:

Re: [PHP-DEV] phar update

2009-02-26 Thread Igor Feghali
Hello Greg, I have an AIX PPC 64 bits, IBM XL C/C++ compiler, which I can run the tests. Is it of any interest ? I read you tested on a PPC 64 already but as far as i understand you used a GNU compiler. Regards, Igor Feghali. -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] phar update

2009-02-26 Thread Igor Feghali
While trying to perform phar testing on the system previously mentioned by me, I couldn't manage to get php5.3-200902261130 to compile with IBM CC. First 3 lines of error: /tmp/php5.3-200902261130/ext/pcre/pcrelib/pcre_internal.h, line 976.3: 1506-046 (S) Syntax error.

Re: [PHP-DEV] Where I can find the official PHP5 grammar/specification?

2008-12-24 Thread Igor Feghali
Hello Juan, On Tue, Dec 23, 2008 at 16:52, Juan Kinunt kin...@gmail.com wrote: Where I can find the grammar? http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_language_parser.y?view=markup ? Regards, Igor Feghali. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] Implode() FR and Patch

2008-12-06 Thread Igor Feghali
where one read : implstr.len--; should be: implstr.len -= Z_STRLEN_P(delim); Best Regards, Igor Feghali. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Implode() FR and Patch

2008-12-06 Thread Igor Feghali
Please see attached a new patch that fixes the problem with delimiters bigger than one char (that's what happens when you code after midnight). Also, as suggested by Hannes, skip_empty is now being parsed as zend boolean (b) instead of zval (Z). Regards, Igor Feghali. Index: ext/standard

Re: [PHP-DEV] Implode() FR and Patch

2008-12-06 Thread Igor Feghali
some feedback on implode() first. Anyway, would you mind writing a proper RFC for the addition? Absolutely. I would appreciate some directions on that though. Can I just follow the template of, say http://wiki.php.net/rfc/traits ? Regards, Igor Feghali. -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Implode() FR and Patch

2008-12-06 Thread Igor Feghali
clear. Right. Best Regards, Igor Feghali. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Implode() FR and Patch

2008-12-05 Thread Igor Feghali
patched version (named php+ in examples). The PHP scripts are right below the tests. Looking at the results I would say there is almost no performance loss. Before I place a feature request at PHP.net I would love to hear some feedback here, or even a yes/no for this feature. Best Regards, Igor

Re: [PHP-DEV] a stupid question

2008-11-17 Thread Igor Feghali
maybe because 0 evaluating to false is already enough and everything after that would be forcing too much. If 0.0 evaluates to false then I would ask, why 0.0E1 doesn't ? What about 0.0E2 ? 0.0E10 ? etc. Just my opinion. regards, Igor. On Mon, Nov 17, 2008 at 11:22 AM, Ting Chen [EMAIL

Re: [PHP-DEV] Re: keeping traffic on this list manageable

2008-11-03 Thread Igor Feghali
On Mon, Nov 3, 2008 at 5:36 PM, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: how many UGs are we expecting anyways? there are already 206 active local UGs registered in phpclasses.org[1], so I guess its the very least we should expect. regards, Igor. [1] http://www.phpclasses.org/browse/group/

Re: [PHP-DEV] Switch Table Extension for PHP

2008-08-01 Thread Igor Feghali
Hello Stefan, On 7/30/08, Stefan Esser [EMAIL PROTECTED] wrote: I am very interested how it performs with YOUR switch statements. And I am also very interested if its implementation unexpectedly breaks YOUR switch statements. this is potentially useful for the default parser of

Re: [PHP-DEV] short_open_tag

2008-03-23 Thread Igor Feghali
On Fri, Mar 21, 2008 at 5:14 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: Can you produce any example of application or other real code that would silently misbehave with short tags on but behave OK with short tags off? Embedding PHP in a SVG (XML) file to generate a batch of images with

Re: [PHP-DEV] PHPUnit under the umbrella of PHP for GSoC

2008-03-10 Thread Igor Feghali
On Thu, Mar 6, 2008 at 5:21 PM, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: 1) php internals (php-src, qa, docs etc) 2) any other php.net subproject 3) other php projects just to remember last year we had 4 projects in [3] (jaws, phpunit, doctrine, xdebug), 1 in [2] (PEAR) and 2 in [1] (docs

[PHP-DEV] My GSoC project

2007-04-07 Thread Igor Feghali
Hello there ! I am Igor Feghali, a student who finished with success Google Summer of Code 2006. This year I am applying again to my favorite organization: PHP ;) My project is titled Foreign Keys: another improvement to PEAR::MDB2_Schema and can be viewed at the address: http

Re: [PHP-DEV] My GSoC project

2007-04-07 Thread Igor Feghali
yes I have been told about this line yet. I am just wondering if it is available to the public or its private (only PHP mentors/admins have access to it). thanks everyone for the replies. cheers, iGor. On 4/7/07, Robert Deaton [EMAIL PROTECTED] wrote: Google has assigned them already. The

[PHP-DEV] CVS Account Request: ifeghali

2006-06-13 Thread Igor Feghali
I had my proposal about PEAR::MDB2_Schema accepted on SoC 2006. Lukas and Pierre told to request an account here to be able to commit what I already did in pear and peardoc. I also already introduced myself to the pear-dev list: http://www.beeblex.com/lists/index.php/php.pear.dev/42646 -- PHP