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

32 Commits

Author SHA1 Message Date
Louis-Arnaud
a0d6215110 Document offsetSet() as alias of deprecated SplObjectStorage::attach() (#5089)
`SplObjectStorage::offsetSet()` is an alias of `SplObjectStorage::attach()`,
which is deprecated as of PHP 8.5.

This change makes the alias relationship explicit in the documentation.
Issue: https://github.com/php/doc-en/issues/4957
2026-01-11 14:49:45 +00:00
Tim Düsterhus
ce98b568f8 Add &warn.deprecated.function-*; to all deprecated functions 2025-10-04 16:28:55 +02:00
Tim Düsterhus
42d5fb01e0 Update function attributes
Generated with:

     build/gen_stub.php --replace-methodsynopses **.stub.php ../phpdoc/en/

And then manually picked the changes.
2025-10-04 16:04:02 +02:00
Gina Peter Banyard
434557c58b PHP 8.4: Document SplObjectStorage::seek() (#4048)
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2024-11-12 18:08:47 +00:00
Christoph M. Becker
6d29533483 Fix GH-2156: stdClass is spelled in different cases: StdClass / stdclass
Closes GH-2157.
2023-01-10 11:56:39 +01:00
Máté Kocsis
d51166ca16 Add ext/spl methodsynopsis roles (#2073) 2022-12-13 10:33:30 +01: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
Máté Kocsis
0773339dce Generate various method synopses from stubs - part 5 (#1234) 2021-12-22 14:18:28 +01:00
Máté Kocsis
60809ebcf7 Generate ext/spl methodsynopses based on stubs (#624) 2021-08-11 23:44:41 +02:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Peter Cowburn
62e53a77cf Both offsetSet and offsetGet have a note stating they are a method alias, but this one did not. Adding for completeness.
-- 
Provided by anonymous #19341 (leight@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327145 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-16 09:24:15 +00:00
Peter Cowburn
fa9c9d06dd minor improvements for SplObjectStorage::getHash() (doc #60643)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326298 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-22 20:49:42 +00:00
Peter Cowburn
4d81bf2025 typofix "aly"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325727 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-16 19:35:11 +00:00
Levi Morrison
ccdc549169 Added the exceptions thrown when you call SplHeap::extract, SplHeap::top, and SplObjectStorage::offsetGet.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320973 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-13 20:37:12 +00:00
Peter Cowburn
c5d8fbe414 whitespace, spelling, grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319559 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-19 21:09:00 +00:00
Gustavo André dos Santos Lopes
13e91b1a12 ws in the example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319550 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-19 17:37:00 +00:00
Gustavo André dos Santos Lopes
8262c06d5f Documentation for SplObjectStorage::getHash().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319549 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-19 17:36:18 +00:00
Richard Quadling
8b6d169424 Native EOL
Use consistent line terminator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317663 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-03 16:27:39 +00:00
Jakub Vrana
21be1f8b3b New methods and iterators
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312704 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 15:13:02 +00:00
Richard Quadling
877194124d Match SPLObjectStorage::offsetset() prototype to SPLObjectStorage::attach().
Fix documentation aspect of bug #54188

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308807 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-01 10:10:43 +00:00
Jakub Vrana
d3c871ae1e Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308253 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-11 13:16:13 +00:00
Etienne Kneuss
4a135450b4 Fixed example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307482 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-14 17:14:48 +00:00
Richard Quadling
b78db5931b Added complete svn:keyword list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307472 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-14 11:43:36 +00:00
Etienne Kneuss
f8c6655fc7 Documentation for SplObjectStorage::removeAllExcept (Patch by Matthew Turland)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307130 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-05 15:06:50 +00:00
Daniel Egeberg
2b587ab01f Normalized initializer NULL-values to use the &null; entity:
for file in `find -name '*.xml'`; do sed -i -e 's/<initializer>null<\/initializer>/<initializer>\&null;<\/initializer>/i' $file; done



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298918 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-03 17:10:04 +00:00
Jakub Vrana
201dc3748c Prefer <initializer> before "defaults to"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Richard Quadling
710898e951 Added changelog for SPLObjectStorage->attach(). Fix bug#50120
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290411 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 11:48:23 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
e3d8be23f8 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283837 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 08:59:47 +00:00
Philip Olson
972343dcec Added/replaced See Also links
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278679 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-14 05:32:06 +00:00
Damien Seguy
955358890e small improvements
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278669 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-13 19:26:34 +00:00
Etienne Kneuss
ce5086646d Document splobjectstorage
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278609 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-12 02:23:43 +00:00