Re: Serious bug ?
| From: | Bogdan Ribic | Date: | Mon, 06 Feb 2006 13:33:52 +0000 |
| Subject: | Re: Serious bug ? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229941@lists.php.net to get a copy of this message | ||
Marco Kaiser wrote:
Hi, i tested it with php 5.1.3-dev snap and it works correctly for me. btw. $return = $notdefined_variable; is a bad style for coding and this happens in your situation in a undefined behavior. If you think this is a bug please go to http://bugs.php.net and report them there.I checked on bugs.php.net and apparently it was resolved meanwhile (I was testing it on server with older PHP), and they don't take bug reports on previous versions. I should have checked before posting here, my bad :) Btw, I agree, bad style, but I like doing this: $id = max(0, (int)@$_GET['id']); a lot more than writing isset() ? : --
Open source PHP code generator for DB operations
http://sourceforge.net/projects/bfrcg/