mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Remove unnecessary mbstring skipifs
These functions are always available (if the extension is available at all).
This commit is contained in:
parent
1eaaabca2b
commit
a06d015e61
@ -2,10 +2,6 @@
|
||||
Test mb_strpos() function : mb_strpos bounds check is byte count rather than a character count
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strpos') or die("skip mb_strpos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrpos() function : mb_strrpos offset is byte count for negative values
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strtolower() function : Two error messages returned for incorrect encoding for mb_strto[upper|lower]
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtolower') or die("skip mb_strtolower() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,11 +2,6 @@
|
||||
mb_strtoupper() / mb_strtolower()
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtolower') and
|
||||
function_exists('mb_convert_case' ) or die("skip mb_convert_case() is not available");
|
||||
?>
|
||||
--INI--
|
||||
output_handler=
|
||||
--FILE--
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_convert_encoding() function : array functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_convert_encoding') or die("skip mb_convert_encoding() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_convert_encoding() function : Circular references
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_convert_encoding') or die("skip mb_convert_encoding() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_convert_encoding() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_convert_encoding') or die("skip mb_convert_encoding() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_convert_encoding() function : empty encoding list
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_convert_encoding') or die("skip mb_convert_encoding() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
Testing mb_convert_kana() function
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!function_exists("mb_convert_kana")) print "skip mb_convert_kana() not available";
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$zenKakuA = 'ァアィイゥウェエォオカガキギク';
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_decode_mimeheader() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_decode_mimeheader') or die("skip mb_decode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_decode_mimeheader() : basic functionality ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_decode_mimeheader() function : variation
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_decode_mimeheader') or die("skip mb_decode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_decode_mimeheader() : variation ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_decode_mimeheader() function : variation
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_decode_mimeheader') or die("skip mb_decode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_decode_mimeheader() : variation ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_decode_numericentity() function : Convert HTML-Entities to UTF-8
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_encode_mimeheader') or die("skip mb_encode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$str1 = '¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ';
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_encode_mimeheader() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_encode_mimeheader') or die("skip mb_encode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_encode_mimeheader() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_encode_mimeheader') or die("skip mb_encode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_encode_mimeheader() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_encode_mimeheader') or die("skip mb_encode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_encode_mimeheader() function : basic functionality, indent
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_encode_mimeheader') or die("skip mb_encode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]]]])
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_encode_mimeheader() function : usage variations - Pass different strings to $linefeed arg
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_encode_mimeheader') or die("skip mb_encode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]]]])
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_encode_numericentity() function : Convert UTF-8 to HTML-Entities
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_encode_mimeheader') or die("skip mb_encode_mimeheader() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$str1 = '¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ';
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_internal_encoding() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -7,10 +7,6 @@ output_encoding="ISO-8859-1"
|
||||
internal_encoding="ISO-8859-1"
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_internal_encoding() function : error conditions - pass an unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test INI mbstring.internal_encoding basic - encoding when valid specified
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
|
||||
?>
|
||||
--INI--
|
||||
mbstring.internal_encoding=ISO-8859-7
|
||||
--FILE--
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test INI mbstring.internal_encoding basic - invalid encoding specified in INI
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
|
||||
?>
|
||||
--INI--
|
||||
mbstring.internal_encoding=BAD
|
||||
--FILE--
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_internal_encoding() function : usage variations - Test different encodings
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
mb_strcut() missing boundary check.
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_convert_encoding') or die("skip mb_convert_encoding() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
mb_internal_encoding("UCS-4LE");
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_stripos() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_stripos() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_stripos() function : with empty needle
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_stripos() function : error conditions - Pass unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_stripos() function : usage variations - Pass different integers as $offset argument
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_stristr() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stristr') or die("skip mb_stristr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_stristr() : basic functionality ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_stristr() function : with empty needle
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stristr') or die("skip mb_stristr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_stristr() function : error conditions
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stristr') or die("skip mb_stristr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_stristr() : error conditions ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_stristr() function : usage variation - multiple needles
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_stristr') or die("skip mb_stristr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_stristr() : basic functionality ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strlen() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strlen') or die("skip mb_strlen() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strlen() function : error conditions - pass an unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strlen') or die("skip mb_strlen() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strlen() function : usage variations - Pass list of encodings
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strlen') or die("skip mb_strlen() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strpos() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strpos') or die("skip mb_strpos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strpos() function : with empty needle
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strpos') or die("skip mb_strpos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strpos() function : error conditions - Pass unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strpos') or die("skip mb_strpos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strpos() function : usage variations - Pass different integers as $offset argument
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strpos') or die("skip mb_strpos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrchr() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strrchr() : basic functionality ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrchr() function : with empty needle
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrchr() function : error conditions
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strrchr() : error conditions ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrchr() function : variation - multiple needles
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strrchr() : variation ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrchr() function : variation - case sensitivity
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strrchr() : variation ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrichr() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrichr') or die("skip mb_strrichr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strrichr() : basic functionality ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrichr() function : error conditions
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrichr') or die("skip mb_strrichr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strrichr() : error conditions ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrichr() function : usage variation - multiple needles
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrichr') or die("skip mb_strrichr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strrichr() : basic functionality ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strripos() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strripos() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strripos() function : with empty needle
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strripos() function : error conditions - Pass unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strripos() function : usage variations - Pass different integers as $offset argument
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrpos() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrpos() function : with empty needle
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strrpos() function : error conditions - pass an unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strstr() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strstr') or die("skip mb_strstr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strstr() : basic functionality ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strstr() function : with empty needle
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strstr') or die("skip mb_strstr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strstr() function : error conditions
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strstr') or die("skip mb_strstr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strstr() : error conditions ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strstr() function : variation - multiple needles
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strstr') or die("skip mb_strstr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strstr() : variation ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strstr() function : variation - case sensitivity
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strstr') or die("skip mb_strstr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo "*** Testing mb_strstr() : variation ***\n";
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strtolower() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtolower') or die("skip mb_strtolower() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strtolower() function : error conditions - pass an unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtolower') or die("skip mb_strtolower() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strtolower() function : usage variations - pass mixed ASCII and non-ASCII strings
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtolower') or die("skip mb_strtolower() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strtolower() function : usage variations - pass different characters to check conversion is correct
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtolower') or die("skip mb_strtolower() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strtoupper() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strtoupper() function : error conditions - pass an unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strtoupper() function : usage varitations - pass mixed ASCII and non-ASCII strings
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_strtoupper() function : usage varitations - Pass different character types to check conversion is correct
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_substr() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_substr') or die("skip mb_substr() is not available in this build");
|
||||
?>
|
||||
--INI--
|
||||
internal_encoding=ISO-8859-1
|
||||
--FILE--
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_substr_count() function : basic functionality
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_substr_count') or die("skip mb_substr_count() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_substr_count() function : error conditions - pass unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_substr_count') or die("skip mb_substr_count() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_substr_count() function : variation - pass a $needle that overlaps in $haystack
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_substr_count') or die("skip mb_substr_count() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_substr() function : error conditions - Pass an unknown encoding
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_substr') or die("skip mb_substr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_substr() function : usage variations - pass different integers to $start arg
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_substr') or die("skip mb_substr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_substr() function : usage variations - pass different integers to $length arg
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_substr') or die("skip mb_substr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_substr() function : usage variations - pass different integers to $start arg
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_substr') or die("skip mb_substr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
@ -2,10 +2,6 @@
|
||||
Test mb_substr() function : usage variations - pass different integers to $length arg
|
||||
--EXTENSIONS--
|
||||
mbstring
|
||||
--SKIPIF--
|
||||
<?php
|
||||
function_exists('mb_substr') or die("skip mb_substr() is not available in this build");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user