Commit graph

353 commits

Author SHA1 Message Date
Derick Rethans
0b54d0b797 Fixed typo in method name 2022-06-02 17:03:06 +01:00
Christoph M. Becker
da9e1ca208
Collator::create() does not accept null
Cf. <https://github.com/php/doc-en/pull/1551#issuecomment-1110886470>.
2022-04-27 13:43:07 +02:00
Christoph M. Becker
69e0955f7b
Fix GH-1550: Collator::__construct() does not accept null 2022-04-27 12:24:11 +02:00
Máté Kocsis
2d0fa22cc2
Adjust formatting of intldatepatterngenerator.xml according to gen_stub.php (#1531) 2022-04-20 16:02:47 +02:00
Máté Kocsis
bc3e9a2933
Generate methodsynopses for ext/intl (idna, IntlChar) (#905) 2022-04-14 08:35:42 +02:00
Máté Kocsis
ef3ba2aad1
Generate ext/intl methodsynopses based on stubs (IntlTimeZone) (#911) 2022-04-13 21:50:57 +01:00
George Peter Banyard
fe5841adc7 Remove return value section for Intl constructors 2022-04-08 00:49:02 +01:00
George Peter Banyard
73fae4ee51
Fix syntax errors in examples (#1504) 2022-04-05 11:15:46 +01:00
Rowan Tommins
99d758bd25
Improve documentation of string encoding conversion functions
- Move utf8_encode and utf8_decode into the strings chapter, since
  they were moved out of the XML extension in 7.2
- Recommend mb_convert_encoding, iconv, and UConverter::transcode
  when mentioning encoding in passing
- Document UConverter::transcode, based on examination of source
  and upstream ICU docs
- Make the language used more consistent, e.g. "convert" rather
  than "encode"/"decode", "encoding" rather than "charset"

Closes GH-1418.
2022-04-04 12:24:24 +02:00
Sergey Panteleev
fe35f4a173
[PHP 8.1] Add IntlDatePatternGenerator description (#1026)
* [PHP 8.1] Add IntlDatePatternGenerator description
2022-03-30 15:33:06 -05:00
Máté Kocsis
7a650f743a
Generate ext/intl class synopses from stubs - part 3 (#1274) 2021-12-28 17:10:33 +01:00
Máté Kocsis
ecabddd456
Generate ext/intl methodsynopses based on stubs (IntlGregorianCalendar, IntlIterator, IntlRuleBasedBreakIterator) (#912) 2021-12-27 13:02:52 +01:00
Máté Kocsis
4c2cddb29b
Generate ext/intl class synopses from stubs - part 2 (#1249)
* Generate ext/intl class synopses from stubs - part 2

* Code review fix
2021-12-25 16:53:23 +01:00
Máté Kocsis
a6591916b7
Generate ext/intl classsynopses from stubs - part 1 (#1248) 2021-12-24 13:52:59 +01:00
Christoph M. Becker
2790c0fd69
Fix GH-1181: Incorrect example for IntlDateFormatter::setPattern()
In addition to fixing the format specifiers, we also echo line breaks,
so the output matches the example code.
2021-12-08 11:23:17 +01:00
Cédric Anne
fce2e1a41a
datefmt_create(): $dateType and $timeType don't accept null
See https://github.com/php/php-src/pull/7640

Closes GH-1086.
2021-11-11 23:45:52 +01:00
Yoshinari Takaoka
8797a9435f
fixed IntlChar::charFromName example return value. (#1031) 2021-10-18 20:09:15 +09:00
Máté Kocsis
65a1dc500d
Generate methodsynopses from stubs for ext/intl (IntlCalendar) (#996) 2021-10-11 15:02:12 +02:00
Máté Kocsis
ed289c6f07
Generate methodsynopses from stubs for ext/intl (IntlBreakreakIterator) (#904) 2021-10-08 11:19:48 +01:00
George Peter Banyard
70d770d10c
Remove superficial &gt; 2021-09-06 01:02:03 +01:00
George Peter Banyard
1af53eeb26
Use correct param name 2021-09-05 17:12:27 +01:00
George Peter Banyard
ab45e8c9d4
[skip-revcheck] Fix typo in example title 2021-09-05 16:16:46 +01:00
Máté Kocsis
6fcf444471
Generate ext/intl methodsynopses based on stubs (Locale)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-910.
2021-09-05 14:58:44 +02:00
Máté Kocsis
9c5aaaab3c
Generate ext/intl methodsynopses based on stubs (MessageFormatter, Normalizer)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-909.
2021-09-05 14:38:03 +02:00
Máté Kocsis
19726d906f
Generate ext/intl methodsynopses based on stubs (NumberFormatter, ResourceBundle)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-908.
2021-09-05 13:58:06 +02:00
Máté Kocsis
c67537e2d4
Generate ext/intl methodsynopses from stubs (Spoofchecker, Transliterator)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-907.
2021-09-05 13:41:20 +02:00
Máté Kocsis
4aff696ed0
Generate ext/intl methodsynopses from stubs (UConverter)
Closes GH-906.
2021-09-05 13:28:47 +02:00
Steven Jones
1fe998d37c
Add missing documentation for value parameter of numfmt_parse
Closes GH-897.
2021-09-03 17:40:36 +02:00
Adrien Crivelli
235297daed
Fix #81383: Locale::lookup / locale_lookup incorrectly returns null instead of default
INTL_MAX_LOCALE_LEN limits the length of accepted locale. Anything
longer than that will result in a failure and the value returned
will either be `null` or `false`. So documentation must reflect that
in the return types.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-883.
2021-08-27 14:41:52 +02:00
Derick Rethans
388226f9e1 Merge branch 'master' of github.com:php/doc-en 2021-08-06 17:33:28 +01:00
Derick Rethans
7f6b41f74c Document comparison ignoring diacritics and case sensitivity 2021-08-06 17:32:19 +01:00
Sergey Panteleev
f411d6bbf1
Collator enhancement (#773) 2021-07-11 17:09:29 +03:00
Kamil Tekiela
733626c0a4
Fix example of datefmt_get_timezone_id (setTimeZoneID has been removed)
Closes GH-718.
2021-06-25 23:31:16 +02:00
Christoph M. Becker
e9340fb6bc
Fix #54176: locale_compose accepts more than 3 extlang 2021-06-15 11:35:07 +02:00
Yoshinari Takaoka
fed3682684
Fix section order issues in some extensions (#667)
Fix section order issues

- ldap
- libxml
- intl

Part of php/doc-en#658
2021-06-07 23:04:32 +09:00
Colin O'Dell
4d6b19c546
Update types for IntlChar::charType()
Based on 5b01c4863f/ext/intl/uchar/uchar.stub.php (L29-L30)

Closes GH-604.
2021-05-28 15:50:57 +02:00
Yoshinari Takaoka
7992b37212
Added PHP 8 into versions.xml for intl based on stubs. (#429) 2021-05-05 05:13:12 +09:00
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +03:00
Sergey Panteleev
5fabd07880
Removed Changelog entries for PHP 5, PHP 7.0 (#543) 2021-04-22 17:52:58 +03:00
Kamil Tekiela
9ee27f088a
Fix some common typos (#533)
* accomodate -> accommodate
* agressive -> aggressive
* begining -> beginning
* enviroment -> environment
* existance -> existence
* fourty -> forty
* foward -> forward
* futher -> further
* immediatly -> immediately
* occured -> occurred
* occuring -> occurring
* occurance, occurence -> occurrence
* prefered -> preferred
* publically -> publicly
* seperate -> separate
* compliment -> complement
2021-04-19 11:57:59 +02:00
Yoshinari Takaoka
220cd5030c fixed typo 2021-04-18 00:04:31 +09:00
Rowan Tommins
4d3d1ebea1
Document and cross-reference mb_chr() and mb_ord() (#524) 2021-04-13 14:49:11 +02:00
Christoph M. Becker
6dfe076725 xi:include INI settings documented elsewhere in ini.list
We do not xi:include core INI settings, since we want to keep
alphabetic sort order (well, roughly at least).

We do add xi:fallback elements to all xi:includes, just in case.
2021-02-24 17:58:20 +01:00
Christoph M. Becker
c3dad7c6ad datefmt_set_timezone_id() is removed as of PHP 7.0.0 2021-02-13 16:49:07 +01:00
Máté Kocsis
ce46b05403 Generate intl methodsynopses - IntlDateFormatter
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-340.
2021-02-13 16:47:02 +01:00
Máté Kocsis
b548fc8e55 Generate intl methodsynopses based on stubs - Grapheme, IDN
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-341.
2021-02-13 15:50:53 +01:00
Máté Kocsis
16152718af Generate intl function methodsynopses 2021-02-13 15:40:33 +01:00
Máté Kocsis
03841ffe37 Generate intl methodsynopses - Collator
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-339.
2021-02-13 15:38:21 +01:00
Christoph M. Becker
71b8a95796 Don't show procedural APIs of IntlCalendar in class synopsis 2021-02-03 19:49:45 +01:00
Christoph M. Becker
070bd3d077 Fix #55173: Locale::setDefault never failed 2021-02-01 15:06:58 +01:00