On Sat, Feb 15, 2020 at 4:07 PM Nikita Popov <nikita....@gmail.com> wrote:

> On Sat, Feb 15, 2020 at 3:33 PM Mark Randall <mar...@gmail.com> wrote:
>
>> 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
>> marand...@php.net
>>
>
> Can you please add some examples for the behavior? Preferably the precise
> output for all primitive types, for classes and for anonymous classes.
>
> Regards,
> Nikita
>

ping

Reply via email to