RE: [PHP-DEV] Question about PHP 5.3 MSI

2008-07-09 Thread Haluk AKIN
Thanks a lot Pierre :) Then, I'll go ahead and learn to install it manually. I guess this way I could learn a thing or two as well. Cheers, Haluk -Original Message- From: Pierre Joye [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 2:10 AM To: Haluk AKIN Cc: internals@lists.

Re: [PHP-DEV] Question about PHP 5.3 MSI

2008-07-09 Thread Pierre Joye
hi, On Thu, Jul 10, 2008 at 8:04 AM, Haluk AKIN <[EMAIL PROTECTED]> wrote: > I'm very new to helping PHP development. > > I've tried to install PHP 5.3 from http://snaps.php.net/ . > The msi file is only 0.7MB and it's not working. > > Is this normal for the time being? Is the msi not going to wo

[PHP-DEV] Question about PHP 5.3 MSI

2008-07-09 Thread Haluk AKIN
Hi, I'm very new to helping PHP development. I've tried to install PHP 5.3 from http://snaps.php.net/ . The msi file is only 0.7MB and it's not working. Is this normal for the time being? Is the msi not going to work for a while? Thank you, Haluk

Re: [PHP-DEV] strange autoload behavior

2008-07-09 Thread Gergely Hodicska
Hi Dan, The fact that the class "bar" is not found indicates that your include in the autoload is either totally failing or gathering some other files. Make your life better by specifying the path in the include statement rather than relying on the include_path. You totally missed the point.

Re: [PHP-DEV] strange autoload behavior

2008-07-09 Thread Daniel Convissor
Hi Gergely: > foo.php: > throw new Exception(); > class foo {} > > bar.php: > class bar extends foo {} > > function __autoload($className) > { > include $className.'.php'; > } > function error_handler() > { > throw new Exception(); > } > set_error_handler("error_handler"); > new b

[PHP-DEV] strange autoload behavior

2008-07-09 Thread Gergely Hodicska
Hi! I think I found a bug but before posing it to bugs.php.net I would like to ask your opinion. I think the it is not a planed behavior that some errors doesn't "bubble up" from autoload, but at least the error message is misleading. - foo.php: bar

Re: [PHP-DEV] re2c issues? (Was Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_language_scanner.l)

2008-07-09 Thread Nuno Lopes
I didn't test it, but yeah that should fix the # problem. :-) BTW, I also had other ideas about checking for , etc. tags in the inline HTML scanning part, so the largest chunk of HTML is always grabbed (I'll send the patch in the future; didn't modify anything yet, and it's not related to the s

Re: [PHP-DEV] towards a 5.3 release

2008-07-09 Thread Pierre Joye
hi Lukas, Johannes and all, On Wed, Jul 2, 2008 at 10:00 PM, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote: > Johannes agreed to move me to co-RM status. That's a great news O:-D > 4) windows support > Ever since Edin disappeared it has become clear that we have a bus factor > issue with windows

[PHP-DEV] Re: [PHP-CVS] Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build DSP.README block.template.dsw buildconf.js config.w32 confutils.js projectgen.js template.dsp template.dsw

2008-07-09 Thread Steph Fox
Hi Rob, So we have 60-odd broken files all over CVS to support that; and all I want to do is replace those 60-odd broken files with 4 working files in the win32 directory that will generate 60-odd broken files on request if you really really want them. My only question is, 'how much broken is

[PHP-DEV] Re: [PHP-CVS] Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build DSP.README block.template.dsw buildconf.js config.w32 confutils.js projectgen.js template.dsp template.dsw

2008-07-09 Thread Rob Richards
Hey Steph, Steph Fox wrote: Hi Rob, Actually we both did agree to start updating them in order to keep them until the CMake stuff is integrated. Not while I was logging... or in my email archives... so you must've agreed that in some different channel or mailing list. In fact what you act

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build DSP.README block.template.dsw buildconf.js config.w32 confutils.js projectgen.js template.dsp template.dsw

2008-07-09 Thread Steph Fox
Hi Rob, Actually we both did agree to start updating them in order to keep them until the CMake stuff is integrated. Not while I was logging... or in my email archives... so you must've agreed that in some different channel or mailing list. In fact what you actually said to me was 'don't ta

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-09 Thread Marcus Boerger
Hello Arnaud, if you can provicde the same for HEAD then I'll submit it. And if you're fast enough we might even get it into 5.3.0 :-) Johannes, Lukas, how much time does he have? marcus Wednesday, July 9, 2008, 4:16:20 PM, you wrote: > On Wed, Jul 9, 2008 at 11:18 AM, Marcus Boerger <[

Re: [PHP-DEV] Algorithm Optimizations - string search

2008-07-09 Thread Michal Dziemianko
Hello, I was again in bed for few days:/// Hope this time I have fully recovered:/ Anyways the patch for today is for auxiliary php_charmask function used by trim, str_word_count and addcslashes. It is basically just bunch of if-statements. But it can sped up by reordering them. Original n

[PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build DSP.README block.template.dsw buildconf.js config.w32 confutils.js projectgen.js template.dsp template.dsw

2008-07-09 Thread Stanislav Malyshev
Hi! Rob and Stan said they will or can. Actually, if there's automatic way to do it instead of manual - I'd be much happier :) -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Develo

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build DSP.README block.template.dsw buildconf.js config.w32 confutils.js projectgen.js template.dsp template.dsw

2008-07-09 Thread Rob Richards
Steph Fox wrote: Read the description in the wiki and in the CMake docs. It generates dsp/dsw, sln/vcproj or makefiles for all VC versions (while working as well for unix). Great, cool, shame it'll take a couple of years from inception before we can rely on it day-in day-out. No idea what

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-09 Thread Arnaud Le Blanc
On Wed, Jul 9, 2008 at 11:18 AM, Marcus Boerger <[EMAIL PROTECTED]> wrote: > > Looks very good! Many thanks. > > Best regards, > Marcus > > Thanks :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATH] bug#42663: gzinflate() try to allocate all memory

