Re: [RFC] Skipping parameters take 2

From: Date: Mon, 02 Sep 2013 20:12:51 +0000
Subject: Re: [RFC] Skipping parameters take 2
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> What would happen if I had done:
> 
> 	define('default', 42);
> 
> before that line?

Pretty much the same as if you did:

define('if', 42);
if($a == 1) print "one";

default is a keyword.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (69 messages)

« previous php.internals (#68861) next »