Skip to content

Commit 95b124b

Browse files
committed
fixed the skip condition
1 parent 6c139b7 commit 95b124b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

ext/oci8/tests/gh18873.phpt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,7 @@ 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-
}
8+
if (getenv("USE_ZEND_ALLOC") === "0") die("skip requires ZendMM");
169
?>
1710
--FILE--
1811
<?php

0 commit comments

Comments
 (0)