You are here: what does "->" and "=>" do? « PHP Programming Language « IT news, forums, messages
what does "->" and "=>" do?

Posted by planetbrett on 05/16/07 20:55

I have read through php.net manuals and have not see any mention about
what these operands actually do. I have seen them used in a bunch of
different code lately and don't really understand.

Example 1:

// Legacy Function: Renders the Footer of the Theme
function themefooter() {
global $engine, $index, $themepath;

if ($index != 3) {
$engine->do_themefooter($index);
}

}


Example 2:

// get the color scheme
$colors = pnModAPIFunc('Xanthia','user','getSkinColors',
array('skinid' => $skinID,
'paletteid' => $paletteid));


If anyone can shed some light on this, it would be greatly
appreciated.

thanks,
brett.

 

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

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