#24391 [Opn->Fbk]: output of private class variable doesn't show an error

From: Date: Sun, 29 Jun 2003 21:43:08 +0000
Subject: #24391 [Opn->Fbk]: output of private class variable doesn't show an error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42754@lists.php.net to get a copy of this message
ID: 24391 Updated by: magnus@php.net Reported By: flaimo at gmx dot net -Status: Open +Status: Feedback Bug Type: Class/Object related Operating System: win xp PHP Version: 5CVS-2003-06-29 (dev) New Comment: status.. Previous Comments: ------------------------------------------------------------------------ [2003-06-29 16:42:46] magnus@php.net There is no code there.. Please provide a script to reproduce the problem. ------------------------------------------------------------------------ [2003-06-29 15:35:42] flaimo at gmx dot net 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 this bug report at http://bugs.php.net/?id=24391&edit=1

« previous php.bugs (#42754) next »