summaryrefslogtreecommitdiff
path: root/include/type.h
blob: 717ae903ff9db6ee9dbe702c242d541288e316f1 (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
 */
typedef enum _Type {
    nullType            =   0,
    numericType         =   1,
    floatType           =   2,
    boolType            =   3,
    arrayType           =   4,
    objectType          =   5,
    stringType          =   6,
    resourceType        =   7,
    constantType        =   8,
    constantArrayType   =   9,
    callableType        =  10
} Type;

/**
 *  End of namespace
 */
}