projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- prepare 0.8.0
[m6w6/ext-http]
/
tests
/
skip.inc
diff --git
a/tests/skip.inc
b/tests/skip.inc
index 64dba3452f3e3ebf8ac0db9416690e07d36fed2e..f27d3554c2fabe6f3cd65d057d169d698b0ca7a8 100644
(file)
--- a/
tests/skip.inc
+++ b/
tests/skip.inc
@@
-1,4
+1,4
@@
-<?php
-extension_loaded('http') or die('skip ext/http not available');
+<?php
+extension_loaded('http') or
@dl('php_http.dll') or @dl('http.so') or
die('skip ext/http not available');
strncasecmp(PHP_SAPI, 'CLI', 3) or die('skip cannot run tests with CLI');
strncasecmp(PHP_SAPI, 'CLI', 3) or die('skip cannot run tests with CLI');
-?>
\ No newline at end of file
+?>