]> granicus.if.org Git - php/commitdiff
Add skipifs for zmm
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 27 Aug 2019 07:12:22 +0000 (09:12 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 27 Aug 2019 07:12:22 +0000 (09:12 +0200)
ext/standard/tests/strings/chunk_split_variation1_32bit.phpt
ext/standard/tests/strings/chunk_split_variation3.phpt

index 4e27ab5c61cf4085cc43a450bbd13f5375678c4b..f9825eb4384ace9b19c50318ff46d03aa8f82b04 100644 (file)
@@ -3,6 +3,7 @@ Test chunk_split() function : usage variations - unexpected large '$end' string
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
+if (getenv("USE_ZEND_ALLOC") === "0") die("skip ZMM is disabled");
 ?>
 --FILE--
 <?php
index 687aa087d624381e1f78eaf6852fc4ad612cc11a..3992e212d5052b2789bc1f08fc707d0d2abf5538 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 Test chunk_split() function : usage variations - unexpected large number of chunks
+--SKIPIF--
+<?php
+if (getenv("USE_ZEND_ALLOC") === "0") die("skip ZMM is disabled");
+?>
 --FILE--
 <?php
 /* Prototype  : string chunk_split(string $str [, int $chunklen [, string $ending]])