From: xbite at exonium dot net
Operating system: Linux - Slackware 8.0
PHP version: 4.3.2
PHP Bug Type: Class/Object related
Bug description: Redefining class properties
Description:
------------
If you redefine class property, you don't get any errors.
Reproduce code:
---------------
class Class {
var $property = "some value";
var $property = "some other value";
}
Expected result:
----------------
PHP should generate an error.
--
Edit bug report at http://bugs.php.net/?id=24388&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24388&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24388&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24388&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24388&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24388&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24388&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24388&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24388&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24388&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24388&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24388&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24388&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24388&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24388&r=gnused