Skip to content

Commit bfce179

Browse files
author
Tomáš Votruba
authored
Merge pull request #47 from ConnorVG/patch-1
Fix Invalid Code
2 parents cf1598f + 0035810 commit bfce179

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,8 @@ than the vast majority of other programmers.
516516
$name = 'Ryan McDermott';
517517

518518
function splitIntoFirstAndLastName() {
519+
global $name;
520+
519521
$name = preg_split('/ /', $name);
520522
}
521523

0 commit comments

Comments
 (0)