ID: 32528 Updated by: [EMAIL PROTECTED] Reported By: grasso789 at versanet dot de Status: Bogus Bug Type: Documentation problem Operating System: All PHP Version: 4.3.10 New Comment:
I guess today is April 1st :-). Previous Comments: ------------------------------------------------------------------------ [2005-04-01 07:21:47] [EMAIL PROTECTED] It's very much documented: http://php.net/manual/en/language.control-structures.php#control-structures.if The parse error is because of a missing ; ------------------------------------------------------------------------ [2005-04-01 06:49:49] grasso789 at versanet dot de Description: ------------ PHP has the IF (boolean expression) {...} function which is not documented at all. I am searching for a logical if function since I want to compare numbers. Reproduce code: --------------- if (0<1) {echo("The world does still exist!")} Expected result: ---------------- The world does still exist! Actual result: -------------- Parse error: parse error, expecting `','' or `';'' in ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32528&edit=1