#44809 [NEW]: unexcepted $end
| From: | bjornuz at hotmail dot com | Date: | Wed, 23 Apr 2008 15:01:48 +0000 |
| Subject: | #44809 [NEW]: unexcepted $end | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-124455@lists.php.net to get a copy of this message | ||
From: bjornuz at hotmail dot com
Operating system: Apache
PHP version: 5.2.5
PHP Bug Type: Output Control
Bug description: unexcepted $end
Description:
------------
i keep getting Parse error: syntax error, unexpected $end in
/home/wrcmeist/public_html/index.php on line 59
i have tried to close any bracers, it all seems to have happend due to
this:
if($session->logged_in){
content with a couple of includes and a if and else
}
else
{
echo "else works";
}
cant see why this should give the bug...
Expected result:
----------------
the main page if your logged in, else show "else works"
Actual result:
--------------
Parse error: syntax error, unexpected $end in
/home/wrcmeist/public_html/index.php on line 59
--
Edit bug report at http://bugs.php.net/?id=44809&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44809&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44809&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44809&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44809&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44809&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44809&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44809&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44809&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44809&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44809&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44809&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44809&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44809&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44809&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44809&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44809&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44809&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44809&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44809&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44809&r=mysqlcfg