From: Fabien Potencier Date: Tue, 1 Nov 2011 10:29:09 +0000 (+0100) Subject: removed a function that is not used anymore X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=d1b5832ccd12a3a94f4f593148849f1845df742f;p=konrad%2Ftwig.git removed a function that is not used anymore --- 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. * *