]> granicus.if.org Git - php/commitdiff
this test is only valid when Zend MM is enabled
authorAntony Dovgal <tony2001@php.net>
Wed, 2 May 2007 15:26:59 +0000 (15:26 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 2 May 2007 15:26:59 +0000 (15:26 +0000)
Zend/tests/bug40770.phpt

index ce6bbbdaa9f56d54129a91f58b27fee95e443e58..b71d1b952f735348d37fb4910affbd142cd99e09 100755 (executable)
@@ -2,6 +2,13 @@
 Bug #40770 Apache child exits when PHP memory limit reached 
 --INI--
 memory_limit=8M
+--SKIPIF--
+<?php
+$zend_mm_enabled = getenv("USE_ZEND_ALLOC");
+if ($zend_mm_enabled === "0") {
+       die("skip Zend MM disabled");
+}
+?>
 --FILE--
 <?php
 ini_set('display_errors',true);