--TEST-- init resource with custom file_name --SKIPIF-- --FILE-- '/usr/bin/gpg')); $engine = gnupg_getengineinfo($gpg); var_dump($engine['file_name']); ?> --EXPECT-- string(12) "/usr/bin/gpg"