Re: [PHP-DEV] PEAR Build fix

2008-07-31 Thread Marcus Boerger
Hello Rasmus, Wednesday, July 30, 2008, 4:12:35 PM, you wrote: > Could someone please fix this: > Generating phar.php > Generating phar.phar > Pear package PHP_Archive found: API Version: 1.0.0 (stable). > Pear package PHP_Archive or Archive.php class file not found. > clicommand.inc > directory

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-07-31 Thread Arnaud Le Blanc
Hi, On Friday 01 August 2008 05:39:27 Lucas Nealan wrote: > I was initially planning to implement ZTS, however the more I learned the > harder it became. The first issue being that not every scope implementing > the blocking macros has implemented or fetched TSRMLS data. Many places in > zend_allo

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-07-31 Thread Lucas Nealan
On 7/30/08 11:54 AM, "Stanisla Malyshev" <[EMAIL PROTECTED]> wrote: > I have a couple of questions about the patch: > 1. Why allocate fixed-size buffer via individual malloc's on each > activate and free it on each deactivate? Won't it be better to just > allocate it once and use it? I'll take a l

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-07-31 Thread Lucas Nealan
> On 7/30/08 6:11 AM, "Lukas Kahwe Smith" <[EMAIL PROTECTED]> wrote: > Not so happy that it was not possible to get this committed over the > weekend. Johannes did a quick review and it seems like it has enough > support from people and is low risk enough to get committed now. Lets > hope no extens

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

2008-07-31 Thread Marcus Boerger
Hello Stefan, please discuss with RMs when to merge this in. IMO such a nice locale improvment can go in anytime during alpha when RMs approve. marcus Wednesday, July 30, 2008, 10:18:02 PM, you wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > Hi, > for everyone interested in getti

Re: [PHP-DEV] [PATCH] New functions: array_replace[_recursive]

2008-07-31 Thread Johannes Schlüter
Matt, On Thu, 2008-07-31 at 20:06 +0200, Johannes Schlüter wrote: > On Thu, 2008-07-31 at 11:48 -0500, Matt Wilmas wrote: > > Ugh, I hate that reference/recursion stuff! I have a hard time following > > what's happening, and am not sure how some of those checks, etc. even work > > in php_array_me

Re: [PHP-DEV] Making PHP upload hooks available through session variables?

2008-07-31 Thread D. Dante Lorenso
Tore B. Krudtaa wrote: To D. Dante Lorenso: Thanks for notifying me of: http://digitarald.de/project/fancyupload/ But I would still like to see the upload hooks accessible from within a standard PHP inst., which would give me more control of the upload progress as well as more control in the fe

Re: [PHP-DEV] [PATCH] New functions: array_replace[_recursive]

2008-07-31 Thread Johannes Schlüter
Hi, On Thu, 2008-07-31 at 11:48 -0500, Matt Wilmas wrote: > Ugh, I hate that reference/recursion stuff! I have a hard time following > what's happening, and am not sure how some of those checks, etc. even work > in php_array_merge() (which I was working from). :-/ I tried changing a few > parts,

[PHP-DEV] Re: [INTERNALS-WIN] Re: [PHP-DEV] Broken Windows build

2008-07-31 Thread Steph Fox
What Steph is talking about is the Platform SDK and maybe the Service Pack. ? Having now discovered ('course the wretched thing won't tell me so I have to compare file versions) that I did in fact have SP 6 applied, the problem is that you now need the Platform SDK too. Visual C++ 6 worked

Re: [PHP-DEV] [PATCH] No runtime fetching of built-in global constants

2008-07-31 Thread Dmitry Stogov
Hi Matt, Now I know. :) Anyway, I don't think this optimization will work often. Send me the patch after Alpha1 release. Thanks. Dmitry. Matt Wilmas wrote: > Hi Dmitry, > > Do you know that with your changes, no substitution will happen in a > namespace even when using :: prefix? :-/ (That's

[PHP-DEV] Re: [INTERNALS-WIN] Re: [PHP-DEV] Broken Windows build

2008-07-31 Thread Steph Fox
It builds fine with VC 6. Is it too much to ask that people use an updated SDK (note that updated still is over 5 years old)? That's not the issue... The issue is more that nobody asked it until now. - Steph -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http:/

