On Sun, 10 Jul 2011, Stas Malyshev wrote:
Hi!
On 7/10/11 9:41 AM, Patrick ALLAERT wrote:
I'm sure some projects have defined classes with those keywords in
some namespace (to ensure they wouldn't conflict with possible PHP
built-in stuff) like in:
namespace \Types {
class
On 2011-07-10, Stas Malyshev smalys...@sugarcrm.com wrote:
On 7/10/11 9:41 AM, Patrick ALLAERT wrote:
Developer may have taken care of defining them in a specific
namespace, would it be possible to not break their application while
making them reserved keywords in the global namespace only?
On Mon, Jul 11, 2011 at 5:08 PM, Matthew Weier O'Phinney
weierophin...@php.net wrote:
On 2011-07-10, Stas Malyshev smalys...@sugarcrm.com wrote:
On 7/10/11 9:41 AM, Patrick ALLAERT wrote:
Developer may have taken care of defining them in a specific
namespace, would it be possible to not
2011/7/11 Ferenc Kovacs tyr...@gmail.com:
On Mon, Jul 11, 2011 at 5:08 PM, Matthew Weier O'Phinney
[snip]
I think that's a bad idea. The point of namespaces is to allow us to
override classes (and functions, and constants) within that namespace.
If I can't do this:
namespace Foo
{
Hi!
On 7/10/11 9:41 AM, Patrick ALLAERT wrote:
I'm sure some projects have defined classes with those keywords in
some namespace (to ensure they wouldn't conflict with possible PHP
built-in stuff) like in:
namespace \Types {
class Int {
// ...
}
class Float {