opcache_get_status() returns array, so square brackets should be used to access "opcache_enabled" value.