[PHP-DEV] PHP 5.2.4 Released

2007-08-30 Thread Ilia Alshanetsky
The PHP development team would like to announce the immediate availability of PHP 5.2.4. This release focuses on improving the stability of the PHP 5.2.X branch with over 120 various bug fixes in addition to resolving several low priority security bugs. All users of PHP are encouraged to up

[PHP-DEV] CVS Account Request: kuntakinte14

2007-08-30 Thread Edward Callender
pecl/intl project -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] disallow arguments by ref in magic methods

2007-08-30 Thread Stanislav Malyshev
The method call doesn't work in this case, it fails with fatal error, just try the example I posted. Ah, missed that part. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Ma

Re: [PHP-DEV] [PATCH] disallow arguments by ref in magic methods

2007-08-30 Thread Antony Dovgal
On 30.08.2007 23:27, Stanislav Malyshev wrote: >> Expected result of this code is: >> Fatal error: Method test::__set() cannot take arguments by reference in %s >> on line %d > > I'd make it a warning. As far as I can see, declaring __set with > references doesn't do anything bad, just reference

Re: [PHP-DEV] [PATCH] disallow arguments by ref in magic methods

2007-08-30 Thread Stanislav Malyshev
Expected result of this code is: Fatal error: Method test::__set() cannot take arguments by reference in %s on line %d I'd make it a warning. As far as I can see, declaring __set with references doesn't do anything bad, just reference thing doesn't work (correct me here if I'm wrong). So why

Re: [PHP-DEV] PHP6 - fixed mysql/mysqlnd/mysqli/pdo_mysql

2007-08-30 Thread BuildSmart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Aug 30, 2007, at 03:18:34, Jani Taskinen wrote: Perhaps you could send the diff to the list, or better yet, an url pointing to the place you uploaded the diff. And note: it should be unified diff. (diff -u) --Jani

Re: [PHP-DEV] PHP6 - rar extension

2007-08-30 Thread BuildSmart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yeah, I had just built something else using gcc 2.95 and forgot to switch back to 4.0, it sailed through giving it a warning and not an error. On Aug 30, 2007, at 06:23:23, Antony Dovgal wrote: On 30.08.2007 14:08, BuildSmart wrote: -BEGI

[PHP-DEV] PDO contact

2007-08-30 Thread Nicolas Boiteux
Hello, I'm leading the PhpMyObject (PMO) Project: official website: http://pmo.developpez.com It's an object abstraction layer that permits to convert data from PDO to unitary PHP object (not row). Like the project progressed well and that there are many possibilities, I wish to know who i c

RE: [PHP-DEV] [PATCH] disallow arguments by ref in magic methods

2007-08-30 Thread Dmitry Stogov
I like this patch. It prevents stupid errors. ZE always passes arguments to magic methods by value so they never may be modified. Thanks. Dmitry. > -Original Message- > From: Antony Dovgal [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 30, 2007 4:56 PM > To: php-dev > Subject: [PHP-

Re: [PHP-DEV] [PATCH] disallow arguments by ref in magic methods

2007-08-30 Thread Richard Quadling
On 30/08/2007, Antony Dovgal <[EMAIL PROTECTED]> wrote: > Hello. > > I'd like to commit these two patches (for HEAD and 5_2 appropriately). > The patches disallow declaring any magic methods as accepting arguments by > ref (which makes no sense anyway). Why not. Sure, on __set()/__get()/__unset()

[PHP-DEV] [PATCH] disallow arguments by ref in magic methods

2007-08-30 Thread Antony Dovgal
Hello. I'd like to commit these two patches (for HEAD and 5_2 appropriately). The patches disallow declaring any magic methods as accepting arguments by ref (which makes no sense anyway). Example: $name = 1; ?> Expected result of this code is: Fatal error: Method test::__set() cannot take argum

Re: [PHP-DEV] PHP6 - rar extension

2007-08-30 Thread Antony Dovgal
`cvs up` both HEAD and PECL/rar, I fixed the build. There were two separate problems: http://news.php.net/php.zend-engine.cvs/5979 http://news.php.net/php.pecl.cvs/8490 On 30.08.2007 14:23, Antony Dovgal wrote: > On 30.08.2007 14:08, BuildSmart wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Has

Re: [PHP-DEV] PHP6 - rar extension

2007-08-30 Thread Antony Dovgal
On 30.08.2007 14:08, BuildSmart wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > /php-src/ext/rar/rar.cpp: In function 'int zm_startup_rar(int, int)': > /php-src/ext/rar/rar.cpp:677: error: invalid conversion from 'void*' > to 'UChar*' > > ext/rar/rar.cpp: > 673:PHP_MINIT_FUNCTION(r

Re: [PHP-DEV] PHP6 - rar extension

2007-08-30 Thread Antony Dovgal
What was the problem again? On 30.08.2007 09:32, Pierre wrote: > On 8/30/07, BuildSmart <[EMAIL PROTECTED]> wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> >> On Aug 29, 2007, at 23:15:26, BuildSmart wrote: >> >> > -BEGIN PGP SIGNED MESSAGE- >> > Hash: SHA1 >> > >> > I've

Re: [PHP-DEV] PHP6 - fixed mysql/mysqlnd/mysqli/pdo_mysql

2007-08-30 Thread Derick Rethans
On Wed, 29 Aug 2007, BuildSmart wrote: > I've fixed the "mysql / mysqlnd / mysqli / pdo_mysql" extensions, > mostly minor issues and oversights, I tested in RH9, Mac OSX 10.3.9, > Mac OSX 10.4.0, Mac OSX 10.4.8 and Mac OSX 10.4.10(x86 and ppc) with > mysql 4.1.10, 4.1.13 and 5.0.24. > > I've got