Fix example code in README.md

The [compact](http://php.net/manual/en/function.compact.php) function accepts the names of variables as strings not the variables themselves.