Last active
July 1, 2021 11:18
-
-
Save bobbykjack/437581b67f7d0f7322596a379580f319 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 | |
for ($ch = 1; $ch < strlen($arg); $ch++) { | |
switch ($arg[$ch]) { | |
case 'c': $opts['show_content'] = false; break; | |
case 'm': $opts['max_length'] = handle_arg(substr($arg, $ch), $args); break; | |
//... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment