blob: bec0fd5312e0c8980c24de0bab3f7c0657e547ec (
plain)
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
|
/**
* Type.h
*
* In this file an enumeration type is defined with all supported variable
* types.
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @copyright 2013 Copernica BV
*/
/**
* Set up namespace
*/
namespace Php {
/**
* Supported types for variables
* The values are the same as the ones used internally in Zend
*/
enum class Type : unsigned char {
Null = 0,
Numeric = 1,
Float = 2,
Bool = 3,
Array = 4,
Object = 5,
String = 6,
Resource = 7,
Constant = 8,
ConstantArray = 9,
Callable = 10
};
/**
* End of namespace
*/
}
|