* 1.0.0-BETA1
-...
+Backward incompatibilities:
+
+ * the items filter, which has been deprecated for quite a long time now, has been removed
+
+Changes:
* 0.9.10 (2010-12-16)
// iteration and runtime
'default' => new Twig_Filter_Function('twig_default_filter'),
'keys' => new Twig_Filter_Function('twig_get_array_keys_filter'),
- 'items' => new Twig_Filter_Function('twig_get_array_items_filter'),
// escaping
'escape' => new Twig_Filter_Function('twig_escape_filter', array('needs_environment' => true, 'is_safe_callback' => 'twig_escape_filter_is_safe')),
}
}
-// only for backward compatibility
-function twig_get_array_items_filter($array)
-{
- // noop
- return $array;
-}
-
function twig_test_sameas($value, $test)
{
return $value === $test;