-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathGettypeResult.php
50 lines (47 loc) · 1.06 KB
/
GettypeResult.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
declare(strict_types=1);
namespace Yiisoft\Db\Constant;
/**
* The following constants are returned by {@see gettype()} function.
*
* @link https://www.php.net/manual/en/function.gettype.php
*/
class GettypeResult
{
/**
* Define the php type as `array`.
*/
public const ARRAY = 'array';
/**
* Define the php type as `boolean`.
*/
public const BOOLEAN = 'boolean';
/**
* Define the php type as `double`.
*/
public const DOUBLE = 'double';
/**
* Define the php type as `integer`.
*/
public const INTEGER = 'integer';
/**
* Define the php type as `NULL`.
*/
public const NULL = 'NULL';
/**
* Define the php type as `object`.
*/
public const OBJECT = 'object';
/**
* Define the php type as `resource`.
*/
public const RESOURCE = 'resource';
/**
* Define the php type as `string`.
*/
public const STRING = 'string';
/**
* Define the php type as `unknown type`.
*/
public const UNKNOWN = 'unknown type';
}