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 47

PS: This is test code, it's a mess and it's bad naming and coding
standards, don't that that part too serious.

On Sat, Aug 30, 2008 at 9:56 PM, Cristian Rodríguez <[EMAIL PROTECTED]> 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 ;-)
>
>
> --
> "A computer is like an Old Testament god, with a lot of rules and no
> mercy. "
>
> Cristian Rodríguez R.
> Platform/OpenSUSE - Core Services
> SUSE LINUX Products GmbH
> Research & Development
> http://www.opensuse.org/
>
>
>



-- 
Thanks by your attention,

Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt

Attachment: index.php
Description: application/httpd-php

Attachment: user.php
Description: application/httpd-php

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to