Skip to content

Instantly share code, notes, and snippets.

@msikma
Created November 3, 2014 13:20
Show Gist options
  • Save msikma/d45274e86f536479eb4f to your computer and use it in GitHub Desktop.
Save msikma/d45274e86f536479eb4f to your computer and use it in GitHub Desktop.
Select PHP variable
<?php
// select php variable (more or less)
$sel_php_var = '\$([^\s,.;=*+\-&~%-+|)]*)';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment