Florian Margaine wrote on 30/04/2015 10:23:
> > We don't need a warning there, we need a fatal error. These names are
> > *invalid* as class names.
> Should we throw fatal errors for functions starting with 2
underscores too?
Actually, soft reservation has genuine advantages for those:
1) It
> De : Florian Margaine [mailto:flor...@margaine.com]
>
> Should we throw fatal errors for functions starting with 2 underscores too?
Well, you're right. Functions and methods, even if more people now know that
these names are reserved.
Regards
François
--
PHP Internals - PHP Runtime Develop
Hi,
Le 30 avr. 2015 11:04, "François Laupretre" a écrit :
>
> > De : Christoph Becker [mailto:cmbecke...@gmx.de]
> >
> > Relying on documentation only seems to be insufficient to me. Consider
> > a developer not reading the documentation and facing the issue that
> > his/her code might break wit
On 30-4-2015 11:03, François Laupretre wrote:
De : Christoph Becker [mailto:cmbecke...@gmx.de]
Relying on documentation only seems to be insufficient to me. Consider
a developer not reading the documentation and facing the issue that
his/her code might break with PHP 7.1 (i.e. a minor version).
> De : Christoph Becker [mailto:cmbecke...@gmx.de]
>
> Relying on documentation only seems to be insufficient to me. Consider
> a developer not reading the documentation and facing the issue that
> his/her code might break with PHP 7.1 (i.e. a minor version).
+1. I already asked if we should enf
On 30/04/15 00:41, Christoph Becker wrote:
Hi everybody!
I've noticed that the "Reserve Even More Types in PHP 7" RFC[1] has been
moved to "Process and Policy" with the comment "needs no impl".
However, the RFC states:
| This RFC does not fully reserve them as keywords; it only prohibits
| thei
Hi everybody!
I've noticed that the "Reserve Even More Types in PHP 7" RFC[1] has been
moved to "Process and Policy" with the comment "needs no impl".
However, the RFC states:
| This RFC does not fully reserve them as keywords; it only prohibits
| their usage as class, interface and trait names.