Skip to content

Instantly share code, notes, and snippets.

@lumpysimon
Created March 21, 2013 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lumpysimon/5212034 to your computer and use it in GitHub Desktop.
Save lumpysimon/5212034 to your computer and use it in GitHub Desktop.
Sublime Text snippet: PHP function with arg & default
<snippet>
<content><![CDATA[
function ${1:name}(${2: \$${3:arg} ${4:= $5 }}) {
$0
}
]]></content>
<tabTrigger>lfu</tabTrigger>
<scope>source.php</scope>
<description>function (Lumpy PHP)</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment