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/15 14:16] – marandall | rfc:get_debug_type [2020/02/17 09:41] – marandall | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Version: 1 | * Version: 1 | ||
* Date: 2020-02-15 | * Date: 2020-02-15 | ||
- | * Author: Mark Randall, | + | * Author: Mark Randall, |
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 10: | Line 10: | ||
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 | ||
+ | 0.1 => float | ||
+ | true => bool | ||
+ | false => bool | ||
+ | " | ||
+ | [] => array | ||
+ | null => null | ||
+ | A class with name " | ||
+ | An anonymous class => class@anonymous | ||
+ | A resource => resource (xxx) | ||
+ | A closed resource => resource (closed) | ||
+ | |||
+ | |||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 18: | Line 32: | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
- | A straight yes / no vote on adding the new function. | + | Yes / no vote on adding the new function. |
- | Should | + | Yes / no on resource names be resolved |
(Optional) A vote on the name, if there is not a clear majority consensus during RFC discussion. | (Optional) A vote on the name, if there is not a clear majority consensus during RFC discussion. |
rfc/get_debug_type.txt · Last modified: 2020/08/01 23:41 by carusogabriel