( ! ) Warning: file_put_contents(/var/www/html/php7cookbook/source/data/files/iso_country_codes.csv): Failed to open stream: Permission denied in /var/www/html/php7cookbook/create_iso_country_codes_csv.php on line 18
Call Stack
#TimeMemoryFunctionLocation
10.0014358480{main}( ).../create_iso_country_codes_csv.php:0
20.0029402184file_put_contents( $filename = '/var/www/html/php7cookbook/source/data/files/iso_country_codes.csv', $data = '' ).../create_iso_country_codes_csv.php:18

( ! ) Fatal error: Uncaught RuntimeException: SplFileObject::__construct(/var/www/html/php7cookbook/source/data/files/iso_country_codes.csv): Failed to open stream: Permission denied in /var/www/html/php7cookbook/create_iso_country_codes_csv.php on line 20
( ! ) RuntimeException: SplFileObject::__construct(/var/www/html/php7cookbook/source/data/files/iso_country_codes.csv): Failed to open stream: Permission denied in /var/www/html/php7cookbook/create_iso_country_codes_csv.php on line 20
Call Stack
#TimeMemoryFunctionLocation
10.0014358480{main}( ).../create_iso_country_codes_csv.php:0
20.0033410656__construct( $filename = '/var/www/html/php7cookbook/source/data/files/iso_country_codes.csv', $mode = 'w' ).../create_iso_country_codes_csv.php:20