This is a very weird situation like I've never seen in my life. For some reason PHP is ignoring a lot of code inside a static function.
Here is the example:
static function describe($tableName, $columns = '*') {
var_dump($tableName);
die();
$md5 = ...code...
if (!empty($content = Cache::get($md5))) {
return unserialize($content);
}
I keep getting the error
Parse error: syntax error, unexpected '=', expecting ')'
in
if (!empty($content = Cache::get($md5))) {
And yes it recognises the class Cache
and its function.
Can anyone guide me?