Re: Urgent patch for traits in PHP 5.4
| From: | Florian Anderiasch | Date: | Mon, 16 Jan 2012 12:07:32 +0000 |
| Subject: | Re: Urgent patch for traits in PHP 5.4 | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57377@lists.php.net to get a copy of this message | ||
On 01/16/2012 11:25 AM, Stefan Marr wrote:
> I would argue that __FILE__ and __LINE__ are not referring to conceptual entities, but the
> literal code. And, I guess, they are mostly used for debugging purposes to identify the relevant
> code. Thus, I would not change them, but keep them as compile-time constants referring to the actual
> place where they occur.
>
> Adapting them to reflect the using classes would at least not seem to be the intuitive
> semantics, I think.
+1, absolutely.
Greetings,
Florian