On Sun, Aug 31, 2008 at 11:03 AM, Marcus Boerger <[EMAIL PROTECTED]> wrote:
> Hello Diogo,
>
> Sunday, August 31, 2008, 12:50:15 AM, you wrote:
>
>> Exactly...
>
>> Is that normal workings or more like a bugie one?
>
>> On Sat, Aug 30, 2008 at 10:02 PM, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
>>>
Hello Diogo,
Sunday, August 31, 2008, 12:50:15 AM, you wrote:
> Exactly...
> Is that normal workings or more like a bugie one?
> On Sat, Aug 30, 2008 at 10:02 PM, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
>> Cristian Rodríguez wrote:
>>>
>>> Diogo Neves escribió:
Hi all,
I'm
Hi,
__get() makes more sense to me, and maybe was where | got the ideia
because | never used __call() before but i add used __get() :(
Maybe the php folks change its behavior in future...
It's worthy of a bug report ( I ask because i'm not very involved in
php community )
Thanks,
On Sun, Aug 31
Antony,
I don't at all disagree about the inappropriateness of this not triggering
an error but I did want to point out that this behavior is not consistent
with how __get() works. It seems like they should all behave similarly when
dealing with overriding methods or properties of different access
Hi again,
On Sun, Aug 31, 2008 at 12:04 AM, Antony Dovgal <[EMAIL PROTECTED]> wrote:
> On 31.08.2008 02:50, Diogo Neves wrote:
>>
>> Exactly...
>>
>> Is that normal workings or more like a bugie one?
>
> Definitely not a bug.
Ok, it's implemented to work like that... less bad ;)
>
> I believe th
On 31.08.2008 02:50, Diogo Neves wrote:
Exactly...
Is that normal workings or more like a bugie one?
Definitely not a bug.
I believe the reason is that if you enable __call() in this case,
you'd have different behavior depending on the calling scope,
i.e. complete mess.
Also there would be
Exactly...
Is that normal workings or more like a bugie one?
On Sat, Aug 30, 2008 at 10:02 PM, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
> Cristian Rodríguez wrote:
>>
>> Diogo Neves escribió:
>>>
>>> Hi all,
>>>
>>> I'm emailling to ask why __call isn't called when you call a private
>>> method
Hi again,
I'm workarrounding ( I really don't know if that word exists ) with an
'_' on private methods, but u can that that off on user class to see
this error:
Fatal error: Call to private method user::print_user() from context
'' in /home/diogo/Documents/devspace/mangas.dev/index.php on line
Cristian Rodríguez wrote:
Diogo Neves escribió:
Hi all,
I'm emailling to ask why __call isn't called when you call a private
method from outside of function...
Please provide example code ;-)
He means this:
class foo {
private function bar() { }
function __call($f,$a) {
echo "calle
Diogo Neves escribió:
> Hi all,
>
> I'm emailling to ask why __call isn't called when you call a private
> method from outside of function...
Please provide example code ;-)
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUS
10 matches
Mail list logo