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.
52 lines
949 B
Plaintext
52 lines
949 B
Plaintext
<clips name="PHP Control"><clip name="Open/Close PHP Tags" shortcut="">
|
|
<?php
|
|
|
|
|
|
|
|
|
?>
|
|
</clip><clip name="For Loop" shortcut="">
|
|
for ( $i = 0; $i <= |; $i++ ) {
|
|
|
|
}
|
|
</clip><clip name="Foreach Loop (array)" shortcut="">
|
|
foreach ( $array as $value ) {
|
|
|
|
|
}
|
|
</clip><clip name="Foreach Loop (hash)" shortcut="">
|
|
foreach ( $array as $key => $value ) {
|
|
|
|
|
}
|
|
</clip><clip name="While Loop" shortcut="">
|
|
while ( | ) {
|
|
|
|
}
|
|
</clip><clip name="Do...While Loop" shortcut="">
|
|
do {
|
|
|
|
|
} while ( expr );
|
|
</clip><clip name="If..Else If Loop" shortcut="">
|
|
if ( | ) {
|
|
|
|
}
|
|
else if ( expr ) {
|
|
|
|
}
|
|
else {
|
|
|
|
}
|
|
</clip><clip name="Switch (Case)" shortcut="">
|
|
switch ($i) {
|
|
case |:
|
|
|
|
break;
|
|
case value:
|
|
|
|
break;
|
|
default:
|
|
|
|
}
|
|
</clip><clip name="Require" shortcut="">
|
|
require( '|' );
|
|
</clip><clip name="Include" shortcut="">
|
|
include( '|' );
|
|
</clip></clips> |