We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2d347a commit 1d6e676Copy full SHA for 1d6e676
slides/getopt.md
@@ -20,9 +20,11 @@ array(
20
```
21
<!-- .element: class="fragment" -->
22
23
+[php.net/manual/en/function.getopt.php](http://php.net/manual/en/function.getopt.php)<!-- .element: class="fragment" -->
24
+
25
Note:
26
27
* Retrieves options passed via CLI
28
+* Hold-over from C, and most frameworks have their own abstraction for this
29
* Define expected arguments, returns array of those arguments that are present
- - Only options specified will be included
- - Flags will be FALSE, but present!
30
+* Best to refer to the manual, as it's needlessly complicated
0 commit comments