Skip to content

Instantly share code, notes, and snippets.

@briandailey
Created June 25, 2013 13:57
Show Gist options
  • Save briandailey/5858625 to your computer and use it in GitHub Desktop.
Save briandailey/5858625 to your computer and use it in GitHub Desktop.
phpargs function - add to bashrc
function phpargs() {
curl -s http://us3.php.net/$1 | \
sed -n '/<div class="methodsynopsis dc-description">/,/<\/div>/p' | \
sed 's/<[^>]*>//g' | tr -d "\n"
echo
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment