AFAIK __call is defined in the language in php4. Only in php5 did they
add that. This is why cake has these two files. Compare them
(overloadable_php4 and overloadable_php5) and you will see that the
php5 version contains very little while the php4 version does a good
job of overcoming the shortcomings of php4.
/Martin
On Sep 3, 7:20 pm, KC <rean...@gmail.com> wrote:
> I'm getting a syntax error on cake/libs/overloadable_php4.php when I
> run my project through the PHP syntax checker:
>
> $ php -l overloadable_php4.php
>
> Fatal error: Method Overloadable::__call() must take exactly 2
> arguments in overloadable_php4.php on line 79
> Errors parsing overloadable_php4.php
>
> Anyone else getting this same issue?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment