XWare Поиск по информационным ресурсам МГУ English Russian
       
       Точная форма слов   О проекте   Сайты   Помощь
Поиск по:   - Поискать по всем серверам
На этой странице приведены все страницы, которые ссылаются на http://oit.cmc.msu.ru/php/language.references.pass.html. Показаны документы 1 - 1 из 1.

1. What References Are Not
... Prev . ... References Explained . ... function foo (&$var) { $var =& $GLOBALS["baz"]; } foo($bar); . What happens is that $var in foo will be bound with $bar in caller, but then it will be re-bound with $GLOBALS["baz"] . There's no way to bind $bar in the calling scope to something else using the reference mechanism, since $bar is not available in the function foo (it is represented by $var , but $var has only variable contents and not name-to-value binding in the calling symbol table). ...
[ Сохраненная копия ]  Ссылки http://old.hcs.cmc.msu.ru/php/language.references.arent.html -- 4.1 Кб -- 03.02.2002
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/language.references.arent.html -- 4.1 Кб -- 03.02.2002
[ Сохраненная копия ]  Ссылки http://oit.cmc.msu.ru/php/language.references.arent.html -- 4.1 Кб -- 03.02.2002
Похожие документы


Астронет | Научная сеть | ГАИШ МГУ | Поиск по МГУ | О проекте | Авторам

Комментарии, вопросы? Пишите: info@astronet.ru или сюда

Rambler's Top100 RFBR Яндекс цитирования