Re: [PHP-DEV] [PATCH] No runtime fetching of built-in global constants

2008-07-31 Thread Matt Wilmas
Hi Dmitry, Do you know that with your changes, no substitution will happen in a namespace even when using :: prefix? :-/ (That's what I would do when I know it's global, for optimization.) Or is that what you meant by "not so optimal?" - Matt - Original Message - From: "Dmitry Stogov

Re: [PHP-DEV] Broken Windows build

2008-07-31 Thread Rob Richards
Derick Rethans wrote: On Thu, 31 Jul 2008, Pierre Joye wrote: On Thu, Jul 31, 2008 at 5:08 PM, Steph Fox <[EMAIL PROTECTED]> wrote: Hi all, Last week PHP_5_3 out of CVS built on my box under VC6; today it does not. I have been told on irc (thanks Liz) It has been like that si

Re: [PHP-DEV] [PATCH] New functions: array_replace[_recursive]

2008-07-31 Thread Matt Wilmas
Hi Johannes, - Original Message - From: "Johannes Schlüter" Sent: Thursday, July 31, 2008 > Matt, > > On Tue, 2008-07-22 at 10:52 -0500, Matt Wilmas wrote: > > Adding these two array functions has been on the TODO for a while, > > The patch can quite easily be tricked into an endless recu

Re: [PHP-DEV] Broken Windows build

2008-07-31 Thread Pierre Joye
On Thu, Jul 31, 2008 at 6:16 PM, Derick Rethans <[EMAIL PROTECTED]> wrote: > On Thu, 31 Jul 2008, Pierre Joye wrote: > >> On Thu, Jul 31, 2008 at 5:08 PM, Steph Fox <[EMAIL PROTECTED]> wrote: >> > Hi all, >> > >> > Last week PHP_5_3 out of CVS built on my box under VC6; today it does not. >> > >> >

Re: [PHP-DEV] Broken Windows build

2008-07-31 Thread Derick Rethans
On Thu, 31 Jul 2008, Pierre Joye wrote: > On Thu, Jul 31, 2008 at 5:08 PM, Steph Fox <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > Last week PHP_5_3 out of CVS built on my box under VC6; today it does not. > > > > I have been told on irc (thanks Liz) > > It has been like that since literally yea

[PHP-DEV] Re: [INTERNALS-WIN] Re: [PHP-DEV] Broken Windows build

2008-07-31 Thread Steph Fox
Uninstall the old one, install the new one, et voila, no need to kill a cat to get that solved. Now that we have cleared the true issue, let us go back to work :) Hard drive has 2.02 gigs, SDK installment requires 'at least 1.4 GB'. No way, can't risk it, I need this laptop for work. The true

[PHP-DEV] Re: [INTERNALS-WIN] Re: [PHP-DEV] Broken Windows build

2008-07-31 Thread Pierre Joye
On Thu, Jul 31, 2008 at 5:31 PM, Steph Fox <[EMAIL PROTECTED]> wrote: >> http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm > > It wants far more space than I actually have on my laptop hard drive. I > can't quite believe you're actually making this a *requirement* for the > f

[PHP-DEV] Re: [INTERNALS-WIN] Re: [PHP-DEV] Broken Windows build

2008-07-31 Thread Steph Fox
Hi Pierre, It has been like that since literally years. Nothing new under the sun. Erm... no, it hasn't. That's why I'm reporting it now. that there is no intention of fixing the breakage because 'the 2003 SDK has been a requirement since PHP 5.1'. This is the first I ever heard of any such

Re: [PHP-DEV] Broken Windows build

2008-07-31 Thread Pierre Joye
hi, On Thu, Jul 31, 2008 at 5:08 PM, Steph Fox <[EMAIL PROTECTED]> wrote: > Hi all, > > Last week PHP_5_3 out of CVS built on my box under VC6; today it does not. > > I have been told on irc (thanks Liz) It has been like that since literally years. Nothing new under the sun. > that there is no i

[PHP-DEV] Broken Windows build

2008-07-31 Thread Steph Fox
Hi all, Last week PHP_5_3 out of CVS built on my box under VC6; today it does not. I have been told on irc (thanks Liz) that there is no intention of fixing the breakage because 'the 2003 SDK has been a requirement since PHP 5.1'. This is the first I ever heard of any such requirement - everyt

