Mega Code Archive

 
Categories / Php / Development
 

Type Specifiers

/* Specifier       Description d               Display argument as a decimal number b               Display an integer as a binary number c               Display an integer as ASCII equivalent f               Display an integer as a floating-point number (double) o               Display an integer as an octal number (base 8) s               Display argument as a string x               Display an integer as a lowercase hexadecimal number (base 16) X               Display an integer as an uppercase hexadecimal number (base 16) */