string(65) "# Static table lookup for hostnames.
# See hosts(5) for details.
"
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
string(65) "# Static table lookup for hostnames.
# See hosts(5) for details.
"
string(195) "#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
# End of file
"
Output for 7.1.20, 7.2.6 - 7.2.8
Warning: file_get_contents(): open_basedir restriction in effect. File(/etc/hosts) is not within the allowed path(s): (/tmp:/in) in /in/7UELV on line 2
Warning: file_get_contents(/etc/hosts): failed to open stream: Operation not permitted in /in/7UELV on line 2
bool(false)