Re: PHP5 bloats the code
| From: | Johannes Reichardt | Date: | Sat, 24 Apr 2004 19:53:18 +0000 |
| Subject: | Re: PHP5 bloats the code | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184535@lists.php.net to get a copy of this message | ||
Hi Marek,
actually this behaviour is "too critical" since there are many cases where "compliant code" is not as well as much more simpler code. reminds me on the w3c standards that are so high that some things simply dont comply if you want them ;)
just a warning would be way better.
- Johannes
So you have to check the type of the passed variable anyway, even in php4. You won't be affected by the new behavior in php5.