#24391 [NEW]: output of private class variable doesn't show an error
| From: | flaimo at gmx dot net | Date: | Sun, 29 Jun 2003 20:35:42 +0000 |
| Subject: | #24391 [NEW]: output of private class variable doesn't show an error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-42751@lists.php.net to get a copy of this message | ||
From: flaimo at gmx dot net
Operating system: win xp
PHP version: 5CVS-2003-06-29 (dev)
PHP Bug Type: Class/Object related
Bug description: output of private class variable doesn't show an error
Description:
------------
the line "echo $cl->getComment(0)->message;" (see sourcecode) should show
an error that i tried to access a private variable, but instead the script
just stops working. without this line the script works fine.
Reproduce code:
---------------
http://pastebin.com/13998. (the linebreak in the comment is
not in the
original script!)
Expected result:
----------------
an error message
Actual result:
--------------
nothing
--
Edit bug report at http://bugs.php.net/?id=24391&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24391&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24391&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24391&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24391&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24391&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24391&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24391&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24391&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24391&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24391&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24391&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24391&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24391&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24391&r=gnused