| Summary: | ctrl+click goes to the wrong method | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Zhongwei Zhao <zhaozhongwei> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | kalin.a |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed Verified fixed. Closing... Kalin Yanev kalin.a@zend.com |
namespace Alliance; class DateTime extends \DateTime { public function __construct($aTime = 'now', \DateTimeZone $aTimeZone = NULL) { $time = $aTime; /* do some stuff */ if ($aTimeZone) { parent::__construct($time, $aTimeZone); //ctrl+click here } else { parent::__construct($time); //ctrl+click here } } } press ctrl+click on __construct of parent::__construct,it will go to __construct of \Alliance\DateTime,but it should go \DateTime::__construct