From d1b5832ccd12a3a94f4f593148849f1845df742f Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 1 Nov 2011 11:29:09 +0100 Subject: [PATCH] removed a function that is not used anymore --- lib/Twig/Extension/Core.php | 19 ------------------- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/lib/Twig/Extension/Core.php b/lib/Twig/Extension/Core.php index d03d641..feb8122 100644 --- a/lib/Twig/Extension/Core.php +++ b/lib/Twig/Extension/Core.php @@ -735,25 +735,6 @@ function twig_ensure_traversable($seq) } /** - * Checks that a variable points to the same memory address than another one. - * - *
- * {% if foo.attribute is sameas(false) %}
- *    the foo attribute really is the ``false`` PHP value
- * {% endif %}
- * 
- * - * @param mixed $value A PHP variable - * @param mixed $test The PHP variable to test against - * - * @return Boolean true if the values are the same, false otherwise - */ -function twig_test_sameas($value, $test) -{ - return $value === $test; -} - -/** * Checks if a variable is empty. * *
-- 
1.7.2.5