|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2000-05-26 16:11 UTC] andrei at cvs dot php dot net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Sun Oct 26 22:00:01 2025 UTC | 
<? $test = ""; if ($test == NULL) { print("test is NULL <br>\n"); } ?> With PHP4, this code displays "test is NULL". With PHP3, this code displays nothing. - it seems to me that PHP3 has a far more logical behaviour. - i think it can be a big incompatibility problem between PHP3 and PHP4. So, is it a bug or a feature ? And is there a way to force PHP4 to act like PHP3 in this particular case ? Thank you. Stephane Legrand.