Apparently this is needed for GCC to not optimise it out...

This commit is contained in:
Derick Rethans
2011-07-04 18:02:17 +01:00
parent 078690b4dc
commit 803c1a9f83
+1 -1
View File
@@ -524,7 +524,7 @@ PHP_FUNCTION(twig_template_get_attributes)
}
*/
if (!Z_TYPE_P(object) == IS_OBJECT) {
if (Z_TYPE_P(object) != IS_OBJECT) {
if (isDefinedTest) {
RETURN_FALSE;
}