Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.