Re: [PHP-DEV] some notes about traits

2011-11-16 Thread Richard Quadling
On 16 November 2011 00:17, Rasmus Schultz ras...@mindplay.dk wrote: Here's a better example of something useful that actually works:  trait Accessors  {    public function __get($name)    {      return $this-{'get'.$name}();    }    public function __set($name, $value)    {      

[PHP-DEV] pecl sqlite

2011-11-16 Thread Ferenc Kovacs
Hi. We moved the sqlite ext from core to pecl with 5.4, but the http://pecl.php.net/package/sqlite still advertises using ext/sqlite instead. Is that intentional? The problem is, that for 5.3, the prefered way to use the sqlite ext is to use the one bundled in core, however for 5.4 and trunk, you

Re: [PHP-DEV] session_regenerate_id() not replacing Set-Cookie header

2011-11-16 Thread Michael Wallner
On Tue, 15 Nov 2011 23:51:25 +0100, Patrick ALLAERT wrote: As per rfc6265, it seems incorrect: Servers SHOULD NOT include more than one Set-Cookie header field in the same response with the same cookie-name. @mike Since you are the one who introduced the comment, you might be the best

Re: [PHP-DEV] session_regenerate_id() not replacing Set-Cookie header

2011-11-16 Thread Ferenc Kovacs
On Wed, Nov 16, 2011 at 12:12 PM, Michael Wallner m...@php.net wrote: On Tue, 15 Nov 2011 23:51:25 +0100, Patrick ALLAERT wrote: As per rfc6265, it seems incorrect: Servers SHOULD NOT include more than one Set-Cookie header field in the same response with the same cookie-name. @mike

Re: [PHP-DEV] pecl sqlite

2011-11-16 Thread Felipe Pena
2011/11/16 Ferenc Kovacs tyr...@gmail.com: Hi. We moved the sqlite ext from core to pecl with 5.4, but the http://pecl.php.net/package/sqlite still advertises using ext/sqlite instead. Is that intentional? The problem is, that for 5.3, the prefered way to use the sqlite ext is to use the

Re: [PHP-DEV] some notes about traits

2011-11-16 Thread Stefan Marr
Hi Rasmus: On 16 Nov 2011, at 01:17, Rasmus Schultz wrote: I knew about the traits features in Scala, and I guess I assumed this would be similar - not so. Right, they are not the same. PHP's traits are much closer to the notion of traits introduced in the Smalltalk world, while Scala's

Re: [PHP-DEV] pecl sqlite

2011-11-16 Thread Ferenc Kovacs
On Wed, Nov 16, 2011 at 12:53 PM, Felipe Pena felipe...@gmail.com wrote: 2011/11/16 Ferenc Kovacs tyr...@gmail.com: Hi. We moved the sqlite ext from core to pecl with 5.4, but the http://pecl.php.net/package/sqlite still advertises using ext/sqlite instead. Is that intentional? The

[PHP-DEV] Re: [PECL-DEV] Re: [PHP-DEV] pecl sqlite

2011-11-16 Thread Derick Rethans
On Wed, 16 Nov 2011, Ferenc Kovacs wrote: On Wed, Nov 16, 2011 at 12:53 PM, Felipe Pena felipe...@gmail.com wrote: 2011/11/16 Ferenc Kovacs tyr...@gmail.com: Hi. We moved the sqlite ext from core to pecl with 5.4, but the http://pecl.php.net/package/sqlite still advertises using

Re: [PHP-DEV] pecl sqlite

2011-11-16 Thread Johannes Schlüter
On Wed, 2011-11-16 at 13:35 +0100, Ferenc Kovacs wrote: On Wed, Nov 16, 2011 at 12:53 PM, Felipe Pena felipe...@gmail.com wrote: 2011/11/16 Ferenc Kovacs tyr...@gmail.com: Hi. We moved the sqlite ext from core to pecl with 5.4, but the http://pecl.php.net/package/sqlite still

Re: [PHP-DEV] pecl sqlite

2011-11-16 Thread Philip Olson
On Nov 16, 2011, at 5:34 AM, Johannes Schlüter wrote: On Wed, 2011-11-16 at 13:35 +0100, Ferenc Kovacs wrote: On Wed, Nov 16, 2011 at 12:53 PM, Felipe Pena felipe...@gmail.com wrote: 2011/11/16 Ferenc Kovacs tyr...@gmail.com: Hi. We moved the sqlite ext from core to pecl with 5.4, but

Re: [PHP-DEV] pecl sqlite

