php-8.0.30-src/ext/mbstring/tests/bug65544.phpt

11 lines
381 B
PHP

--TEST--
Bug #65544: mb title case conversion-first word in quotation isn't capitalized
--SKIPIF--
<?php require 'skipif.inc'; ?>
--FILE--
<?php
var_dump(mb_convert_case("\"or else it doesn't, you know. the name of the song is called 'haddocks' eyes.'\"", MB_CASE_TITLE));
?>
--EXPECT--
string(80) ""Or Else It Doesn't, You Know. The Name Of The Song Is Called 'Haddocks' Eyes.'""