21492 Posts in 5783 Topics by 2621 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 561 Views |
-
Is there an isObject() test?

15 April 2009 at 9:09am
I often get "[Notice] Trying to get property of non-object". I would like to find an easy way to test if my variable is an object or not so I can handle the error myself in a more graceful way. Is there a function to test if something is an object?
-
Re: Is there an isObject() test?

15 April 2009 at 9:59pm
Although, usually you can just make sure if its set, if its set then usually you can assume its an object if($object).....
| 561 Views | ||
|
Page:
1
|
Go to Top |


