Re: [PHP-DEV] Documenting the Zend2 extension API

2007-05-26 Thread Gwynne Raskind
On May 8, 2007, at 2:59 PM, Philip Olson wrote: Hi all, just wanted to give you a heads-up that I'm still working on this project; it took me awhile to get the tools properly set up, but I'm plugging away at DocBook XML now, and I'll have a few patches to send in soon, I think. Thanks for al

Re: [PHP-DEV] late static binding

2007-05-26 Thread Ken Stanley
On 5/26/07, Mike Lively <[EMAIL PROTECTED]> wrote: It appears that all you are suggesting that is different from what has been discussed previously is purely syntactical. In that regard I would have to say that while neither this:: or static:: are jaw-droppers, child:: seems somewhar counter-int

[PHP-DEV] RE: Fixing PECL + Core

2007-05-26 Thread Gaetano Giunta
Just to add my experience (even though the original poster explicitly asked for single extensions not to be mentioned) from a not-completely-unrelated problem: some extensions have an "internal" version number that is not always updated when the userland API of said extension is changed - see e

Re: [PHP-DEV] late static binding

2007-05-26 Thread Mike Lively
Ken Stanley wrote: I've been researching the current status of late static binding, and I came across this mailing list with a few topics on this subject. After doing the reading, I had a couple of questions that maybe one of the experienced parties involved could help clear up for me. Basicall

[PHP-DEV] late static binding

2007-05-26 Thread Ken Stanley
Hi all! I've been researching the current status of late static binding, and I came across this mailing list with a few topics on this subject. After doing the reading, I had a couple of questions that maybe one of the experienced parties involved could help clear up for me. Basically, I am wonde

Re: [PHP-DEV] Re: Merging patches to HEAD [ was: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/standard html.c html.h /ext/standard/tests/strings htmlentities18.phpt ]

2007-05-26 Thread Steph
You ask and you shall receive :-) Thanks. I guess :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Still having lstat trouble

2007-05-26 Thread Brian Moon
Arnold Daniels wrote: I found my problem as well. I am running apache2 prefork, but the headers for apache2-mpm ware installed instead. I guess Ubuntu messed up with the distro update. This explains it all. Our Apache 2 servers uses worker mpm. Gentoo builds the cli with zts too. That is w

Re: [PHP-DEV] Re: Still having lstat trouble

2007-05-26 Thread Arnold Daniels
I found my problem as well. I am running apache2 prefork, but the headers for apache2-mpm ware installed instead. I guess Ubuntu messed up with the distro update. Thanks for all your help, Arnold Tijnema wrote: Ok, I think I found the problem, as Oliver pointed me on something in the thread

Re: [PHP-DEV] Re: Still having lstat trouble

2007-05-26 Thread Tijnema
Ok, I think I found the problem, as Oliver pointed me on something in the thread titled "virtual_file_ex/filetype". When PHP is build with --enable-maintainer-zts mode, then this lstat, and some others too, is broken. I have build 2 PHP installations(PHP-5.2.3RC1), Both with the same configuration

Re: [PHP-DEV] $var::$static

2007-05-26 Thread Arnold Daniels
Hi again, I'm aware that you can do `$a = $group . '_' . $fn; $a();`, but you can do `$b = $group . '_' . $var; echo $$b;` as well as `echo ${$group . '_' . $var}`. It's a mater of style, not if there is any way to get it done. Yes I've read about 'static::' some time ago, but forgot about it

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-26 Thread Edin Kadribasic
The new snaps site is up and running. I want to thank John Mertic for the nice work the design and everyone for coming with helpful suggestions. Edin P.S. this file is in the cvs as systems/snaps_index.php so any modification suggestions would be best sent as patches to this file. Edin Kadriba

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-26 Thread Edin Kadribasic
Way ahead of you :) http://snaps.php.net/newsnaps.php Edin John Mertic wrote: > On 5/26/07, Raghubansh <[EMAIL PROTECTED]> wrote: >> Would like to see the branch name 4.4.x-dev , 5.5.x-dev, etc. and not >> PHP4, PHP5. > > Changed the titles back. > > Any other comments on this version > (htt

Re: [PHP-DEV] Re: Merging patches to HEAD [ was: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/standard html.c html.h /ext/standard/tests/strings htmlentities18.phpt ]

2007-05-26 Thread Steph
Ilia, hi, You said at one point (off-list) that it would be a five-minute task to make a list of the patches that haven't been merged to HEAD. It isn't for me, and I've only been recording actual bug fixes in the weeklies. Do you have five minutes spare to create that list and either stick

Re: [PHP-DEV] Merging patches to HEAD [ was: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/standard html.c html.h /ext/standard/tests/strings htmlentities18.phpt ]

2007-05-26 Thread Ilia Alshanetsky
Before you start mumbling about what is acceptable and unacceptable perhaps you should try contributing something to the language aside from the left field commentary. On 26-May-07, at 6:53 AM, Robin Ericsson wrote: On 5/26/07, Edin Kadribasic <[EMAIL PROTECTED]> wrote: Ilia, I would reall

[PHP-DEV] Re: Merging patches to HEAD [ was: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/standard html.c html.h /ext/standard/tests/strings htmlentities18.phpt ]

