Skip 64-bit related test
authorDmitry Stogov <dmitry@zend.com>
Tue, 15 Aug 2017 10:00:45 +0000 (13:00 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 15 Aug 2017 10:00:45 +0000 (13:00 +0300)
ext/simplexml/tests/bug74950.phpt

index f267a07a81bfe685b775eab6b45dc8fabf07d51d..20976c7d385c57e8800456f1fea8a93c56b7d440 100644 (file)
@@ -3,6 +3,7 @@ Bug #74950 (null pointer deref in zim_simplexml_element_getDocNamespaces)
 --SKIPIF--
 <?php
 if (!extension_loaded("simplexml")) die("skip SimpleXML not available");
+if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
 ?>
 --FILE--
 <?php