On Wed, Sep 9, 2009 at 17:59, Daniel
Convissor wrote:
> Hi Greg:
>
>> Copy-on-write still happens, the example you gave doesn't change a
>> variable, only a property.
>
> Yeah.
>
>
>> A better comparison would be between arrays and objects, as this
>> demonstrates that they behave differently in PH
Hi Greg:
> Copy-on-write still happens, the example you gave doesn't change a
> variable, only a property.
Yeah.
> A better comparison would be between arrays and objects, as this
> demonstrates that they behave differently in PHP 5, but were the same in
> PHP 4
>
> $a = array('m' => 'foo');
Daniel Convissor wrote:
> // Copy-on-write is not what happens when dealing only with objects:
> class not_copy_on_write {
> public $m = 'foo';
> }
> $a = new not_copy_on_write;
> $b = $a;
> $a->m = 'bar';
> echo "\$a->m = $a->m, \$b->m = $b->m\n";
>
> ?>
Hi Dan,
Copy-on-write still happens
Hi Brandon:
> http://blog.libssh2.org/index.php?/archives/51-Youre-being-lied-to..html
Yeah, that's a good article. I've seen it on other occasions. But she's
kind of "lying" too...
m = $b->m\n";
// Copy-on-write is not what happens when dealing only with objects:
class not_copy_on_write {
On Tue, Sep 08, 2009 at 07:56:43PM -0700, Lars Torben Wilson wrote:
>
> Personally I like "property"
I agree. That's what I, and most people, call them. It'd be good to
have that be the term throughout the manual.
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M
On Wed, Sep 9, 2009 at 9:35 AM, Brandon Savage wrote:
>
>
> On Wed, Sep 9, 2009 at 9:31 AM, G. T. Stresen-Reuter <
> tedmaster...@gmail.com> wrote:
>
>>
>> On Sep 9, 2009, at 2:02 PM, Hannes Magnusson wrote:
>>
>> On Wed, Sep 9, 2009 at 13:20, Brandon Savage
>>> wrote:
>>>
This documentation
On Wed, Sep 9, 2009 at 9:31 AM, G. T. Stresen-Reuter wrote:
>
> On Sep 9, 2009, at 2:02 PM, Hannes Magnusson wrote:
>
> On Wed, Sep 9, 2009 at 13:20, Brandon Savage
>> wrote:
>>
>>> This documentation already exists in that section.
>>>
>>> I'll amend my diff to reference this section. Something
On Sep 9, 2009, at 2:02 PM, Hannes Magnusson wrote:
On Wed, Sep 9, 2009 at 13:20, Brandon
Savage wrote:
This documentation already exists in that section.
I'll amend my diff to reference this section. Something along the
lines of
"PHP 5's object model also significantly changes the way ob
On Wed, Sep 9, 2009 at 13:20, Brandon Savage wrote:
> This documentation already exists in that section.
>
> I'll amend my diff to reference this section. Something along the lines of
> "PHP 5's object model also significantly changes the way objects are
> handled, and each variable representation
This documentation already exists in that section.
I'll amend my diff to reference this section. Something along the lines of
"PHP 5's object model also significantly changes the way objects are
handled, and each variable representation contains an object identifier
instead of the object itself. P
On Wed, Sep 9, 2009 at 01:29, Brandon Savage wrote:
> However, each spot where the documentation states that objects are passed by
> reference is wrong. See this blog post by Sara Golemon:
> http://blog.libssh2.org/index.php?/archives/51-Youre-being-lied-to..html
>
[...]
>
> I'm not sure how to cha
Philip Olson wrote:
On Sep 8, 2009, at 11:32 PM, Lars Torben Wilson wrote:
Lars Torben Wilson wrote:
Lars Torben Wilson wrote:
Daniel Convissor wrote:
Hi Lars:
In an earlier draft I had words to this effect, but it just got to
be unwieldy, since it felt like if I explained that some peop
12 matches
Mail list logo