2007-05-26 Thread Ilia Alshanetsky
On 26-May-07, at 6:51 AM, Edin Kadribasic wrote: Ilia, I would really like to know why you are not merging patches to head? Unfortunately I don't have as much time to spend on PHP as I'd like and I focus my attention on the aspects of PHP I use and can tests using the dev environments I

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-26 Thread John Mertic
On 5/26/07, Raghubansh <[EMAIL PROTECTED]> wrote: Would like to see the branch name 4.4.x-dev , 5.5.x-dev, etc. and not PHP4, PHP5. Changed the titles back. Any other comments on this version (http://files.edin.dk/php/installer/snaps-html/index-phptemplate.html), or should we go ahead and put

[PHP-DEV] virtual_file_ex/filetype

2007-05-26 Thread Oliver Block
Hello, the function virtual_file_ex (TSRM/tsrm_virtual_cwd.c:1011) resolves links to its link target. This may lead to problems when using filtype() on php compiled with --enable-maintainer-zts. You can see the arguments passed to virual_lstat as follows: Breakpoint 1, virtual_lstat (path=0xb

Re: [PHP-DEV] $var::$static

2007-05-26 Thread Gregory Beaver
Arnold Daniels wrote: > Hi, > > I agree that $this::$var isn't really logical, since $this is an object > and not a class name. But I do not see why $class::$var shouldn't work, > or $class::$method() for that method. You can also do $function(). > > Also I want to suggest that brackets can be us

[PHP-DEV] comment to Bug #41480

2007-05-26 Thread Carsten Wiedmann
Hello all, i know, your interests in bugs on Window is not very high... (see the zero answers to my mail about Bug #41408)... Now I have a comment to the Bug #41408 [1]. With this code: | $path1 = 'E:\\webroot\\'; | $path2 = 'E:\\webroot\\index.php'; | | var_dump(realpath($path1)); | var_dump

Re: [PHP-DEV] $var::$static

2007-05-26 Thread Arnold Daniels
Hi, I agree that $this::$var isn't really logical, since $this is an object and not a class name. But I do not see why $class::$var shouldn't work, or $class::$method() for that method. You can also do $function(). Also I want to suggest that brackets can be used more freely. Currently you c

Re: [PHP-DEV] $var::$static

2007-05-26 Thread Bart de Boer
I seem to have been a bit too hasty with my previous reply... You meant it wouldn't be able to access the static vars of the inherited Base class?... I think that's a different feature regarding the static access mechanism currently already in place... I'm only suggesting the ability to refer

Re: [PHP-DEV] $var::$static (and $className::$staticVar)

2007-05-26 Thread Bart de Boer
I understand... My suggestion would be to map $this to the class name (of the current instance) if the Scope Resolution Operator '::' is used... Marco Kaiser wrote: Hi, this doesnt work because static vars are bound to his class and are not inherited by a child class. maybe this would be wo

Re: [PHP-DEV] $var::$static

2007-05-26 Thread Marco Kaiser
Hi, this doesnt work because static vars are bound to his class and are not inherited by a child class. maybe this would be work with php6 or a other 5.x version. (Same behavior like the singleton pattern getInstance() abstract class stuff) -- Marco > Hi all, > > I'd like to be able to do the fol

[PHP-DEV] $var::$static

2007-05-26 Thread Bart de Boer
Hi all, I'd like to be able to do the following: ...in other words: I'd like to be able to access static class variables from inside an instance of the Base and/or Child classes. I'd also like to be able to access them dynamically. ($className::$variable) The only way to do this at the m

Re: [PHP-DEV] Merging patches to HEAD [ was: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/standard html.c html.h /ext/standard/tests/strings htmlentities18.phpt ]

2007-05-26 Thread Edin Kadribasic
Robin Ericsson wrote: > On 5/26/07, Edin Kadribasic <[EMAIL PROTECTED]> wrote: >> Ilia, I would really like to know why you are not merging patches to >> head? >> >> I think this is an unacceptable practice that should be stopped right >> away. > > It's should be even more unacceptable that people

Re: [PHP-DEV] Merging patches to HEAD [ was: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/standard html.c html.h /ext/standard/tests/strings htmlentities18.phpt ]

2007-05-26 Thread Robin Ericsson
On 5/26/07, Edin Kadribasic <[EMAIL PROTECTED]> wrote: Ilia, I would really like to know why you are not merging patches to head? I think this is an unacceptable practice that should be stopped right away. It's should be even more unacceptable that people development on the php 5 branch when t

[PHP-DEV] Merging patches to HEAD [ was: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/standard html.c html.h /ext/standard/tests/strings htmlentities18.phpt ]

2007-05-26 Thread Edin Kadribasic
Ilia Alshanetsky wrote: > > On 25-May-07, at 10:11 AM, Hannes Magnusson wrote: > >> On 5/22/07, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: >>> iliaa Tue May 22 12:37:01 2007 UTC >>> >>> Added files: (Branch: PHP_5_2) >>> /php-src/ext/standard/tests/strings htmlent

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-26 Thread Raghubansh
On 5/26/07, John Mertic <[EMAIL PROTECTED]> wrote: Hi Chris, I can see where you are coming from. I put together another version of this that entirely uses the PHP CSS templates: http://files.edin.dk/php/installer/snaps-html/index-phptemplate.html New one looks better, I would prefer this.

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-26 Thread Michael Wallner
John Mertic wrote: > Hi Chris, > > I can see where you are coming from. I put together another version of > this that entirely uses the PHP CSS templates: > > http://files.edin.dk/php/installer/snaps-html/index-phptemplate.html I like it, but how about using "BZip2 Tarball" and "Zip Package" etc

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-26 Thread M. Sokolewicz
Hi John, I actually kind of liked the branch names instead of just "PHP4/PHP5". "PHP5" doesn't mean squat to me, I'd prefer to see the branch names as they barely take any more space and yet provide a lot more info. - Tul John Mertic wrote: Hi Chris, I can see where you are coming from. I