Bug #1373 Updated: mixed if: endif; /if{} blocks parse error when nested

From: Date: Mon, 21 Jun 1999 00:33:20 +0000
Subject: Bug #1373 Updated: mixed if: endif; /if{} blocks parse error when nested
Groups: php.dev 
Request: Send a blank email to php-dev+get-7289@lists.php.net to get a copy of this message
ID: 1373 Updated by: jim Reported By: markjr@easydns.com Status: Open Bug Type: Parser error Assigned To: Comments: The problem is that you can't do "if (cond) { stuff; } else: something_else();", which is what you are trying to do. With your line commented out, the "else:" gets associated with the initial "if():". Full Bug description available at: http://bugs.php.net/?id=1373

« previous php.dev (#7289) next »