Am 27.06.16 um 17:04 schrieb Christoph Becker:
On 27.06.2016 at 15:28, (Karl Pflästerer ) wrote:

Andreas Heigl <andr...@heigl.org> writes:

Am 27.06.16 um 15:01 schrieb Karl Pflästerer:
interface I1 { const C1 = '';}
class C3 implements I1 { const C1 = 'c2';}
$c3 = new C3;
var_dump($c3::C1);

According to https://3v4l.org/jIcs6 it looks like that's intended
behaviour ;)

But why does it work in the CLI if I write the code (instead of using a
script)?  That's my question.

Have you tried with and without OPcache?


There is no opcache in use. (Don't know if the message can be seen on the list; I only could read it in my mailbox; I could'nt see it in Gmane).

  KP

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to