You are here: Re: Grayscaling images causes mangled image + segfault « PHP Programming Language « IT news, forums, messages
Re: Grayscaling images causes mangled image + segfault

Posted by asdf on 04/16/07 23:25

"Steve" <no.one@example.com> wrote in message
news:1kEUh.174$fK7.30@newsfe02.lga...
>
> "comp.lang.php" <phillip.s.powell@gmail.com> wrote in message
> news:1176703271.404085.79440@l77g2000hsb.googlegroups.com...
> | On Apr 16, 1:47 am, "Steve" <no....@example.com> wrote:
> | > "Steve" <no....@example.com> wrote in message
> | >
> | > news:m_DUh.171$fK7.124@newsfe02.lga...
> | > | 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";
> | >
> | > make that:
> | >
> | > $this->$val =& ${"${section}_height"};
> | >
> | > but you get my point. if you want to make the values into variables,
> do
> | > it...but don't confuse the issue of what $this->$val is. this is right
> up
> | > there with magic numbers! gotta love coders like you. ;^)
> |
> | Coders like me can spell "genius".
>
> double-entandre dimwit
>
[snip]

Methinks you mean "double-entendre" (sp. again - ROFL)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация