Re: [RFC] Reserve EVEN MORE types for PHP7

From: Date: Fri, 20 Feb 2015 19:16:59 +0000
Subject: Re: [RFC] Reserve EVEN MORE types for PHP7
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-83347@lists.php.net to get a copy of this message
Am 20.02.2015 um 19:51 schrieb Markus Fischer: > From the RFC: > > “resource” > “object” > “scalar” > “mixed” > “numeric” > > "... prohibits their usage as class, interface and trait names." > > This is such a major BC break. I just wonder why we need to prohibit these names. Can types not reside in the global \ namespace? We could then change the class resolution rules to allow to look also in \ as is done for functions currently. Thanks Dennis

« previous php.internals (#83347) next »