1 | <?php |
||
11 | class SimpleArrayLibrary |
||
12 | { |
||
13 | use Changers, Checkers, Counters, Getters, Inspectors; |
||
14 | |||
15 | const TYPE_INT = 'int'; |
||
16 | const TYPE_STRING = 'string'; |
||
17 | const TYPE_FLOAT = 'float'; |
||
18 | const TYPE_BOOL = 'bool'; |
||
19 | const TYPE_ARRAY = 'array'; |
||
20 | const TYPE_OBJECT = 'object'; |
||
21 | |||
22 | /** |
||
23 | * Check whether casting a variable to int would conway useful information |
||
24 | * |
||
25 | * @param mixed $input |
||
26 | * |
||
27 | * @return bool |
||
28 | */ |
||
29 | private static function isLogicallyCastableToInt($input) |
||
33 | } |