Reply to Re: Calling scripts

Your name:

Reply:


Posted by d43m0n AT shaw DOT ca on 09/21/06 22:29

> two things:
> that will only echo 'Hello world' once not 11 times; and
> $bar is NOT destroyed by $foo = &$bar;
> instead a reference to $bar is created and $bar still exists with both $bar
> and $fo returning the exact same contents.

My Bad, my script said otherwise, I just simply had the angle on the
wrong face.

And I could have sworn by placing the '&' sign infront, that it
replaces the value... oh well, simply use

$bar = true;
$foo = $bar;

unset($bar);

[Back to original 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

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