get_debug_type()
Description
Returns the variable type. Differnce with getttype() is that get_debug_type() is more specific. See RFC[fn:rfc].
Syntax
namespace Foo;
class Bar
{
}
$bar = new Bar();
echo gettype(bar); // Foo\Bar
Returns the variable type. Differnce with getttype() is that get_debug_type() is more specific. See RFC[fn:rfc].
namespace Foo;
class Bar
{
}
$bar = new Bar();
echo gettype(bar); // Foo\Bar