[PHP-DEV] Re: Scoping of "use" statements and a strategy for 5.3/6.0 release of namespace

2008-09-11 Thread Gregory Beaver
Hi Stan, I realized I missed 2 of your points, response below: Stan Vassilev | FM wrote: > Hi, > > Multiple namespaces per file were introduced to allow certain > workflows in PEAR and frameworks like Symphony which can combine > multiple classes and namespaces in a single package. > > They wor

[PHP-DEV] Re: [PATCH] Re: [PHP-DEV] namespace examples (solving name resolutionorder issues)

2008-09-11 Thread Gregory Beaver
Hi, This is the 2nd of two exchanges that occurred off-list that Stas and I would like to put back on-list. Greg === Stanislav Malyshev wrote: > > Hi! > > >> >> Basically, the patch does 2 things >> >> >> >> 1) resolution order is changed to: >> >> >> >> foo.php: >> >> $a = new foo(); >> >> a) do

[PHP-DEV] Re: [PATCH] Re: [PHP-DEV] namespace examples (solving name resolutionorder issues)

2008-09-11 Thread Gregory Beaver
Stas and I continued our discussion off list, and decided to pop it back on the list, so here is 1 message, another to follow. Greg === Stanislav Malyshev wrote: > > Hi! > > >> >> ...the message you replied to? > > > > I must be missing something here. In my last reply, I raised a number > > of p

[PHP-DEV] [PATCH] add support for functions to use

2008-09-11 Thread Greg Beaver
Hi, I've just finished implementing use for functions. This patch is against PHP_5_3 and can be easily ported to HEAD. I am confident that it is quite mature and have tests in the patch to prove it. the patch is also at http://pear.php.net/~greg/usefunctions.patch.txt This patch implements

Re: [PHP-DEV] Debugging PHP to try and find a fix to my ODBC issue (bug #46050)

2008-09-11 Thread Pierre Joye
On Thu, Sep 11, 2008 at 3:53 PM, Richard Quadling <[EMAIL PROTECTED]> wrote: > Hi. > > I'm trying to debug a problem I'm having with PHP (see bug #46050). > > I've got php5.3-win32-200809111007.zip 11-Sep-2008 15:26 > 12.1M and php5.3-dbgpack-win32-200809111007.zip 11-Sep-2008 15:22 >

Re: [PHP-DEV] Re: Scoping of "use" statements and a strategy for 5.3/6.0 release of namespace

2008-09-11 Thread Greg Beaver
Stan Vassilev | FM wrote: >> Stan Vassilev | FM wrote: >>> Hi, >>> >>> Multiple namespaces per file were introduced to allow certain >>> workflows in PEAR and frameworks like Symphony which can combine >>> multiple classes and namespaces in a single package. >>> >>> They work like this: >>> >>> >>>

Re: [PHP-DEV] Re: Scoping of "use" statements and a strategy for 5.3/6.0 release of namespace

2008-09-11 Thread Stan Vassilev | FM
Stan Vassilev | FM wrote: Hi, Multiple namespaces per file were introduced to allow certain workflows in PEAR and frameworks like Symphony which can combine multiple classes and namespaces in a single package. They work like this: namespace X; ... namespace Y; ... The problem is, no one

[PHP-DEV] Re: Scoping of "use" statements and a strategy for 5.3/6.0 release of namespace

2008-09-11 Thread Greg Beaver
Stan Vassilev | FM wrote: > Hi, > > Multiple namespaces per file were introduced to allow certain > workflows in PEAR and frameworks like Symphony which can combine > multiple classes and namespaces in a single package. > > They work like this: > > > namespace X; > > ... > > namespace Y; > >

[PHP-DEV] Scoping of "use" statements and a strategy for 5.3/6.0 release of namespace

2008-09-11 Thread Stan Vassilev | FM
Hi, Multiple namespaces per file were introduced to allow certain workflows in PEAR and frameworks like Symphony which can combine multiple classes and namespaces in a single package. They work like this: namespace X; ... namespace Y; ... The problem is, no one thought of scoping "use"

Re: [PHP-DEV] Howto build statically linked PHP CGI (without shared libs)

2008-09-11 Thread Jani Taskinen
Antony Dovgal wrote: On 11.09.2008 18:35, Cristian Rodríguez wrote: Jani Taskinen escribió: BEWARE: You need ALL the libraries that PHP links to as static libs for this to work! And that is exactly what may not work ;) static libraries are being retired from linux distributions, this is at l

Re: [PHP-DEV] Howto build statically linked PHP CGI (without shared libs)

2008-09-11 Thread Antony Dovgal
On 11.09.2008 18:35, Cristian Rodríguez wrote: Jani Taskinen escribió: BEWARE: You need ALL the libraries that PHP links to as static libs for this to work! And that is exactly what may not work ;) static libraries are being retired from linux distributions, this is at least the case of openS

Re: [PHP-DEV] Howto build statically linked PHP CGI (without shared libs)

2008-09-11 Thread Cristian Rodríguez
Jani Taskinen escribió: > BEWARE: You need ALL the libraries that PHP links to as static libs for > this to work! And that is exactly what may not work ;) static libraries are being retired from linux distributions, this is at least the case of openSUSE, Fedora and probably others. -- "A comp

