$$${array_element} = $$${array}[$$${index}];
${cursor}
}</template>
+<template name="foreach" description="iterate over array - value" id="net.sourceforge.phpdt.php.foreach1" context="php" enabled="true">foreach ( $$${array} as $$${value} ) {
+ ${cursor}
+}</template>
+<template name="foreach" description="iterate over array - key/value" id="net.sourceforge.phpdt.php.foreach2" context="php" enabled="true">foreach ( $$${array} as $$${key} => $$${value} ) {
+ ${cursor}
+}</template>
+<template name="try-catch" description="try-catch block - default" id="net.sourceforge.phpdt.php.try1" context="php" enabled="true">try {
+ ${try}
+}</template>
<template name="try-catch" description="try-catch block - default" id="net.sourceforge.phpdt.php.try1" context="php" enabled="true">try {
${try}
}