From 1d6e67635cc793d7f50afb82f4561b77b79f8135 Mon Sep 17 00:00:00 2001 From: Steve Grunwell Date: Thu, 20 Sep 2018 15:31:40 -0700 Subject: [PATCH] Keep the getopt() slide, but recommend the manual --- slides/getopt.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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