[PHP-DEV] Debugging PHP to try and find a fix to my ODBC issue (bug #46050)

2008-09-11 Thread Richard Quadling
Hi. I'm trying to debug a problem I'm having with PHP (see bug #46050). I've got php5.3-win32-200809111007.zip 11-Sep-2008 15:26 12.1M and php5.3-dbgpack-win32-200809111007.zip 11-Sep-2008 15:22 4.7M from http://snaps.php.net/win32 But the PDB files are not matching : D:\Personal Fi

Re: [PHP-DEV] PHP 5.3 Windows builds, pdo_sqlite

2008-09-11 Thread Daniel Henning
Hi, >Are you using the PHP 5.3 builds for VC9 from windows.php.net - but the >apachelounge build of the apache server Yes. > using the alpha2 for vc9 domdocument works for me Thats right, CLI and vc6 are fine with xml-support. Regards, Daniel -- PHP Internals - PHP Runtime Development Mail

Re: [PHP-DEV] PHP 5.3 Windows builds, pdo_sqlite

2008-09-11 Thread Pierre Joye
hi Daniel, On Thu, Sep 11, 2008 at 12:35 PM, Daniel Henning <[EMAIL PROTECTED]> wrote: > Hi Pierre, > >>Scott is working on the VC6 problem with libsqlite3. In the mean time >>you can use http://apachelounge.com builds for apache as they use VC9. > > That was one good hint with apachelounge. SQLit

Re: [PHP-DEV] PHP 5.3 Windows builds, pdo_sqlite

2008-09-11 Thread Elizabeth M Smith
Daniel Henning wrote: > Hi Pierre, > >> Scott is working on the VC6 problem with libsqlite3. In the mean time >> you can use http://apachelounge.com builds for apache as they use VC9. > > That was one good hint with apachelounge. SQLite is working know with VC9 > build but testing is still not

Re: [PHP-DEV] PHP 5.3 Windows builds, pdo_sqlite

2008-09-11 Thread Daniel Henning
Hi Pierre, >Scott is working on the VC6 problem with libsqlite3. In the mean time >you can use http://apachelounge.com builds for apache as they use VC9. That was one good hint with apachelounge. SQLite is working know with VC9 build but testing is still not possible on Windows (at least for my

Re: [PHP-DEV] 5.3 Backwards Compatibility

2008-09-11 Thread Marcus Boerger
Hello Lester, Wednesday, September 10, 2008, 7:43:25 PM, you wrote: > Marcus Boerger wrote: >> Hello Lester, >>> Another major concern here since maintaining BC with *PHP4* is still an >>> unfortunate current requirement in the field is what happens when PEAR >>> actually uses namespace and oth

Re: [PHP-DEV] PHP 5.3 Windows builds, pdo_sqlite

2008-09-11 Thread Pierre Joye
hi, On Thu, Sep 11, 2008 at 8:35 AM, Daniel Henning <[EMAIL PROTECTED]> wrote: > Hi Scott, > >>This should go on the main bug tracker rather in PECL, there isn't a >>seperate release on PECL any more for PDO extensions. > > Ok. It was a bit confusing cause of some PDO-drivers which are still activ

Re: [PHP-DEV] buildconf fails on current HEAD

2008-09-11 Thread Antony Dovgal
On 11.09.2008 12:01, Raghubansh wrote: Thanks Jani, I have using the same machine with Autoconf V2.59 since 2007 and it use to work :(. I shall get the autoconf-2.13. installed and check. thanks. Can't see any problems with autoconf 2.61. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtim

Re: [PHP-DEV] buildconf fails on current HEAD

2008-09-11 Thread Raghubansh
Thanks Jani, I have using the same machine with Autoconf V2.59 since 2007 and it use to work :(. I shall get the autoconf-2.13. installed and check. thanks. with Regards, Raghubansh On Thu, Sep 11, 2008 at 1:18 PM, Jani Taskinen <[EMAIL PROTECTED]> wrote: > Raghubansh wrote: > >> Hi All, >> >>

Re: [PHP-DEV] Howto build statically linked PHP CGI (without shared libs)

2008-09-11 Thread Jani Taskinen
Santi Saez wrote: Jani Taskinen escribió: Wrong: --disable-shared --enable-static Might or might not work, no guarantees. Dear Jani, Thanks for your reply, I have tried with a very simple: # ./configure --disable-all --disable-shared --enable-static But, generated binary uses shared libs ;

Re: [PHP-DEV] buildconf fails on current HEAD

2008-09-11 Thread Jani Taskinen
Raghubansh wrote: Hi All, I am trying to build PHP6 (checked out a while from CVS - HEAD) and found that ./buildconf fails. Following are the failure messages : [EMAIL PROTECTED] php6]$ ./buildconf using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.5

Re: [PHP-DEV] PHP mixin RFC

2008-09-11 Thread George Antoniadis
Personally I think that traits is a lot safer than mixing classes.There will be a lot of things that will need to be considered in order to make it logical for developers to use. Quote from the RFC: "Any method or property that already exists in the class or parent/extended class cannot be changed

[PHP-DEV] buildconf fails on current HEAD

2008-09-11 Thread Raghubansh
Hi All, I am trying to build PHP6 (checked out a while from CVS - HEAD) and found that ./buildconf fails. Following are the failure messages : [EMAIL PROTECTED] php6]$ ./buildconf using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: Yo