i'd suppose u guys going to deprecate+E_STRICT first, remove later

> > George Schlossnagle schrieb:
> >> Radically change all the operator syntaxes.
> 
> >  http://www.gravitonic.com/software/php/patches/ze2_concat_obj_op.diff.gz
> 
FYI: _ is validate char in variable/function name
_("Hello! world"); // gettext
define('_', 1);
echo _;

On 8/13/05, Marcus Boerger <[EMAIL PROTECTED]> wrote:
> Hello Sebastian,
> 
>  why is this on gravitonic.com ?
> 
>  anyway. If we'd use the VBA operator for that then we could use the '.'
> for namespaces and wouldn't run into any trouble with namespaces at all.
> Besides someone wanted to have functions in namespaces.
> 
> marcus
> 
> Friday, August 12, 2005, 8:29:29 PM, you wrote:
> 
VB use & for string concat. they said & is faster as + is used for
number addition. flash4 actionscript use another magic looking
operator but changed to "." in v5 too
looks like there's no more single character for "string concat"
operator for php if u take the dot away. lua use double dot.


i saw some code written as:
$myarray[def] = $HTTP_GET_VARS[abc];
both abc and def is not constant. it seems they're wishing to use
$myarray.def while they hate $myarray["def"], but can only use
$myarray[def] instead. untill they recognized there's a warning as def
is treat as constant first.
why the hell we can use "." or something else simple for frequent
purpose (array value/obj property)
the way javascript do looks quite simple. both "." and "[]" can access
array/object

anyway, they can't +1 for this as it break all scripts with hardly a hack for BC

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

Reply via email to