SyntaxFix
Write A Post
Hire A Developer
Questions
If your file has a return statement like this:
<?php return array( 'AF' => 'Afeganistão', 'ZA' => 'África do Sul', ... 'ZW' => 'Zimbabué' );
You can get this to a variable like this:
$data = include $filePath;