Re: [PHP-DEV] [PATCH] No runtime fetching of built-in global constants

2008-07-31 Thread Dmitry Stogov
Thanks Matt. I committed near the same patch. It's not so optimal, but little bit more clear. Thanks. Dmitry. Matt Wilmas wrote: > Hi Dmitry, > > For the behavior change that I mentioned in the other thread, with this > code: > > function foo() { > static $a = -PHP_INT_MAX; > } > > Which c

Re: [PHP-DEV] Making PHP upload hooks available through session variables?

2008-07-31 Thread Tore B. Krudtaa
Upload hooks used by session variables Johannes Schlüter wrote > > I think that's not possible in a good way as the > uploading process would > > have to open and parse the session file, update the > status, serialize it > > and store it again to disk everytime the status > changes (aka. every few

Re: [PHP-DEV] [PATCH] No runtime fetching of built-in global constants

2008-07-31 Thread Matt Wilmas
Hi Dmitry, For the behavior change that I mentioned in the other thread, with this code: function foo() { static $a = -PHP_INT_MAX; } Which could work sometimes, and sometimes not (if in a namespace or ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION is set). I changed things so that there is no subst

Re: [PHP-DEV] [PATCH] New functions: array_replace[_recursive]

2008-07-31 Thread Johannes Schlüter
Matt, On Tue, 2008-07-22 at 10:52 -0500, Matt Wilmas wrote: > Adding these two array functions has been on the TODO for a while, The patch can quite easily be tricked into an endless recursion of php_array_replace_recursive() calls which will segfault: $ php -r '$a = array(); $a[] = &$a; $b = a

Re: [PHP-DEV] Re: [PATCH] Constant expr folding (again), and other things

2008-07-31 Thread Matt Wilmas
Hi Dmitry, - Original Message - From: "Dmitry Stogov" Sent: Thursday, July 31, 2008 > Hi Matt, > > For now I would like to disable "-CONST" constant expression which > started to work after your patch. Yes, that's what my new fix will do -- it's coming in just a minute, and it also corre

[PHP-DEV] Re: [PATCH] Constant expr folding (again), and other things

2008-07-31 Thread Dmitry Stogov
Hi Matt, For now I would like to disable "-CONST" constant expression which started to work after your patch. Later we are able to implement the complete constant expressions support. Thanks. Dmitry. Matt Wilmas wrote: > Hi Dmitry, > > - Original Message - > From: "Dmitry Stogov" > Sen

[PHP-DEV] Re: [PATCH] Constant expr folding (again), and other things

2008-07-31 Thread Matt Wilmas
Hi Dmitry, - Original Message - From: "Dmitry Stogov" Sent: Wednesday, July 30, 2008 > Hi Matt, > > does the following code work with your patch? > > function foo() { > static $a = A + B; > var_dump($a); > } > const A = 1; > const B = 2; > foo(); > ?> > > It would be hard to explain why

Re: [PHP-DEV] Making PHP upload hooks available through session variables?

2008-07-31 Thread Rasmus Lerdorf
Johannes Schlüter wrote: Hi, On Wed, 2008-07-30 at 13:46 -0700, Tore B. Krudtaa wrote: As most of you probably know Rasmus Lerdorf made som upload hooks available in PHP 5.2 some long time back. This was great news for those that wanted more control of uploads and/or wanted to give "real time"

[PHP-DEV] Still "zend_mm_heap corrupted" error in PHP 5.2.6

2008-07-31 Thread Santi Saez
Dear Srs, We are having some "zend_mm_heap corrupted" errors followed by a "Segmentation fault (11)" in our Apache2 + PHP 5.2.6 servers. There are few information about this "bug" in internet: * #40479 -> http://bugs.php.net/bug.php?id=40479 * #43295 -> http://bugs.php.net/bug.php?id=43295 I ha

[PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard string.c

2008-07-31 Thread Derick Rethans
On Mon, 28 Jul 2008, Olivier Hill wrote: > Indeed, I forgot to test that case. If I remember correctly, there was > no test cases for that function, so I'll fix this tonight and add some > tests. I didn't see a commit - have you forgotten about it? regards, Derick -- HEAD before 5_3!: http://t