From:             [EMAIL PROTECTED]
Operating system: Win2000 Adv Server
PHP version:      4.2.3
PHP Bug Type:     Date/time related
Bug description:  Try to show the time but when running it, a parse error comes out

what I did:
$hourtime=strftime("%H")strftime("%H:%M:%S
%p")-strftime("%H")${${"userName"."_session"}."time"."_session"};

what I expected to happen:
to show how long I stay in the website

what happened:
parse error, unexpected T_String

Anyone who knows how to solve this problem, please help...
-- 
Edit bug report at http://bugs.php.net/?id=19830&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19830&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19830&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19830&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19830&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19830&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19830&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19830&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19830&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19830&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19830&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19830&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19830&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=19830&r=isapi

Reply via email to