1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00
Commit Graph

643 Commits

Author SHA1 Message Date
Jawira Portugal
a7d00d0b91 Update FilesystemIterator::__construct doc for php 8.2
Closes GH-2081.
2022-12-16 10:58:13 +01:00
Christoph M. Becker
071a588364 Fix xpointer expressions
When removing the `not()` operator, some closing parentheses have been
overlooked, which resulted in broken xpointer expressions.
2022-12-13 12:13:33 +01:00
Máté Kocsis
bfef87dc15 Use new ext/spl role values (#2074) 2022-12-13 10:51:54 +01:00
Máté Kocsis
d51166ca16 Add ext/spl methodsynopsis roles (#2073) 2022-12-13 10:33:30 +01:00
Máté Kocsis
09c49da6f0 Update Error, Exception, and Throwable role attributes (#2069) 2022-12-11 23:32:45 +01:00
Máté Kocsis
5764345c86 Update some newly clarified types (#1946) 2022-11-07 06:01:12 +01:00
Máté Kocsis
790f855935 Add inherited constants to SPL Data structures (#1949) 2022-11-07 00:35:10 +00:00
Máté Kocsis
30c3c56047 Sync ext/spl class constants with stubs - part 1 (#1943) 2022-11-04 19:08:56 +01:00
George Peter Banyard
70ac605e66 iterator_to_array() and iterator_count() now accepts arrays (#1938)
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
2022-11-04 12:54:17 +00:00
Máté Kocsis
b5525a1412 Use the alias entity everywhere (#1800) 2022-09-06 21:10:52 +01:00
Christoph M. Becker
56e9ece746 Fix GH-1707: Document requirements for ArrayObject $iteratorClass 2022-07-21 13:53:10 +02:00
Derick Rethans
850f18db7f Fixed duplicated > 2022-06-02 11:44:10 +01:00
Christoph M. Becker
4225e50bc3 Fix GH-1571: f/sscanf() do not mention assignment suppression feature 2022-05-09 14:49:30 +02:00
Christoph M. Becker
34a35a3681 Fix GH-1561: SplPriorityQueue & friends don't have a constructor 2022-04-29 14:32:03 +02:00
George Peter Banyard
fda6c4efe2 Update SPL class construtor pages (#1466)
Add missing changelogs for changes in PHP 8
2022-04-07 12:40:48 +01:00
Máté Kocsis
72d156e206 Sync DirectoryIterator method return types (#1293) 2022-03-31 08:34:47 +02:00
Christoph M. Becker
443531f6c6 Fix GH-1467: SplObjectStorage::removeAll does not return the number of removed objects 2022-03-18 11:03:15 +01:00
Christoph M. Becker
604002c979 Fix GH-1433: SplFixedArray changelog states IteratorAggregate happened in 8.1 2022-02-28 13:19:23 +01:00
Máté Kocsis
302039194a Add some missing ext/spl method includes (#1294) 2022-01-04 11:47:29 +01:00
Máté Kocsis
4c0d1f0934 Regenerate ext/spl method synopses based on stubs (#1273)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-12-28 18:34:24 +01:00
Máté Kocsis
e5021b6d8b Generate various class synopses from stubs - part 2 (#1251)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-12-26 12:10:36 +01:00
Máté Kocsis
18ca6ac7ad Generate ext/spl class synopses from stubs - part 7 (#1243) 2021-12-23 14:16:36 +01:00
Máté Kocsis
a734201746 Generate ext/spl class synopses from stubs - part 6 (#1242) 2021-12-23 13:36:47 +01:00
Máté Kocsis
0773339dce Generate various method synopses from stubs - part 5 (#1234) 2021-12-22 14:18:28 +01:00
Máté Kocsis
6aa7e06adb Generate ext/spl class synopses from stubs - part 5 (#1236) 2021-12-22 13:48:26 +01:00
Máté Kocsis
e22c3d3201 Generate ext/spl class synopses from stubs - part 4 (#1235) 2021-12-22 13:36:31 +01:00
Máté Kocsis
c80e398bcb Generate ext/spl class synopses from stubs - part 3 (#1224)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-12-21 15:31:10 +01:00
Máté Kocsis
455d218f86 Generate ext/spl class synopses from stubs - part 2 (#1223) 2021-12-21 14:21:47 +01:00
Máté Kocsis
9eb4ef92af Generate ext/spl class synopses from stubs - part 1 (#1222) 2021-12-21 14:02:50 +01:00
Tyson Andre
8d226f128f Link to spl_object_id from similar functions
Using an integer is faster and more memory-efficient than creating a 32-byte
string hash.

`runkit7_object_id` is one way to polyfill PHP 7.2+ `spl_object_id`
in older PHP 7 versions and continues to exist in the PECL.

Closes GH-1198.
2021-12-12 16:15:16 +01:00
Christoph M. Becker
61a690b59c Revert "Revert "Autoloaders receive the FQN as written, not lower-cased""
This reverts commit 1fd2694499.

Actually, all was good with the first commit.  The fact that the lower-
cased FQN is searched, is already conveyed in the description of the
`$file_extensions` parameter.
2021-11-25 15:34:39 +01:00
Christoph M. Becker
1fd2694499 Revert "Autoloaders receive the FQN as written, not lower-cased"
This reverts commit 046e85df78.

While "autoloaders receive the FQN as written" is true,
`spl_autoload()` actually lower-cases the FQN:
<https://github.com/php/php-src/blob/php-8.1.0/ext/spl/php_spl.c#L314>
2021-11-25 15:04:46 +01:00
Christoph M. Becker
046e85df78 Autoloaders receive the FQN as written, not lower-cased 2021-11-23 12:43:07 +01:00
DmitryTronin
610ac95b98 Remove incorrect return comment for ArrayObject::unserialize
Closes GH-1101.
2021-11-16 17:09:22 +01:00
Yoshinari Takaoka
7859cc5649 deleted duplicate returnvalues section. 2021-10-09 01:11:39 +09:00
George Peter Banyard
8dba51217b Normalise SPL sorting docs with array ones (#925) 2021-10-08 15:29:02 +01:00
George Peter Banyard
18b8af40b8 Update param name in SplFileObject::fputcsv 2021-09-28 19:28:06 +01:00
Sergey Panteleev
fcbbbd9fda [PHP 8.1] Update fputcsv and SplFileObject::fputcsv description (#978) 2021-09-28 14:18:31 +03:00
Yoshinari Takaoka
c00a47b96e fixed refpurpose title, followed parameter name changes. 2021-08-12 21:46:14 +09:00
Yoshinari Takaoka
43ff877605 moved return value on failure description to "returnvalues" section. 2021-08-12 21:43:19 +09:00
Yoshinari Takaoka
7fd7a674de fixed XPointer evaluation failed warnings
a.k.a fixed typo.
2021-08-12 21:36:30 +09:00
Sergey Panteleev
54eeb86a9c Fix section order issues in Spl
Part of #658
2021-08-12 13:12:34 +03:00
Sergey Panteleev
400d8116f4 InheritedMethods instead of Inherits 2021-08-12 11:50:15 +03:00
Máté Kocsis
60809ebcf7 Generate ext/spl methodsynopses based on stubs (#624) 2021-08-11 23:44:41 +02:00
Peter Cowburn
2e8ef0a1bd hyphenate "object-oriented"
refs #846
2021-08-08 18:48:47 +01:00
Máté Kocsis
ab57ab6849 Mark a few interfaces as oointerface rather than ooclass (#818) 2021-07-30 17:01:16 +02:00
Christoph M. Becker
7d93e0fe5e Fix #81284: str_getcsv cant parse with multibyte delimiter
There's no fun in DRY. ;)
2021-07-23 17:24:39 +02:00
Nickolas Burr
949123c45e Fix documented return type for CachingIterator::hasNext()
Closes GH-809.
2021-07-22 09:30:54 +02:00
Lee Rowlands
2ec2ad2aab Fix typehint
Closes GH-788.
2021-07-16 15:09:14 +02:00
Kamil Tekiela
04df229c53 Fix remaining usages of __autoload (#752) 2021-07-11 17:00:43 +01:00