Skip to content

Commit 6c139b7

Browse files
committed
Skip the test when Zend MM is disabled.
1 parent eeaac90 commit 6c139b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ext/oci8/tests/gh18873.phpt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ oci8
55
--SKIPIF--
66
<?php
77
require_once 'skipifconnectfailure.inc';
8+
9+
ob_start();
10+
phpinfo(INFO_GENERAL);
11+
$info = ob_get_clean();
12+
13+
if (strpos($info, 'Zend Memory Manager => enabled') === false) {
14+
die('skip Zend MM is disabled');
15+
}
816
?>
917
--FILE--
1018
<?php

0 commit comments

Comments
 (0)