2008-07-09 Thread Arnaud Le Blanc
Hi, I made a patch [1] for a bug I reported some times ago [2]. gzinflate() passes the Z_FINISH flag to inflate(). This flag may be used when the length of the decoded data is known, so that the data is decoded in one pass. When gzinflate() do not know the decoded length, it grows the buffer an

Re: [PHP-DEV] Closures - Windows build failure

2008-07-09 Thread Matt Wilmas
Hi Scott, Ah thanks, so simple! :-O I should've investigated first since I figured it was probably a Windows-specific file, and not a missing #include, etc. - Original Message - From: "Scott MacVicar" Sent: Wednesday, July 09, 2008 > Sorted now, the new file was missing from the build

Re: [PHP-DEV] Closures - Windows build failure

2008-07-09 Thread Scott MacVicar
Sorted now, the new file was missing from the build files. Scott Matt Wilmas wrote: Hi all, Noticed that PHP 6 snapshots aren't working and got these errors when trying to build: zend_API.obj : error LNK2019: unresolved external symbol _zend_get_closure referenced in function _zend_is_callabl

[PHP-DEV] Closures - Windows build failure

2008-07-09 Thread Matt Wilmas
Hi all, Noticed that PHP 6 snapshots aren't working and got these errors when trying to build: zend_API.obj : error LNK2019: unresolved external symbol _zend_get_closure referenced in function _zend_is_callable_ex zend_execute.obj : error LNK2001: unresolved external symbol _zend_get_closure zend

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-09 Thread Marcus Boerger
Hello Arnaud, Tuesday, July 8, 2008, 3:49:36 PM, you wrote: > Hi, > I have seen a "NEEDS DEVELOPER" flag on the TODO for the "Implement > RecursiveTreeIterator in C" task, so I would like to propose my > implementation [1]. > Currently it follows the PHP implementation, except that it does no

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build DSP.README block.template.dsw buildconf.js config.w32 confutils.js projectgen.js template.dsp template.dsw

2008-07-09 Thread Steph Fox
Read the description in the wiki and in the CMake docs. It generates dsp/dsw, sln/vcproj or makefiles for all VC versions (while working as well for unix). Great, cool, shame it'll take a couple of years from inception before we can rely on it day-in day-out. No idea what you are talking a

[PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build DSP.README block.template.dsw buildconf.js config.w32 confutils.js projectgen.js template.dsp template.dsw

2008-07-09 Thread Pierre Joye
On Wed, Jul 9, 2008 at 10:39 AM, Steph Fox <[EMAIL PROTECTED]> wrote: > > Well surprise, Pierre, > >> - we are working on CMake port which allows exactly that and much > > Good grief, I'm surprised you find the time to do it all in between > haranguing me! What is it exactly that CMake does for IDE

[PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build DSP.README block.template.dsw buildconf.js config.w32 confutils.js projectgen.js template.dsp template.dsw

2008-07-09 Thread Steph Fox
Well surprise, Pierre, - we are working on CMake port which allows exactly that and much Good grief, I'm surprised you find the time to do it all in between haranguing me! What is it exactly that CMake does for IDEs anyway? more? (all VC versions, projects or makefile, ICC, mingw, etc.) -

[PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build DSP.README block.template.dsw buildconf.js config.w32 confutils.js projectgen.js template.dsp template.dsw

2008-07-09 Thread Pierre Joye
On Wed, Jul 9, 2008 at 10:15 AM, Steph Fox <[EMAIL PROTECTED]> wrote: > sfoxWed Jul 9 08:15:46 2008 UTC > > Added files: (Branch: PHP_5_3) >/php-src/win32/buildDSP.README block.template.dsw projectgen.js >template.dsp templat

Re: [PHP-DEV] Re: parent:: forwarding

2008-07-09 Thread Dmitry Stogov
Here, I'm half-agree with you. I would prefer "full forwarding" or "not forwarding at all". Thanks. Dmitry. Stanislav Malyshev wrote: > Hi! > >> With current proposal we can call the same static method from the same >> context with different behavior parent::foo(), self::foo(), A::foo(). > > Th

[PHP-DEV] Re: parent:: forwarding

2008-07-09 Thread Dmitry Stogov
Hi Stas, Note that called_scope is passed only to static methods of __parent__ class. I cannot imagine the use-case with intersecting LSBs in the same class hierarchy. Could you please write the example. Thanks. Dmitry. Stanislav Malyshev wrote: > Hi! > >> Each call to static method of parent c