You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			33 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
			
		
		
	
	
			33 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
snippet php "Starting php tag" !b
 | 
						|
	<?php
 | 
						|
 | 
						|
snippet phpil "php inline tag" !b
 | 
						|
	<?php ${1} ?>
 | 
						|
 | 
						|
snippet ec "echo" !b
 | 
						|
	echo "${1}";
 | 
						|
 | 
						|
snippet f "Anonymous function"
 | 
						|
	function () {
 | 
						|
		${1}
 | 
						|
	}
 | 
						|
 | 
						|
snippet fuse "Anonymous function with use"
 | 
						|
	function () use (${1}) {
 | 
						|
		${2}
 | 
						|
	}
 | 
						|
 | 
						|
snippet this "this helper"
 | 
						|
	$${1:this}->${2:prop}
 | 
						|
 | 
						|
snippet [] "array literal"
 | 
						|
	array(${1})
 | 
						|
 | 
						|
snippet {} "Empty object"
 | 
						|
	new stdClass()
 | 
						|
 | 
						|
snippet scf "self calling function" !b
 | 
						|
	call_user_func(function () {
 | 
						|
		${1}
 | 
						|
	});
 |