2009/11/8 jvlad <d...@yandex.ru>:
>>>
>>>
>>
>> Whilst you are all thinking about this, how about ...
>>
>> $value = (function(){return $x;})();
>>
>> Being able to call an anonymous function inline would certainly be a
>> useful mechanism. Allowing calls without creating dummy user land vars
>> would be consistent with func()[0].
>>
>
>
> If you care not to waste userland with new names, use namespaces,
> that's the way intruduced by php, and it is not javascript after all.
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

I'm so old school in my coding, I've not got my head around namespaces
yet. I'm just old.

-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

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

Reply via email to