Jochem Maas wrote:
Op 3/10/10 1:29 PM, Auke van Slooten schreef:
Hi,
In a hobby project I'm relying on the order in which the following piece
of PHP code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
but who cares. the code is full of magic, which
2010/3/10 Auke van Slooten a...@muze.nl
Hi,
In a hobby project I'm relying on the order in which the following piece of
PHP code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
Currently PHP always resolves $client-system (and executes the __get on
From: Auke van Slooten
In a hobby project I'm relying on the order in which the following
piece
of PHP code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
Currently PHP always resolves $client-system (and executes the __get
on
$client)
Bruno Fajardo wrote:
2010/3/10 Auke van Slooten a...@muze.nl
Hi,
In a hobby project I'm relying on the order in which the following piece of PHP
code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
Can't you call the methods $client-methodOne() and
2010.03.10. 14:41 keltezéssel, Bob McConnell írta:
From: Auke van Slooten
In a hobby project I'm relying on the order in which the following
piece
of PHP code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
Currently PHP always
On Wed, 2010-03-10 at 15:20 +0100, Sándor Tamás wrote:
2010.03.10. 14:41 keltezéssel, Bob McConnell írta:
From: Auke van Slooten
In a hobby project I'm relying on the order in which the following
piece
of PHP code is executed:
$client-system-multiCall(
Bob McConnell wrote:
From: Auke van Slooten
In a hobby project I'm relying on the order in which the following
piece
of PHP code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
Think about it from the parser's point of view. It has to evaluate
From: Sándor Tamás
2010.03.10. 14:41 keltezéssel, Bob McConnell írta:
From: Auke van Slooten
In a hobby project I'm relying on the order in which the following
piece
of PHP code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
Auke van Slooten wrote:
Bob McConnell wrote:
From: Auke van Slooten
In a hobby project I'm relying on the order in which the following
piece
of PHP code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
Think about it from the parser's point of
2010/3/10 Auke van Slooten a...@muze.nl:
Bruno Fajardo wrote:
2010/3/10 Auke van Slooten a...@muze.nl
Hi,
In a hobby project I'm relying on the order in which the following piece
of PHP code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
Can't
On Wed, Mar 10, 2010 at 9:54 AM, Bruno Fajardo bsfaja...@gmail.com wrote:
[snip]
2010/3/10 Auke van Slooten a...@muze.nl:
This is not what I meant. I should perhaps mention that it's an xml-rpc
client and the method calls are remote method calls. The multiCall method
gathers multiple method
2010/3/10 Andrew Ballard aball...@gmail.com:
On Wed, Mar 10, 2010 at 9:54 AM, Bruno Fajardo bsfaja...@gmail.com wrote:
[snip]
2010/3/10 Auke van Slooten a...@muze.nl:
This is not what I meant. I should perhaps mention that it's an xml-rpc
client and the method calls are remote method calls.
Andrew Ballard wrote:
I'm not sure you would want to assign null to $client-system. After
all, __set() might not be defined.
I agree with Rob here. If order is really crucial, then call the
statements in the correct order:
?php
/**
* causes $client to call __get() in order to resolve
*
Op 3/10/10 1:29 PM, Auke van Slooten schreef:
Hi,
In a hobby project I'm relying on the order in which the following piece
of PHP code is executed:
$client-system-multiCall(
$client-methodOne(),
$client-methodTwo()
);
Currently PHP always resolves $client-system (and executes the
You may not care about this, but from a readability perspective, i
think relying on $client-system being as special as you describe, is
not very readable.
If i'd had to read code that does what you describe, i'd be much
happier to see a datastructure be passed as was suggested elsewhere in
this
15 matches
Mail list logo