rfc:get_debug_type
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:get_debug_type [2020/02/17 09:43] – marandall | rfc:get_debug_type [2020/02/17 09:45] – marandall | ||
---|---|---|---|
Line 11: | Line 11: | ||
This function would differ from gettype in that it would return native type names, e.g. " | This function would differ from gettype in that it would return native type names, e.g. " | ||
- | * 0 => int (previously: integer) | + | * 0 => int -- (gettype: integer) |
- | * 0.1 => float (previously: double) | + | * 0.1 => float -- (gettype: double) |
- | * true => bool | + | * true => bool -- (gettype: boolean) |
- | * false => bool | + | * false => bool -- (gettype: boolean) |
* " | * " | ||
* [] => array | * [] => array | ||
- | * null => null | + | * null => null -- (gettype: NULL) |
- | * A class with name " | + | * A class with name " |
- | * An anonymous class => class@anonymous | + | * An anonymous class => class@anonymous |
- | * A resource => resource (xxx) (previously: resource) | + | * A resource => resource (xxx) -- (gettype: resource) |
- | * A closed resource => resource (closed) (previously: | + | * A closed resource => resource (closed) |
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== |
rfc/get_debug_type.txt · Last modified: 2020/08/01 23:41 by carusogabriel