You are here: Re: Error messages « PHP Programming Language « IT news, forums, messages
Re: Error messages

Posted by Joe Scylla on 08/28/07 14:31

Fabio wrote:
> ...snipped...
>
>> Take that out of your function
>> declaration and it should be fine.
>
> so I should remove the type for the parameter?
> This don't seems a good solution :(
>
> I tryied this kind of error_reporting because else if I declare for my fault
> 2 time the foo() function, the script is interrupted (cannot be interpreted)
> and I got the error message that the function is duplicated.
>
> I was not able to leave the useful "duplicated error message" but removing
> the useless *catchable* FATAL (???) error :(

Please read the manual about Type Hinting:
http://www.php.net/manual/en/language.oop5.typehinting.php

Joe

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация