mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
tests look for skipif.inc, so add it
This commit is contained in:
parent
436ca5d9bb
commit
a6aef18606
9
ext/xml/tests/skipif.inc
Normal file
9
ext/xml/tests/skipif.inc
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
if (!extension_loaded("xml")) {
|
||||
$dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
|
||||
@dl("xml$dlext");
|
||||
}
|
||||
if (!extension_loaded("xml")) {
|
||||
print "skip\n";
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user