PHP numbers manipulation
- by Misha Moroshko
$ch is a character.
I need to convert it into 2 numbers like that (example):
$ch = 'A' => ASCII code: 0x41
=> Binary: 0100 0001
=> {4, 1}
What is the easiest and fastest method to achieve this ?