You are here: Re: unset($this) or maybe unset(&$this) « PHP Programming Language « IT news, forums, messages
Re: unset($this) or maybe unset(&$this)

Posted by Tony Marston on 10/22/85 11:40

Don't be silly. The execution path is sequential, so after a command which
does not involve a jump is executed the next instruction to be executed will
be the very next instruction in the same object method. If you have just
erased the object that contains the next instruction what do you think will
happen? How is the PHP processor supposed to know where to go?

--
Tony Marston

http://www.tonymarston.net



"lievendp" <lievendp@pandora-dot-be.no-spam.invalid> wrote in message
news:dtdvpg$11iu$2@news3.infoave.net...
> Just wondering,
>
> Is it possible for an instance of a class to unset itself?
> can I do "unset($this)" or "unset(&$this)"
>
> regards,
> Lieven
> http://eye.cc php newsgroups

 

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

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