Created
October 12, 2015 14:41
-
-
Save joseadrian/bfba4f261d66b6a9bd53 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
var_dump ( | |
array_combine(['r','g','b'], sscanf('FF0000', "%02x%02x%02x")) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment