Description
Returns the variable type. Differnce with getttype()
is that
get_debug_type()
is more specific. See RFC1.
Syntax
namespace Foo;
class Bar
{
}
$bar = new Bar();
echo gettype($bar)."\n"; // Object
echo get_debug_type($bar); // Foo\Bar