diff --git a/slides/getopt.md b/slides/getopt.md index 361aafb..3088895 100644 --- a/slides/getopt.md +++ b/slides/getopt.md @@ -20,9 +20,11 @@ array( ``` +[php.net/manual/en/function.getopt.php](http://php.net/manual/en/function.getopt.php) + Note: * Retrieves options passed via CLI +* Hold-over from C, and most frameworks have their own abstraction for this * Define expected arguments, returns array of those arguments that are present - - Only options specified will be included - - Flags will be FALSE, but present! +* Best to refer to the manual, as it's needlessly complicated