PHP is not a standard translatable format and it is not fully supported by Memsource.
At this time, only text variables and arrays with specifically defined keys are imported for translation.
PHP File Import Settings:
- Use HTML subfilter
- Convert to Memsource tags (using Regexp)
Note: Some PHP files can be imported as HTML files by changing the File Type to HTML, or as TXT files using the Translatable text option with Regexp.