I\'m a PHP newbie, so I have a minor problem functions. I have this line of code:
If your PHP version is on 5.3 or later versions, closure can be applied.
Closures may also inherit variables from the parent scope.
use
is the php syntax to implement closure.
ref: Anonymous functions
\.<\"\'\:\;\[\]\}\{\/\!\\\@\#\$\%\^\&\*\(\)\-\_\=\+\`[:space:]]/",$prom)){
echo "Nepravilan unos imena ili prezimina!";
echo $pera;
}
};
// $provera($ime);
$provera($prezime);