nebulom
May 28th, 2007, 10:04 PM
How do I go about doing this?
if ($somevar is Person) {
...
Or what I mean is to test the variable if it's of type Person class? Is there something like that, with PHP4?
if ($somevar is Person) {
...
Or what I mean is to test the variable if it's of type Person class? Is there something like that, with PHP4?