[RFC] get_debug_type

From: Date: Sat, 15 Feb 2020 14:32:58 +0000
Subject: [RFC] get_debug_type
Groups: php.internals 
Request: Send a blank email to internals+get-108597@lists.php.net to get a copy of this message
Greetings, I offer a short RFC to add a new function, get_debug_type, which would return the type name of a variable, automatically resolving the class name in the event of it being an object. Unlike gettype, this function will return the true name of scalar types, rather than their aliases, thus get_debug_type will return "int" rather than "integer" etc. https://wiki.php.net/rfc/get_debug_type Mark Randall marandall@php.net

« previous php.internals (#108597) next »