RFCs for this aren't getting
accepted?
- Harrison
On Sat, Jun 5, 2010 at 6:47 PM, Harrison Yuan wrote:
>
> I don't understand what is holding PHP back from having this syntax.
>
> Tig said:
> $tmp = getimagesize('./path/to/image');
> echo $tmp[1];
> ?
I don't understand what is holding PHP back from having this syntax.
Tig said:
The need to assign the trivial variable $tmp first is completely arbitrary.
Is it not a design goal somewhere that languages should allow the greatest
degree of literal expression possible, consistent with existing sy