Skip to content

Commit 4083600

Browse files
committed
Port mbstring to use EXTENSIONS
1 parent 8567bc1 commit 4083600

32 files changed

+62
-73
lines changed

ext/mbstring/tests/bug62934.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #62934: mb_convert_kana() does not convert iteration marks
3-
--SKIPIF--
4-
<?php require 'skipif.inc'; ?>
3+
--EXTENSIONS--
4+
mbstring
55
--FILE--
66
<?php
77
echo mb_convert_kana('あゝすゞめアヽスヾメ', 'C', 'UTF-8') . "\n";

ext/mbstring/tests/bug65544.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #65544: mb title case conversion-first word in quotation isn't capitalized
3-
--SKIPIF--
4-
<?php require 'skipif.inc'; ?>
3+
--EXTENSIONS--
4+
mbstring
55
--FILE--
66
<?php
77
var_dump(mb_convert_case("\"or else it doesn't, you know. the name of the song is called 'haddocks' eyes.'\"", MB_CASE_TITLE));

ext/mbstring/tests/bug69267.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #69267: mb_strtolower fails on titlecase characters
3-
--SKIPIF--
4-
<?php require 'skipif.inc'; ?>
3+
--EXTENSIONS--
4+
mbstring
55
--FILE--
66
<?php
77

ext/mbstring/tests/bug71298.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #71298: MB_CASE_TITLE misbehaves with curled apostrophe/quote (HTML &rsquo;)
3-
--SKIPIF--
4-
<?php require 'skipif.inc'; ?>
3+
--EXTENSIONS--
4+
mbstring
55
--FILE--
66
<?php
77
echo mb_convert_case("People's issues versus people’s issues", MB_CASE_TITLE);

ext/mbstring/tests/bug72399.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
--TEST--
22
Bug #72399 (Use-After-Free in MBString (search_re))
3+
--EXTENSIONS--
4+
mbstring
35
--SKIPIF--
46
<?php
5-
require 'skipif.inc';
67
if (!function_exists('mb_ereg')) die('skip mbregex support not available');
78
?>
89
--FILE--

ext/mbstring/tests/bug73532.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
--TEST--
22
Bug #73532 (Null pointer dereference in mb_eregi)
3+
--EXTENSIONS--
4+
mbstring
35
--SKIPIF--
46
<?php
5-
require 'skipif.inc';
67
if (!function_exists('mb_ereg')) die('skip mbregex support not available');
78
?>
89
--FILE--

ext/mbstring/tests/bug73646.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
--TEST--
22
Bug #73646 (mb_ereg_search_init null pointer dereference)
3+
--EXTENSIONS--
4+
mbstring
35
--SKIPIF--
46
<?php
5-
require 'skipif.inc';
67
if (!function_exists('mb_ereg')) die('skip mbregex support not available');
78
?>
89
--FILE--

ext/mbstring/tests/bug76532.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #76532 (Integer overflow and excessive memory usage in mb_strimwidth)
3-
--SKIPIF--
4-
<?php require 'skipif.inc'; ?>
3+
--EXTENSIONS--
4+
mbstring
55
--FILE--
66
<?php
77
$string_to_trim = '得很幸福。有一天,一个长得很丑的老人带着一只木马来到王';

ext/mbstring/tests/bug77165.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #77165: mb_check_encoding crashes when argument given an empty array
3-
--SKIPIF--
4-
<?php require 'skipif.inc'; ?>
3+
--EXTENSIONS--
4+
mbstring
55
--FILE--
66
<?php
77
var_dump(mb_check_encoding(array()));

ext/mbstring/tests/bug77454.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #77454: mb_scrub() silently truncates after a null byte
3-
--SKIPIF--
4-
<?php require 'skipif.inc'; ?>
3+
--EXTENSIONS--
4+
mbstring
55
--FILE--
66
<?php
77
$str = "before\0after";

0 commit comments

Comments
 (0)