PHPoC предоставляет предварительно определенные константы следующим образом:
Имя | Описание | Значение |
---|---|---|
COUNT_NORMAL | Normal Counting for one-dimension array |
0 |
COUNT_RECURSIVE | Recursive Counting for multi-dimension array |
1 |
EPIPE | Broken Pipe, Returning as connection is broken while sending TCP data |
32 (0x20) |
EBUSY | Device or Resource Busy | 16 (0x10) |
ENOENT | No file entry | 2 |
FALSE | False | - |
M_PI | Pi | ≒ 3.141592653589793 |
M_E | Euler's Constant | ≒ 2.718281828459045 |
MAX_STRING_LEN | Maximum length of a string | 1,534 |
O_NODIE | avoid to terminate script execution: file open |
4 |
PHP_VERSION_ID | PHPoC Version | - |
SEEK_SET | File pointer position: at the beginning of file |
0 |
SEEK_CUR | File pointer position: current position of file |
1 |
SEEK_END | File pointer position: at the end of file |
2 |
SSL_CONNECTED | SSL status: connected | 19 (0x13) |
SSL_CLOSED | SSL status: not connected | 0 |
SSL_LISTEN | SSL status: wait for connection | 1 |
TRUE | True | - |
TCP_CLOSED | TCP status: not connected | 0 |
TCP_LISTEN | TCP status: wait for connection | 1 |
TCP_CONNECTED | TCP status: connected | 4 |