Re: [PHP-DEV] REMINDER - stream wrappers in include_path

2008-03-30 Thread Dmitry Stogov
Hi Greg, I just don't see if my changes broke something. So could you please prove that committed patch has an issue (with test case), and restore part of your patch that was going to fix the issue. Sorry for double work. Thanks. Dmitry. Greg Beaver wrote: Dmitry Stogov wrote: Hi Marcus,

Re: [PHP-DEV] zend_ini_parser.c fails to create in latest PHP6

2008-03-30 Thread Steph Fox
Hi Marcus, Antony Dovgal wrote: He's using snapshots, so that should not be required. I'd say somebody forgot to upgrade re2c on the snaps machine. Btw, when is 0.13.4, the currently "required" version, going to be released? Edward has a good point here. You updated this as a Windows requi

RE: [PHP-DEV] zend_ini_parser.c fails to create in latest PHP6

2008-03-30 Thread Graham Frank
My reply to Cristian went to his personal email. Let me copy it here: Hey Cristian, I installed the latest re2c (http://sourceforge.net/project/showfiles.php?group_id=96864). PHP6-dev claims to want version 0.13.4 or later, but the latest is 0.13.3 (also the latest in their svn and changelog)

Re: [PHP-DEV] zend_ini_parser.c fails to create in latest PHP6

2008-03-30 Thread Edward Z. Yang
Antony Dovgal wrote: > He's using snapshots, so that should not be required. > I'd say somebody forgot to upgrade re2c on the snaps machine. Btw, when is 0.13.4, the currently "required" version, going to be released? -- Edward Z. YangGnuPG: 0x869C48DA HTML Purifier

Re: [PHP-DEV] zend_ini_parser.c fails to create in latest PHP6

2008-03-30 Thread Antony Dovgal
On 31.03.2008 01:49, Cristian Rodriguez wrote: you need to install re2c and run ./buildconf --force He's using snapshots, so that should not be required. I'd say somebody forgot to upgrade re2c on the snaps machine. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing Li

Re: [PHP-DEV] Re: Backporting to 5_3

2008-03-30 Thread Cristian Rodriguez
2008/3/30, Edward Z. Yang <[EMAIL PROTECTED]>: > list($b) = 'asdf'; // $b is NULL yep, that does not work, and should IMHO emit the warning I mentioned in a previuos email... ;) -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." – Edsge

Re: [PHP-DEV] zend_ini_parser.c fails to create in latest PHP6

2008-03-30 Thread Cristian Rodriguez
2008/3/30, Graham Frank <[EMAIL PROTECTED]>: > Hello, > > > > I was trying to compile the latest PHP6 dev release and I keep getting the > following error: > > > > gcc: /root/php6.0-200803301630/Zend/zend_ini_parser.c: No such file or > directory > > gcc: no input files > > make: *** [Zend/ze

Re: [PHP-DEV] Re: [PATCH] Allow unsetting headers previously set by header()

2008-03-30 Thread Sam Barrow
On Sun, 2008-03-30 at 16:05 -0400, Edward Z. Yang wrote: > Christian Schmidt wrote: > > What do you think of the general idea of being able to unset > headers? > > And what do you think of my patch? > > If you need this kind of flexibility, I recommend you make an > HttpHeaders class which manages

Re: [PHP-DEV] making var_dump and var_export even better

2008-03-30 Thread Edward Z. Yang
Stanislav Malyshev wrote: >> Also, about circular references. Isn't it possible to reuse the >> circular recognition from print_r and actually write out a reference >> to the offending piece? > > For var_export it isn't possible since there's no way to refer to the > value being exported. I know

[PHP-DEV] Re: [PATCH] Allow unsetting headers previously set by header()

2008-03-30 Thread Edward Z. Yang
Christian Schmidt wrote: > What do you think of the general idea of being able to unset headers? > And what do you think of my patch? If you need this kind of flexibility, I recommend you make an HttpHeaders class which manages these things and then sends them when necessary. -- Edward Z. Yang

Re: [PHP-DEV] Re: Backporting to 5_3

2008-03-30 Thread Edward Z. Yang
Stanislav Malyshev wrote: > This is weird... I wouldn't go as far as saying nobody uses it - since > experience shows there's somebody somewhere using any weird combination > of PHP features imaginable - but it's definitely a strange code. Even > though, I think since it's functionality drop, we ma

[PHP-DEV] zend_ini_parser.c fails to create in latest PHP6

2008-03-30 Thread Graham Frank
Hello, I was trying to compile the latest PHP6 dev release and I keep getting the following error: gcc: /root/php6.0-200803301630/Zend/zend_ini_parser.c: No such file or directory gcc: no input files make: *** [Zend/zend_ini_parser.lo] Error 1 My last PHP6 compile to successfully comp

Re: [PHP-DEV] RE: [PHP-QA] BC break with php 5.2.6

2008-03-30 Thread Sebastian Bergmann
Marco Kaiser schrieb: For example, PHPUNIT, ZendFramework, ezComponents. How exactly do you think PHPUnit breaks? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Run

[PHP-DEV] RE: [PHP-QA] BC break with php 5.2.6

2008-03-30 Thread Derick Rethans
On Thu, 27 Mar 2008, Marco Kaiser wrote: > This means this "was maybe a bug, that i allread talked about" but its now > changed so we should raise a notice about this. That will BREAK > Many many apps out there. > > For example, PHPUNIT, ZendFramework, ezComponents. I've tested with eZ Component

Re: [PHP-DEV] practical phar considerations

2008-03-30 Thread Steph Fox
Hi Greg, Phar::compressArchive() /* Steph hated this when I originally proposed it, perhaps she's changed her mind? */ Nope :) I still think compress(Phar::BZ2|GZ), uncompress(), compressAllFiles(), uncompressAllFiles(). And I also think compressAllFiles() only means something to a handful

[PHP-DEV] Add a memory limit in mysql ext

2008-03-30 Thread Olivier Bonvalet
Hello, I often host clients which have "bad" PHP/SQL code ; as for example a "select *" + mysql_row_nums on a 200Mo table just to count lines... So I add a little patch to throw a warning in case the result of mysql_query is larger than a specified limit. I use the setting "mysql.min_stored_data

Re: [PHP-DEV] Backporting to 5_3

2008-03-30 Thread Lukas Kahwe Smith
On 26.03.2008, at 14:04, Felipe Pena wrote: So what is the conclusion here? - Added runtime JIT auto-globals fetching and caching. (Dmitry, Sara) backport (based on the arguments from Pierre) - Added "jump label" operator (limited "goto"). (Dmitry, Sara) backport - Removed support for