mirror of
https://github.com/jupeter/clean-code-php.git
synced 2025-09-25 21:49:04 +02:00
@@ -516,6 +516,8 @@ than the vast majority of other programmers.
|
|||||||
$name = 'Ryan McDermott';
|
$name = 'Ryan McDermott';
|
||||||
|
|
||||||
function splitIntoFirstAndLastName() {
|
function splitIntoFirstAndLastName() {
|
||||||
|
global $name;
|
||||||
|
|
||||||
$name = preg_split('/ /', $name);
|
$name = preg_split('/ /', $name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user