Re: [PHP-DEV] Proposed feature for json_encode()

2007-11-30 Thread Stanislav Malyshev
I can't because I don't know of any successful vectors *currently*. I also would have sworn that echoing htmlentified data was safeuntil I came across a browser where it wasn't. So that's what I wanted to understand, because if we add this feature, we should give some explanation on when

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread chris#
On Fri, 30 Nov 2007 10:58:01 -0500, Daniel Brown [EMAIL PROTECTED] wrote: On Nov 30, 2007 10:37 AM, Jay Pipes [EMAIL PROTECTED] wrote: [snip] With PHP, the situation is different. The foundation of PHP was laid by Rasmus Lerdorf together with a large group of independent developers,

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Edward Z. Yang
Dan Scott wrote: So an author can and should maintain copyright over the material they contribute, but they contribute it under a license that specifies the terms under which that material can be used (the PHP License, for this project) by others. Well, in theory, at least. Many open source

Re: [PHP-DEV] private properties ....

2007-11-30 Thread Etienne Kneuss
Hello, On Nov 30, 2007 5:24 PM, Jingcheng Zhang [EMAIL PROTECTED] wrote: Hi Etienne, Is private only an access limiter between classes?If so, I think private properties and methods should be OK to be extended into the child class, but currently that's not the case, You're describing

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Steph Fox
Hi Johannes, On a side-note: It's not only about peer review - without signing the CLA one might still read the code and send reports to the maintainers. I was responding to Richard when I wrote that. He was operating under the assumption that php.net have control over what goes into a CLA'd

Re: [PHP-DEV] private properties ....

2007-11-30 Thread Johannes Schlüter
Hi, On Sat, 2007-12-01 at 00:24 +0800, Jingcheng Zhang wrote: Hi Etienne, Is private only an access limiter between classes?If so, I think private properties and methods should be OK to be extended into the child class, but currently that's not the case, and there is also a bug here,

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Johannes Schlüter
Hi, On Thu, 2007-11-29 at 21:16 +0200, Jacques Marneweck wrote: We do have peer-review after all. Not on CLA'd code we don't. Steph the CLA seems to just relate to the docbook xml specifications for PDO. If the spec is CLAd what will the implementation be? Do you expect a spec needs

[PHP-DEV] CVS Account Request: abdulah

2007-11-30 Thread Abdullah E. Almehmadi
Translate documents as well -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Proposed feature for json_encode()

2007-11-30 Thread Sara Golemon
Stanislav Malyshev wrote: You're absolutely correct that this won't save us from brain-dead engineers, what it will save us from is broken browsers which misinterpret otherwise legitimate data and get broken out of their proper context. (Yes, I've seen browsers do exactly this, and you can

Re: [PHP-DEV] private properties ....

2007-11-30 Thread Jingcheng Zhang
Hi Etienne, Is private only an access limiter between classes?If so, I think private properties and methods should be OK to be extended into the child class, but currently that's not the case, and there is also a bug here, consider the following example: ?php class P { private $name =

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Daniel Brown
On Nov 30, 2007 10:13 AM, Derick Rethans [EMAIL PROTECTED] wrote: On Fri, 30 Nov 2007, Dan Scott wrote: In that case, you should: 1) Have a legal entity that you can assign copyright to (PHP Group and PHP Documentation Group are not legal entities and therefore cannot hold copyright)

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Derick Rethans
On Fri, 30 Nov 2007, Dan Scott wrote: In that case, you should: 1) Have a legal entity that you can assign copyright to (PHP Group and PHP Documentation Group are not legal entities and therefore cannot hold copyright) and Actually, I think the issue is more that: However, a ~couple

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Dan Scott
On 30/11/2007, Marcus Boerger [EMAIL PROTECTED] wrote: Hello Philip, for the future please do not accept any copyright other than The PHP Group or The PHP documentation Grroup. Thanks. Otherwise comanies are going to own PHP piece by piece. marcus Thursday, November 29, 2007, 9:59:08

Re: [PHP-DEV] private properties ....

2007-11-30 Thread Etienne Kneuss
Hello, On 11/30/07, Marco Kaiser [EMAIL PROTECTED] wrote: Conclusion: 1. Why i can access a private property from a different class instance (name) but same type ? $aa and $bb are instances of aaa but not the same. 2. This doesnt works if cc is a own class with same property name (ie.

[PHP-DEV] private properties ....

2007-11-30 Thread Marco Kaiser
Hi List, ?php error_reporting(E_ALL); class aaa { protected $_parent = null; private $_value = 0; public function setValue($value) { $this-_value = $value; } public function getValue) { return $this-_value; } public function

Re: [PHP-DEV] private properties ....

2007-11-30 Thread Jingcheng Zhang
Well, yes, private denies accessing from other class(including its child class), this is what encapsulation means. But when refering to inheritance, why forbids private properties/methods being *extended* to child classes? This is what I mean, as the following example: ?php class p {

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Marcus Boerger
Hello Rasmus, the same applies to me as I pointed out to Richard already (as an example to Stephs argument). An NDA or CLA usually means that you can talk about stuff you do that contains patents and all that. Now we are not intersted in patents at all. And the solutiuon is easy keep your

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Hannes Magnusson
On Nov 30, 2007 10:43 AM, Marcus Boerger [EMAIL PROTECTED] wrote: Hello Philip, for the future please do not accept any copyright other than The PHP Group or The PHP documentation Grroup. Thanks. Otherwise comanies are going to own PHP piece by piece. It was never accepted. The docs, with

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Marcus Boerger
Hello Philip, for the future please do not accept any copyright other than The PHP Group or The PHP documentation Grroup. Thanks. Otherwise comanies are going to own PHP piece by piece. marcus Thursday, November 29, 2007, 9:59:08 PM, you wrote: On Nov 29, 2007, at 11:26 AM, Steph Fox

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Jay Pipes
Dan Scott wrote: On 29/11/2007, Daniel Brown [EMAIL PROTECTED] wrote: On Nov 29, 2007 5:56 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: No, it is not more important. 99.9% of PHP users don't care what process we have, they care about how well PHP works for them. If we had best process in

[PHP-DEV] Re: private properties ....

2007-11-30 Thread Johannes Schlüter
Hi Marco, On Fri, 2007-11-30 at 12:43 +0100, Marco Kaiser wrote: Conclusion: 1. Why i can access a private property from a different class instance (name) but same type ? $aa and $bb are instances of aaa but not the same. Since PHP's object model is based n the class concept and these

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-30 Thread Daniel Brown
On Nov 30, 2007 10:37 AM, Jay Pipes [EMAIL PROTECTED] wrote: [snip] With PHP, the situation is different. The foundation of PHP was laid by Rasmus Lerdorf together with a large group of independent developers, and the central parts of PHP underly a different license and copyright regime from

Re: [PHP-DEV] Proposed feature for json_encode()

2007-11-30 Thread Rasmus Lerdorf
Stanislav Malyshev wrote: I can't because I don't know of any successful vectors *currently*. I also would have sworn that echoing htmlentified data was safeuntil I came across a browser where it wasn't. So that's what I wanted to understand, because if we add this feature, we should