PHP Binary Functions

Function

Description

base_convert

Convert a number between arbitrary bases

bindec

Binary to decimal

decbin

Decimal to binary

dechex

Decimal to hexadecimal

decoct

Decimal to octal

Share Share on Facebook Share on Twitter Share on Google+ Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit