How to use views replacement patterns while using the PHP filter? In views, when using the standard text formatter you can place replacement tokens such as [title] into the HTML code either in a rewrite or in this case global text for Drupal to render. 

In this case I have a node field with the Machine Name field_story_url that is used within a view. Part of my PHP function requires me to define the content found in that field so I do $urlhere= '[field-story-url]';within a Global Text header using the PHP filter input. 

But it does not work. I then did a simple &lt;?php echo '[field-story-url]'; ?&gt;to see if it would print the value and nothing either.

When I did the replacement using just HTML it worked. Anyone know what the issue may be?
Figured it out. When using replacement patterns within the PHP filter you simply use double quotation marks over single ones.   

i.e: $urlhere= "[field_story_url]"; over $urlhere= '[field_story_url]';

Looks like the double quotes is what allows Drupal to see the replacement tokens outside of the PHP code.