From: ralph at smashlabs dot com
Operating system: Linux 2.6
PHP version: 5.2.1
PHP Bug Type: Class/Object related
Bug description: ReflectionProperty lacks method getStartLine() / getEndLine()

Description:
------------
Simply put, when getting a property (in the same manner as a method) from
a class, ReflectionProperty lacks the ability (as does the
ReflectionClass) to retrieve a line number from where the property was
defined.

- Properties [1] {
Property [ <default> protected $_Id ]
}

- Methods [3] {
Method [ <user, overwrites Submission> public method get ] {
@@
/home/webdeveloper/vhosts/zdiis2.dev/development/modeling/models/ZDISubmission.php
11 - 14

- Parameters [1] {
Parameter #0 [ <optional> $identifiers = Array ]
}
}


--
Edit bug report at [url]http://bugs.php.net/?id=40457&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40457&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40457&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40457&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40457&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40457&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40457&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40457&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40457&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40457&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40457&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40457&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40457&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40457&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40457&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40457&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40457&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40457&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40457&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40457&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40457&r=mysqlcfg[/url]