Created
September 16, 2014 11:23
-
-
Save vojtasvoboda/b349fb500f31d930e4d3 to your computer and use it in GitHub Desktop.
PHP Masking
This file contains 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 | |
/**#@+ Timeline {@link Twitter::load()} */ | |
const ME = 1; | |
const ME_AND_FRIENDS = 2; | |
const REPLIES = 3; | |
const ALL = 4; | |
/**#@-*/ | |
/**#@+ Output format {@link Twitter::load()} */ | |
const XML = 0; | |
const JSON = 16; | |
const RSS = 32; | |
const ATOM = 48; | |
/**#@-*/ | |
$flags = REPLIES + ATOM; | |
$timeln = $flags & 0x0F; | |
$format = $flags & 0xF0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment