You are here: Re: Test if an item is an object or a reference to an object « PHP Programming Language « IT news, forums, messages
Re: Test if an item is an object or a reference to an object

Posted by Rik on 03/01/07 23:12

laredotornado@zipmail.com <laredotornado@zipmail.com> wrote:
> Using php 4.4.4, let's say I have an array of objects or references to
> objects. If I picked out an arbitrary element, $n, how would I know
> if that was an object or a reference to an object?

Why does it matter? Look at it this way: all variables are references to
specific values in memory, sometimes more variables then one reference
this bit, often it's just a single one.

What's the actual problem you're trying to solve?
--
Rik Wasmus

 

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

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