2011-11-16 Thread Johannes Schlüter
On Wed, 2011-11-16 at 06:00 -0800, Philip Olson wrote: We need to make pecl/sqlite work with 5.4, as currently it does not. I forget the details (and the related patch) but did work on one with Johannes many months ago. The last step (which failed) was to get pdo_sqlite2 to work with the

[PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Christopher Jones
Hi Laruence, Is there anyway to make the PHP CLI webserver tests more resilient? They are failing on gcov.php.net and are high on the list of user test reports: http://gcov.php.net/viewer.php?version=PHP_HEADfunc=tests http://qa.php.net/reports/?version=5.4.0RC2-dev Chris -- Email:

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Klaus Silveira
I'll try to help Laruence improve the test coverage. If you guys have any suggestion for test starting point, let me know. On Wed, Nov 16, 2011 at 5:41 PM, Christopher Jones christopher.jo...@oracle.com wrote: Hi Laruence, Is there anyway to make the PHP CLI webserver tests more resilient?

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Ferenc Kovacs
\o/ You could also ask Alex Shein, he was volunteered to update the http tests to use our new embedded developer server instead. On Wed, Nov 16, 2011 at 9:15 PM, Klaus Silveira klaussilve...@php.netwrote: I'll try to help Laruence improve the test coverage. If you guys have any suggestion for

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Alexey Shein
2011/11/17 Ferenc Kovacs tyr...@gmail.com: \o/ You could also ask Alex Shein, he was volunteered to update the http tests to use our new embedded developer server instead. Hi, I'm still into that, but unfortunately is very busy at work :( server-tests.php is a big outdated mess, and I still

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Ferenc Kovacs
On Wed, Nov 16, 2011 at 9:31 PM, Alexey Shein con...@gmail.com wrote: 2011/11/17 Ferenc Kovacs tyr...@gmail.com: \o/ You could also ask Alex Shein, he was volunteered to update the http tests to use our new embedded developer server instead. Hi, I'm still into that, but unfortunately

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Alexey Shein
2011/11/17 Ferenc Kovacs tyr...@gmail.com: On Wed, Nov 16, 2011 at 9:31 PM, Alexey Shein con...@gmail.com wrote: 2011/11/17 Ferenc Kovacs tyr...@gmail.com: \o/ You could also ask Alex Shein, he was volunteered to update the http tests to use our new embedded developer server instead.

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Ferenc Kovacs
On Wed, Nov 16, 2011 at 10:09 PM, Alexey Shein con...@gmail.com wrote: 2011/11/17 Ferenc Kovacs tyr...@gmail.com: On Wed, Nov 16, 2011 at 9:31 PM, Alexey Shein con...@gmail.com wrote: 2011/11/17 Ferenc Kovacs tyr...@gmail.com: \o/ You could also ask Alex Shein, he was volunteered

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Christopher Jones
On 11/16/2011 01:09 PM, Alexey Shein wrote: 2011/11/17 Ferenc Kovacstyr...@gmail.com: On Wed, Nov 16, 2011 at 9:31 PM, Alexey Sheincon...@gmail.com wrote: 2011/11/17 Ferenc Kovacstyr...@gmail.com: \o/ You could also ask Alex Shein, he was volunteered to update the http tests to use our

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Alexey Shein
2011/11/17 Christopher Jones christopher.jo...@oracle.com: On 11/16/2011 01:09 PM, Alexey Shein wrote: 2011/11/17 Ferenc Kovacstyr...@gmail.com: On Wed, Nov 16, 2011 at 9:31 PM, Alexey Sheincon...@gmail.com  wrote: 2011/11/17 Ferenc Kovacstyr...@gmail.com: \o/ You could also ask Alex

[PHP-DEV] Re: PHP CLI webserver test failures

2011-11-16 Thread Laruence
Hi: thanks, I will look at it, the cli sever test all failed in trunk, but parts in branch maybe due to the port competing. thanks On Thu, Nov 17, 2011 at 3:41 AM, Christopher Jones christopher.jo...@oracle.com wrote: Hi Laruence, Is there anyway to make the PHP CLI webserver

Re: [PHP-DEV] some notes about traits

2011-11-16 Thread Rasmus Schultz
who can hook me up with a login, so I can contribute to the documentation? Here's a better example of something useful that actually works: Assuming your example is OK, you could edit the doc and submit it as a patch at https://edit.php.net.

Re: [PHP-DEV] some notes about traits

2011-11-16 Thread Christopher Jones
On 11/16/11 6:12 PM, Rasmus Schultz wrote: who can hook me up with a login, so I can contribute to the documentation? You can do it as an anonymous user on edit.php.net. Join in the chat so you can prod someone to merge your changes - you might also need to remind the doc mail list. Once