summaryrefslogtreecommitdiff
path: root/ext/xml
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-01-30 14:56:17 +0100
committerNikita Popov <nikic@php.net>2016-01-30 15:35:28 +0100
commit93dc91b386b53bdd317ea6abd70640e2bbfbaf73 (patch)
treed41b6d2baf80da77c154a4174634d6728e86bb31 /ext/xml
parent2eb4728611ac9ff6aa77fece737470beabe1db62 (diff)
downloadphp-git-93dc91b386b53bdd317ea6abd70640e2bbfbaf73.tar.gz
Remove version checks
PHP_VERSION_ID PHP_API_VERSION ZEND_MODULE_API_NO PHP_MAJOR_VERSION, PHP_MINOR_VERSION ZEND_ENGINE_2 I've left litespeed alone, as it seems to genuinely maintain support for many PHP versions.
Diffstat (limited to 'ext/xml')
-rw-r--r--ext/xml/xml.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 21d5233126..b832732f0d 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -1183,9 +1183,7 @@ PHP_FUNCTION(xml_set_object)
}
/* please leave this commented - or ask thies@thieso.net before doing it (again) */
-/* #ifdef ZEND_ENGINE_2
- zval_add_ref(&parser->object);
-#endif */
+ /* zval_add_ref(&parser->object); */
ZVAL_COPY(&parser->object, mythis);