Type safety

From: Date: Sat, 26 Jul 2003 09:22:01 +0000
Subject: Type safety
Groups: php.general 
Request: Send a blank email to php-general+get-156987@lists.php.net to get a copy of this message
We all know PHP is great and flexible but, I have this problem... I had a function that took an object as parameter, someone went ahead and changed that to accept object's id (integer), because there is no "compilation", some of the code broke. Is there any way to alleviate these kinds of problems that happen w/ scripting? Thanks.

« previous php.general (#156987) next »