mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Add some missing EXTENSIONS sections to misc tests
This commit is contained in:
parent
e378968c4f
commit
6600ad6067
45 changed files with 90 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #79741: curl_setopt CURLOPT_POSTFIELDS asserts on object with declared properties
|
Bug #79741: curl_setopt CURLOPT_POSTFIELDS asserts on object with declared properties
|
||||||
|
--EXTENSIONS--
|
||||||
|
curl
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #80121: Null pointer deref if CurlHandle directly instantiated
|
Bug #80121: Null pointer deref if CurlHandle directly instantiated
|
||||||
|
--EXTENSIONS--
|
||||||
|
curl
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Casting CurlHandle to int returns object ID
|
Casting CurlHandle to int returns object ID
|
||||||
|
--EXTENSIONS--
|
||||||
|
curl
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Basic curl_share test
|
Basic curl_share test
|
||||||
|
--EXTENSIONS--
|
||||||
|
curl
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Check for exif_read_data, Unicode WinXP tags
|
Check for exif_read_data, Unicode WinXP tags
|
||||||
|
--EXTENSIONS--
|
||||||
|
exif
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!defined("EXIF_USE_MBSTRING") || !EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl');
|
if (!defined("EXIF_USE_MBSTRING") || !EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl');
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Simple GET test
|
Simple GET test
|
||||||
|
--EXTENSIONS--
|
||||||
|
filter
|
||||||
--GET--
|
--GET--
|
||||||
a=1
|
a=1
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
GET test with 2 values and an empty one
|
GET test with 2 values and an empty one
|
||||||
|
--EXTENSIONS--
|
||||||
|
filter
|
||||||
--GET--
|
--GET--
|
||||||
a=1&b=&c=3
|
a=1&b=&c=3
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
GET/POST/REQUEST Test
|
GET/POST/REQUEST Test
|
||||||
|
--EXTENSIONS--
|
||||||
|
filter
|
||||||
--POST--
|
--POST--
|
||||||
d=4&e=5
|
d=4&e=5
|
||||||
--GET--
|
--GET--
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #77423 (parse_url() will deliver a wrong host to user)
|
Bug #77423 (parse_url() will deliver a wrong host to user)
|
||||||
--SKIPIF--
|
--EXTENSIONS--
|
||||||
<?php if (!function_exists('filter_var')) { echo "skip requires filter\n"; } ?>
|
filter
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$urls = array(
|
$urls = array(
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #78804: Segmentation fault in Locale::filterMatches
|
Bug #78804: Segmentation fault in Locale::filterMatches
|
||||||
|
--EXTENSIONS--
|
||||||
|
intl
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #81019: Unable to clone NumberFormatter after failed parse()
|
Bug #81019: Unable to clone NumberFormatter after failed parse()
|
||||||
|
--EXTENSIONS--
|
||||||
|
intl
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
grapheme_* functions with out-of-bounds offsets
|
grapheme_* functions with out-of-bounds offsets
|
||||||
|
--EXTENSIONS--
|
||||||
|
intl
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #52681 (mb_send_mail() appends an extra MIME-Version header)
|
Bug #52681 (mb_send_mail() appends an extra MIME-Version header)
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #79037: global buffer-overflow in `mbfl_filt_conv_big5_wchar`
|
Bug #79037: global buffer-overflow in `mbfl_filt_conv_big5_wchar`
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_convert_encoding() when encoding detection fails
|
mb_convert_encoding() when encoding detection fails
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--INI--
|
--INI--
|
||||||
mbstring.strict_detection=1
|
mbstring.strict_detection=1
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_ereg() and invalid arguments
|
mb_ereg() and invalid arguments
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!function_exists("mb_ereg")) print "skip"; ?>
|
<?php if (!function_exists("mb_ereg")) print "skip"; ?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_ereg_search() with invalid pattern should discard old matches
|
mb_ereg_search() with invalid pattern should discard old matches
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!function_exists("mb_ereg")) print "skip requires mbregex"; ?>
|
<?php if (!function_exists("mb_ereg")) print "skip requires mbregex"; ?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_send_mail() test 1 (lang=neutral)
|
mb_send_mail() test 1 (lang=neutral)
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_send_mail() test 2 (lang=Japanese)
|
mb_send_mail() test 2 (lang=Japanese)
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_send_mail() test 3 (lang=English)
|
mb_send_mail() test 3 (lang=English)
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_send_mail() test 4 (lang=German)
|
mb_send_mail() test 4 (lang=German)
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_send_mail() test 5 (lang=Simplified Chinese)
|
mb_send_mail() test 5 (lang=Simplified Chinese)
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_send_mail() test 6 (lang=Traditional Chinese)
|
mb_send_mail() test 6 (lang=Traditional Chinese)
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_send_mail() test 7 (lang=Korean)
|
mb_send_mail() test 7 (lang=Korean)
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
mb_send_mail() with null bytes in arguments
|
mb_send_mail() with null bytes in arguments
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Offset errors for various strpos functions
|
Offset errors for various strpos functions
|
||||||
|
--EXTENSIONS--
|
||||||
|
mbstring
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #79881: Memory leak in openssl_pkey_get_public()
|
Bug #79881: Memory leak in openssl_pkey_get_public()
|
||||||
|
--EXTENSIONS--
|
||||||
|
openssl
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Check for default OpenSSL config path on Windows
|
Check for default OpenSSL config path on Windows
|
||||||
|
--EXTENSIONS--
|
||||||
|
openssl
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) != 'WIN') {
|
if (substr(PHP_OS, 0, 3) != 'WIN') {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
pcntl_alarm()
|
pcntl_alarm()
|
||||||
|
--EXTENSIONS--
|
||||||
|
pcntl
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!function_exists("pcntl_sigtimedwait")) die("skip pcntl_sigtimedwait() not available"); ?>
|
<?php if (!function_exists("pcntl_sigtimedwait")) die("skip pcntl_sigtimedwait() not available"); ?>
|
||||||
--INI--
|
--INI--
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Using pg function with default link while no link open
|
Using pg function with default link while no link open
|
||||||
|
--EXTENSIONS--
|
||||||
|
pgsql
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #79031: Session unserialization problem
|
Bug #79031: Session unserialization problem
|
||||||
|
--EXTENSIONS--
|
||||||
|
session
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Null Pointer Dereference in PHP Session Upload Progress
|
Null Pointer Dereference in PHP Session Upload Progress
|
||||||
|
--EXTENSIONS--
|
||||||
|
session
|
||||||
--INI--
|
--INI--
|
||||||
error_reporting=0
|
error_reporting=0
|
||||||
file_uploads=1
|
file_uploads=1
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #80723: Different sockets compare as equal (regression in 8.0)
|
Bug #80723: Different sockets compare as equal (regression in 8.0)
|
||||||
|
--EXTENSIONS--
|
||||||
|
sockets
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$socket_1 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
|
$socket_1 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
socket_accept() failure
|
socket_accept() failure
|
||||||
|
--EXTENSIONS--
|
||||||
|
sockets
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Error during socket_sendmsg() or socket_recvmsg()
|
Error during socket_sendmsg() or socket_recvmsg()
|
||||||
|
--EXTENSIONS--
|
||||||
|
sockets
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test interoperability of password_hash('argon2i')
|
Test interoperability of password_hash('argon2i')
|
||||||
|
--EXTENSIONS--
|
||||||
|
sodium
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!function_exists('sodium_crypto_pwhash_str_verify')) {
|
if (!function_exists('sodium_crypto_pwhash_str_verify')) {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test interoperability of password_hash('argon2id')
|
Test interoperability of password_hash('argon2id')
|
||||||
|
--EXTENSIONS--
|
||||||
|
sodium
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!function_exists('sodium_crypto_pwhash_str_verify')) {
|
if (!function_exists('sodium_crypto_pwhash_str_verify')) {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test interoperability of password_verify()
|
Test interoperability of password_verify()
|
||||||
|
--EXTENSIONS--
|
||||||
|
sodium
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!function_exists('sodium_crypto_pwhash_str')) {
|
if (!function_exists('sodium_crypto_pwhash_str')) {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
PhpToken implements __toString()
|
PhpToken implements __toString()
|
||||||
|
--EXTENSIONS--
|
||||||
|
tokenizer
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Attributes are exposed as tokens.
|
Attributes are exposed as tokens.
|
||||||
|
--EXTENSIONS--
|
||||||
|
tokenizer
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Handling of "namespace as" in TOKEN_PARSE mode
|
Handling of "namespace as" in TOKEN_PARSE mode
|
||||||
|
--EXTENSIONS--
|
||||||
|
tokenizer
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #80462: Nullsafe operator tokenize with TOKEN_PARSE flag fails
|
Bug #80462: Nullsafe operator tokenize with TOKEN_PARSE flag fails
|
||||||
|
--EXTENSIONS--
|
||||||
|
tokenizer
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Tokenization of namespaced names
|
Tokenization of namespaced names
|
||||||
|
--EXTENSIONS--
|
||||||
|
tokenizer
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Calling XSLTProcessor::transformToDoc() without stylesheet
|
Calling XSLTProcessor::transformToDoc() without stylesheet
|
||||||
|
--EXTENSIONS--
|
||||||
|
xsl
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
compress.zlib:// wrapper with compression level
|
compress.zlib:// wrapper with compression level
|
||||||
|
--EXTENSIONS--
|
||||||
|
zlib
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php in_array('compress.zlib', stream_get_wrappers()) || print 'skip No zlib wrapper';
|
<?php in_array('compress.zlib', stream_get_wrappers()) || print 'skip No zlib wrapper';
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue