|
Posted by comp.lang.php on 04/16/07 06:00
On Apr 16, 1:41 am, "Steve" <no....@example.com> wrote:
> hey genious, here's an RBI:
>
> foreach (
> array(
> $section ,
> 'newImage' ,
> "${section}_width" ,
> "${section}_height"
> )
> as $val
> ){ $this->$val =& ${$val}; }
>
> what do you intend to do with this lil' gem, eh? you do realize you'll get
> the same results by just:
>
> $this->val =& "${section}_height";
>
> ahhh, so when you plagerized the functionality, you copied it
> incorrectly...i see.
>
> ROFLMFAO !!!
It's "genius", BTW.
Navigation:
[Reply to this message]
|