Is php searchable

In order for a php string to be recognized by a search crawler like google does it have to be echoed or can a you assign a variable the string value and the variable be recognized by a crawler?

Basically I have a flash swf that I have embedded in php and I’m trying to figure out the best way to make the text of the swf searchable. Since the swf text is dynamic and coming from php anyways I was wondering how the crawlers read php. Do they read what has been echoed? Can they recognize variables that have string value?

Any help would be appreciated.