Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
print ref($x)||"SCALAR", "\n";
print(type(x))
System.out.println(((Object)x).getClass().getName());
System.Console.WriteLine( x.GetType() );
echo is_object($x) ? get_class($x) : gettype($x);
puts x.class
print(type(x))
print(x.__class__)
fmt.Printf("%T", x)
print(x.runtimeType);
console.log(typeof x);
console.log (x == null ? x + '' : x.constructor.name);
println(x::class.simpleName)
[{_, type} | _] = IEx.Info.info(x)
type
(describe x)