Monday, December 16, 2013

PHP String Constants

String Constants

CRYPT_SALT_LENGTH
Contains the length of the default encryption method for the system. For standard DES encryption, the length is 2
CRYPT_STD_DES
Set to 1 if the standard DES-based encryption with a 2 character salt is supported, 0 otherwise
CRYPT_EXT_DES
Set to 1 if the extended DES-based encryption with a 9 character salt is supported, 0 otherwise
CRYPT_MD5
Set to 1 if the MD5 encryption with a 12 character salt starting with $1$ is supported, 0 otherwise
CRYPT_BLOWFISH
Set to 1 if the Blowfish encryption with a 16 character salt starting with $2$ or $2a$ is supported, 0 otherwise0
HTML_SPECIALCHARS
HTML_ENTITIES
ENT_COMPAT
ENT_QUOTES
ENT_NOQUOTES
CHAR_MAX
LC_CTYPE
LC_NUMERIC
LC_TIME
LC_COLLATE
LC_MONETARY
LC_ALL
LC_MESSAGES
STR_PAD_LEFT
STR_PAD_RIGHT
STR_PAD_BOTH

No comments:

Post a Comment