Re: exit in class constructor crashes

From: Date: Fri, 28 Jul 2000 21:08:39 +0000
Subject: Re: exit in class constructor crashes
Groups: php.general 
Request: Send a blank email to php-general+get-8857@lists.php.net to get a copy of this message
One thing I noticed in 'PHPLIB' is that they set a variable in the instantiated object with the constructor, then checked for it immediately after instantiating the object. I have a question related to this. Is it possible to issue "return;" with no value to leave a function? -- ________________________________________________________________ Dennis K. Gearon (Kegley) Scientific Instrument Technician, School of EIT Oregon Institute of Technology - One of USA's 100 Best College Buys 3201 Campus Drive Klamath Falls, OR 97601 Voice 1-541-885-1563 FAX 1-541-885-1689 email gearond@oit.edu ________________________________________________________________ Happiness is when you want to go to your job in the morning and when you want to go home in the evening. ________________________________________________________________

« previous php.general (#8857) next »