-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
package_get_contents
Description
Gets the contents of a file using either file_get_contents or the package cache.
Syntax
string package_get_contents (string $filename)
Parameter $filename
Expected type: String
Description: The name of the file to get the contents of
Return value
Expected type: String
Description: The contents of the specified file
Notes
- Depends on the package_cache_disable setting
- Uses file_get_contents if the package cache isn't available or the specified file isn't in the package cache
- Returns the contents of the specified file
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search