mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
--TEST--
|
||||
Attribute validation callback of internal attributes.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) {
|
||||
echo "skip requires zend_test extension\n";
|
||||
}
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Bug #34199 (if($obj)/if(!$obj) inconsistency because of cast handler)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("simplexml")) print "skip SimpleXML extension required"; ?>
|
||||
--EXTENSIONS--
|
||||
simplexml
|
||||
--FILE--
|
||||
<?php
|
||||
$xml = "<root></root>";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("xml")) print "skip the xml extension not available"; ?>
|
||||
--EXTENSIONS--
|
||||
xml
|
||||
--FILE--
|
||||
<?php
|
||||
class Thing {}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Bug #39602 (Invalid session.save_handler crashes PHP)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("session")) die("skip session extension required"); ?>
|
||||
--EXTENSIONS--
|
||||
session
|
||||
--INI--
|
||||
session.save_handler=qwerty
|
||||
error_reporting=0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Bug #43918 (Segmentation fault in garbage collector)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("simplexml")) print "skip SimpleXML extension required"; ?>
|
||||
--EXTENSIONS--
|
||||
simplexml
|
||||
--FILE--
|
||||
<?php
|
||||
$xmlstr = <<<XML
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Bug #69092 (Declare Encoding Compile Check Wrong)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=On
|
||||
--FILE--
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Bug #70914 zend_throw_or_error() format string vulnerability
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("pdo_sqlite")) {
|
||||
die("skip pdo_sqlite required");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
pdo_sqlite
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
bug #71428.2: inheritance of ye olde dynamic interfaces
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('pdo')) die("skip PDO is not available"); ?>
|
||||
--EXTENSIONS--
|
||||
pdo
|
||||
--FILE--
|
||||
<?php
|
||||
interface StatementInterface {
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Bug #71930 (_zval_dtor_func: Assertion `(arr)->gc.refcount <= 1' failed)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("curl")) {
|
||||
die("skip Require a resource which is able to hold a callback");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Bug #78239: Deprecation notice during string conversion converted to exception hangs
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("zend_test")) die("skip requires zend_test extension"); ?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
function handleError($level, $message, $file = '', $line = 0, $context = [])
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Bug #78335: Static properties containing cycles report as leak (internal class variant)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("zend_test")) die("skip requires zend_test"); ?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Bug #78770: Incorrect callability check inside internal methods
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("intl")) die("skip requires intl");
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
intl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Bug #79919 (Stack use-after-scope in define())
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('simplexml')) die('skip simplexml extension not available');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
simplexml
|
||||
--FILE--
|
||||
<?php
|
||||
$b = error_log(0);
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
--TEST--
|
||||
Check that arguments are freed when calling a deprecated function
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Internal constant deprecation
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip requires zend_test');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Testing declare statement with several type values
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires ext/mbstring");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
--FILE--
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Testing declare statement with several type values
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires ext/mbstring");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
--FILE--
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Inherit internal static property into userland class
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend_test')) die('skip requires zend_test'); ?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Test Z_PARAM_ITERABLE() and Z_PARAM_ITERABLE_OR_NULL
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Crash with Big5
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
internal_encoding=big5
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Zend Multibyte and ShiftJIS
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
internal_encoding=SJIS
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Zend Multibyte and UTF-8 BOM
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
internal_encoding=iso-8859-1
|
||||
|
||||
Binary file not shown.
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
test for mbstring script_encoding for flex unsafe encoding (Shift_JIS)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
zend.script_encoding=Shift_JIS
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
encoding conversion from script encoding into internal encoding
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
mbstring.encoding_translation = On
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
086: bracketed namespace with encoding
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
--FILE--
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Overloaded function 001
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
$o = new _ZendTestChildClass();
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Overloaded function 002
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
$a = new _ZendTestClass();
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
Return type for internal functions
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
// Internal function return types are only checked in debug builds
|
||||
if (!PHP_DEBUG) die('skip requires debug build');
|
||||
?>
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
--TEST--
|
||||
Return type for internal functions 2
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
zend_test_nullable_array_return();
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
--TEST--
|
||||
Return type for internal functions 3: Void return type
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(zend_test_void_return());
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Test Z_PARAM_OBJ_OF_CLASS_OR_STR() and Z_PARAM_OBJ_OF_CLASS_OR_STR_OR_NULL
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Test Z_PARAM_OBJ_OR_STR() and Z_PARAM_OBJ_OR_STR_OR_NULL
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Leak in JMP_SET
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("gmp")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
gmp
|
||||
--FILE--
|
||||
<?php
|
||||
set_error_handler(function() { throw new Exception; });
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Bug #69579 (Internal trait double-free)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Test strict declaration being first operation only 006
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
--FILE--
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
--TEST--
|
||||
Test strict declaration being first operation only 007
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--INI--
|
||||
zend.multibyte=1
|
||||
--FILE--
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Typed properties in internal classes
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend_test')) die('skip requires zend_test'); ?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Inheritance of union type from internal class
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend_test')) die('skip requires zend_test extension');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
zend_test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
Bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip";
|
||||
if(substr(PHP_OS, 0, 3) == 'WIN' )
|
||||
<?php if(substr(PHP_OS, 0, 3) == 'WIN' )
|
||||
die("skip Not Valid for Windows");
|
||||
?>
|
||||
--INI--
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
--TEST--
|
||||
Bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip curl extension not loaded";
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
$base_dir = __DIR__ . DIRECTORY_SEPARATOR . "bug61948";
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
--TEST--
|
||||
Bug #62839 (curl_copy_handle segfault with CURLOPT_FILE)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip";
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
$curl = curl_init();
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('curl')) print 'skip';
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
$ch = curl_init();
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
--TEST--
|
||||
Bug #78775: TLS issues from HTTP request affecting other encrypted connections
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
openssl
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('curl')) die('skip Requires curl');
|
||||
if (!extension_loaded('openssl')) die('skip Requires openssl');
|
||||
if (getenv('SKIP_ONLINE_TESTS')) die('skip Online test');
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
Bug #79199 (curl_copy_handle() memory leak)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('curl')) die('skip curl extension not available');
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
$mem_old = 0;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
--TEST--
|
||||
Check libcurl config on windows
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("curl")) {
|
||||
die('skip - curl extension not available in this build');
|
||||
}
|
||||
|
||||
if(substr(PHP_OS, 0, 3) != 'WIN' )
|
||||
die("skip for windows only");
|
||||
?>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
Test curl_error() & curl_errno() function without url
|
||||
--CREDITS--
|
||||
TestFest 2009 - AFUP - Perrick Penet <perrick@noparking.net>
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
Test curl_error() & curl_errno() function with problematic host
|
||||
--CREDITS--
|
||||
TestFest 2009 - AFUP - Perrick Penet <perrick@noparking.net>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("curl")) print "skip";
|
||||
$addr = "www.".uniqid().".".uniqid();
|
||||
if (gethostbyname($addr) != $addr) {
|
||||
print "skip catch all dns";
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
Test curl_error() & curl_errno() function with problematic protocol
|
||||
--CREDITS--
|
||||
TestFest 2009 - AFUP - Perrick Penet <perrick@noparking.net>
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
Test curl_error() & curl_errno() function with problematic proxy
|
||||
--CREDITS--
|
||||
TestFest 2009 - AFUP - Perrick Penet <perrick@noparking.net>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("curl")) print "skip";
|
||||
$addr = "www.".uniqid().".".uniqid();
|
||||
if (gethostbyname($addr) != $addr) {
|
||||
print "skip catch all dns";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Test curl_getinfo() function with CURLINFO_COOKIELIST parameter
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
Test curl_getinfo() function with CURLINFO_HTTP_VERSION parameter
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip";
|
||||
$curl_version = curl_version();
|
||||
<?php $curl_version = curl_version();
|
||||
if ($curl_version['version_number'] < 0x073200) {
|
||||
exit("skip: test works only with curl >= 7.50.0");
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
Test curl_getinfo() function with CURLINFO_* from curl >= 7.52.0
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip";
|
||||
$curl_version = curl_version();
|
||||
<?php $curl_version = curl_version();
|
||||
if ($curl_version['version_number'] < 0x073400) {
|
||||
exit("skip: test works only with curl >= 7.52.0");
|
||||
}
|
||||
|
||||
@@ -3,10 +3,8 @@ curl_close
|
||||
--CREDITS--
|
||||
Stefan Koopmanschap <stefan@php.net>
|
||||
#testfest Utrecht 2009
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('curl')) print 'skip';
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
$ch = curl_init();
|
||||
|
||||
@@ -3,11 +3,11 @@ curl_error() function - basic test for curl_error using a fake url
|
||||
--CREDITS--
|
||||
Mattijs Hoitink mattijshoitink@gmail.com
|
||||
#Testfest Utrecht 2009
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--SKIPIF--
|
||||
<?php
|
||||
|
||||
if (!extension_loaded("curl")) die("skip\n");
|
||||
|
||||
$url = "fakeURL";
|
||||
$ip = gethostbyname($url);
|
||||
if ($ip != $url) die("skip 'fakeURL' resolves to $ip\n");
|
||||
|
||||
@@ -3,10 +3,8 @@ curl_multi_close
|
||||
--CREDITS--
|
||||
Stefan Koopmanschap <stefan@php.net>
|
||||
#testfest Utrecht 2009
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('curl')) print 'skip';
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
$ch = curl_multi_init();
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
curl_multi_close return false when supplied resource not valid cURL multi handle
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('curl')) print 'skip';
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
$cmh = curl_multi_init();
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
--TEST--
|
||||
curl_multi_close closed by cleanup functions
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('curl')) print 'skip';
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
$mh = curl_multi_init();
|
||||
|
||||
@@ -2,10 +2,8 @@
|
||||
array curl_multi_info_read ( resource $mh [, int &$msgs_in_queue = NULL ] );
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br> - @phpsp - sao paulo - br
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('curl')) { print("skip"); }
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
$urls = array(
|
||||
|
||||
@@ -3,8 +3,8 @@ Test curl_multi_init()
|
||||
--CREDITS--
|
||||
Mark van der Velden
|
||||
#testfest Utrecht 2009
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ Test curl_multi_select()
|
||||
--CREDITS--
|
||||
Ivo Jansch <ivo@ibuildings.com>
|
||||
#testfest Utrecht 2009
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
Test curl_reset
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip";
|
||||
if (!function_exists("curl_reset")) exit("skip curl_reset doesn't exists (require libcurl >= 7.12.1)");
|
||||
<?php if (!function_exists("curl_reset")) exit("skip curl_reset doesn't exists (require libcurl >= 7.12.1)");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
@@ -3,10 +3,8 @@ cURL option CURLOPT_READFUNCTION
|
||||
--CREDITS--
|
||||
WHITE new media architects - Jeroen Vermeulen
|
||||
#testfest Utrecht 2009
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("curl")) print "skip cURL extension not loaded";
|
||||
?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
function custom_readfunction($oCurl, $hReadHandle, $iMaxOut)
|
||||
|
||||
@@ -3,8 +3,8 @@ curl_setopt() basic parameter test
|
||||
--CREDITS--
|
||||
Paul Sohier
|
||||
#phptestfest utrecht
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** curl_setopt() call with incorrect parameters\n";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
curl_share_close basic test
|
||||
--SKIPIF--
|
||||
<?php if( !extension_loaded( 'curl' ) ) print 'skip'; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ Mathieu Kooiman <mathieuk@gmail.com>
|
||||
Dutch UG, TestFest 2009, Utrecht
|
||||
--DESCRIPTION--
|
||||
Writes the value 'test' to a temporary file. Use curl to access this file, passing the output into a callback. Tests the PHP_CURL_USER case in curl_write.
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ Mathieu Kooiman <mathieuk@gmail.com>
|
||||
Dutch UG, TestFest 2009, Utrecht
|
||||
--DESCRIPTION--
|
||||
Writes the value 'test' to a temporary file. Use curl to access this file and store the output in another temporary file. Tests the PHP_CURL_FILE case in curl_write().
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ Dutch UG, TestFest 2009, Utrecht
|
||||
--DESCRIPTION--
|
||||
Writes the value 'test' to a temporary file. Use curl to access this file and have it return the content from curl_exec(). Tests the PHP_CURL_RETURN case
|
||||
of curl_write().
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ Mathieu Kooiman <mathieuk@gmail.com>
|
||||
Dutch UG, TestFest 2009, Utrecht
|
||||
--DESCRIPTION--
|
||||
Writes the value 'test' to a temporary file. Use curl to access this file and store the output in another temporary file. Tests the PHP_CURL_FILE case in curl_write().
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("curl")) print "skip"; ?>
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
Bug #70825 (Cannot fetch multiple values with group in ini file)
|
||||
--EXTENSIONS--
|
||||
dba
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('dba')) die('skip dba extension not available');
|
||||
if (!in_array('inifile', dba_handlers())) die('skip inifile handler not available');
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
Bug #71514 (Bad dba_replace condition because of wrong API usage)
|
||||
--EXTENSIONS--
|
||||
dba
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('dba')) die('skip dba extension not available');
|
||||
if (!in_array('inifile', dba_handlers())) die('skip inifile handler not available');
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -2,13 +2,10 @@
|
||||
enchant_broker_describe() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('enchant')) {
|
||||
echo "skip: Enchant extension not enabled\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
$broker = enchant_broker_init();
|
||||
|
||||
if (!$broker) {
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_broker_dict_exists() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_broker_free() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
@enchant_broker_free() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
@enchant_broker_free() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if(!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_broker_free_dict(resource $dict); function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if(!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_broker_get_error() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_broker_init() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -2,13 +2,10 @@
|
||||
enchant_broker_list_dicts() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('enchant')) {
|
||||
echo "skip: Enchant extension not enabled\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
$broker = enchant_broker_init();
|
||||
|
||||
if (!$broker) {
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_broker_request_dict() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_broker_request_dict() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
enchant_broker_request_dict() must throw ValueError on empty tag
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
resource enchant_broker_request_pwl_dict(resource $broker, string $filename); function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_broker_set_ordering() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
--TEST--
|
||||
bug #13181, leaving a context frees the broker resources
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('enchant')) {
|
||||
echo "skip: Enchant extension not enabled\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
$broker = enchant_broker_init();
|
||||
|
||||
if (!$broker) {
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
Bug #53070 (enchant_broker_get_path crashes if no path is set)
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (defined("LIBENCHANT_VERSION") && version_compare(LIBENCHANT_VERSION, "2", ">")) die('skip libenchant v1 only');
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_add() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_add_to_session() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_check() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_describe() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_get_error() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_is_in_session() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_quick_check() basic test
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (getenv('SKIP_ASAN')) die('skip Known libenchant memory leak');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_quick_check() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_store_replacement() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
enchant_dict_suggest() function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
?>
|
||||
|
||||
@@ -3,9 +3,10 @@ proto bool enchant_broker_set_dict_path(resource broker, int dict_type, string v
|
||||
proto string enchant_broker_get_dict_path(resource broker, int dict_type) function
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
|
||||
if (defined("LIBENCHANT_VERSION") && version_compare(LIBENCHANT_VERSION, "2", ">")) die('skip libenchant v1 only');
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
--TEST--
|
||||
invalid object raise exception() function
|
||||
--EXTENSIONS--
|
||||
enchant
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
GET/POST/REQUEST Test with filtered data
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("filter")) die("skip"); ?>
|
||||
--EXTENSIONS--
|
||||
filter
|
||||
--INI--
|
||||
filter.default=special_chars
|
||||
--POST--
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user