diff --git a/README.md b/README.md index cd3580b..883e8a8 100644 --- a/README.md +++ b/README.md @@ -516,6 +516,8 @@ than the vast majority of other programmers. $name = 'Ryan McDermott'; function splitIntoFirstAndLastName() { + global $name; + $name = preg_split('/ /', $name); }