1829 Commits

Author SHA1 Message Date
Wade Rossmann
349f6f64ec Change the T_PAAMAYIM_NEKUDOTAYIM link text (GH-3508)
Original "::" is repetitive and difficult to see.

Changed to "scope resolution" for clarity.
2024-10-08 13:03:17 +02:00
Christoph M. Becker
0b48d83885 Add missing new classes to migration guides (#3832)
While these are already documented in the incompatible changes section
regarding the resource to object conversions, they should also be
listed explicitly as new classes.
2024-10-05 19:41:34 +01:00
Gina Peter Banyard
b012e0dd83 Rewrite and flesh out string interpolation docs (#2000)
* Rewrite and flesh out string interpolation docs

This covers the PHP 8.2.0 deprecation of interpolation
It also renames simple to basic and complex to advanced, as those don't make a judgement on complexity

* Remove variable variable examples, add more examples, review comments

* Change ID for basic/advanced string interpolation

* Define the formal syntax and remove clunky wording

* Re-add example for bug 81635 fix
2024-10-02 16:53:46 +01:00
Tim MacDonald
8859c8b96c Standardise casting spacing (#2717) 2024-09-11 14:29:15 +01:00
Niels Dossche
8598998a73 Remove incorrect migration entry (#3681) 2024-08-25 13:18:14 +02:00
Christoph M. Becker
aa4ea6fd0a Remove extension state tags which do no longer apply (GH-3644) 2024-08-07 22:01:19 +02:00
Jim Winstead
a94ea52098 Update extensions lists by status (fixes GH-3643) (GH-3645)
Includes fixing invalid states for gnupg and svn
2024-08-07 21:31:27 +02:00
Juliette
463a6ab544 Extensions/Membership: fix placement of HRTime (#3610)
Updates: https://www.php.net/manual/en/extensions.membership.php

Please correct me if I'm wrong, but AFAIK, HRTime is a PECL extension and not bundled extension.

Refs:
https://www.php.net/manual/en/hrtime.installation.php

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2024-07-26 03:57:18 +01:00
Mikhail Alferov
1422d543bf new-features.xml: make the example live and add the heredoc variant (#3585) 2024-07-26 03:50:31 +01:00
Jim Winstead
fecf93309b Add history for PHP 6, 7, and 8 (#3358) (#3576) 2024-07-23 15:01:29 -07:00
Gin
a989e5f21d Update incompatible.xml: Move number_format() notice of out range() notice (#3535) 2024-07-09 16:19:32 +01:00
Niels Dossche
6d46a5549b Remove obsolete function alias
This appears to be from the PHP4 era "DOM XML" extension, and thus can be
removed from the manual.
2024-07-09 16:10:45 +01:00
Niels Dossche
1189d64407 Use inclusive language in aliases.xml 2024-07-09 16:10:45 +01:00
Mikhail Alferov
1268a5eebb transports.xml: amend the link text (#3498)
The link text talks about the `Sockets Extension`, and the actual link leads to the list of functions of the `Socket class` (of Sockets Extension).

If I haven't got confused myself yet, and I understand correctly that the Sockets extension contains a Socket class that defines a list of socket functions, then I think it would be useful to correct the link text and add the extension name after it
2024-07-07 15:06:13 +01:00
haszi
592b824dd7 Add DEBUG_BACKTRACE constants (#3503)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-06 09:43:55 +01:00
Ilija Tovilo
40364a64d7 Clarify return value of strcmp() and friends (#3450)
Fixes GH-3223
2024-06-16 23:51:05 +01:00
Gina Peter Banyard
0ba1c35312 Update disable_classes and disabled_functions INI settings (#2681) 2024-05-25 14:10:52 +01:00
Yoshinari Takaoka
617b58b308 fixed parameter name of posix_getrlimit()
refs: https://www.php.net/manual/en/function.posix-getrlimit.php
2024-05-18 19:26:06 +09:00
Gina Peter Banyard
9c422d0dd7 Fix markup issues for migration guides 2024-04-22 13:26:30 +01:00
haszi
61374bbe22 Change literal to constant tags 2024-04-16 10:45:49 +01:00
Martin Samesch
e1e0c52f12 Fix typos (#3312) 2024-04-15 20:29:01 +00:00
Maxim Lavrinenko
ccdbd1bd5a fix: document BC on count function in PHP 8.0 (#3290) 2024-04-12 16:28:21 +01:00
Mikhail Alferov
97fb839209 migration83/incompatible.xml: remove the extra parentheses (#3303) 2024-04-06 23:11:23 +02:00
Ilija Tovilo
a6df44ac37 Document number_format() $decimals change (#3302)
Closes https://github.com/php/php-src/issues/13866
2024-04-02 12:10:07 +02:00
Mikhail Alferov
b37727abaf LDAP: Fix wrong parameter name serverctrls to controls (#3270) 2024-03-17 18:08:12 +00:00
haszi
28f0dc949d Remove links from within constant tags (#3265)
Co-authored-by: haszi <haszika80@gmail.com>
2024-03-17 17:56:30 +00:00
haszi
f80105b4fc Remove constant tag from literal values (#3251)
* Remove constant tag from literal values

* [skip-revcheck] Fix whitespace

---------

Co-authored-by: haszi <haszika80@gmail.com>
2024-03-10 21:34:11 +01:00
haszi
270a871223 Add token constant IDs (#3246)
Co-authored-by: haszi <haszika80@gmail.com>
2024-03-07 14:38:50 +00:00
haszi
61eadb7727 Add CLI constants to core constant list (#3244)
Co-authored-by: haszi <haszika80@gmail.com>
2024-03-07 14:35:42 +00:00
haszi
e43797863f Update COMPILER_HALT_OFFSET ID (#3229)
Co-authored-by: haszi <haszika80@gmail.com>
2024-03-02 11:52:32 +00:00
haszi
ab994f24fd Remove link to __TRAIT__ (#3228)
Co-authored-by: haszi <haszika80@gmail.com>
2024-02-29 16:48:17 +00:00
haszi
18c50932ca [skip-revcheck] Fix error constant IDs (#3206)
Remove IDs from error constants on the core constants page.
Standardize constant IDs on the error handling constant page.

---------

Co-authored-by: haszi <haszika80@gmail.com>
2024-02-28 20:08:00 +00:00
Gina Peter Banyard
d4d5216e7a [skip-revcheck] Replace PHP_INI_* with INI_* constants
Performed via a bash script which can be found on PR GH-3140

Closes GH-3140

Co-authored-by: haszi <haszika80@gmail.com>
2024-01-26 14:00:36 +00:00
mowangjuanzi
c308ed37a9 Fix markup to only have the parameter name in the tag (#3132) 2024-01-23 13:34:23 +00:00
haszi
87fa7783ea Cleanup of ini.list (#3107)
* Use literal tags and fix wording
* Add note on sql.safe-mode being removed as of PHP 7.2

---------

Co-authored-by: haszi <haszika80@gmail.com>
2024-01-15 10:05:17 +00:00
haszi
c2c5f47c53 Update output control configuration page (#3098)
* Add url-rewriter.hosts to and update ini.url-rewriter.tags php.ini list
* Add note on using duplicate tags in url-rewriter.tags
* Add literal tags, double quotes and null entity as appropriate

---------

Co-authored-by: haszi <haszika80@gmail.com>
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-01-12 16:05:35 +00:00
haszi
140689d219 Add missing ZEND constants and descriptions of their PHP aliases (#3054)
Co-authored-by: haszi <haszika80@gmail.com>
2024-01-06 13:17:02 +00:00
Martin Samesch
307ee0078a [skip-revcheck] Fix typo 2023-12-31 08:51:21 +01:00
Martin Samesch
2a6b83edea Fix typos (#3046)
* Fix typos

Co-authored-by: Gina Peter Banyard <girgias@php.net>
2023-12-29 15:51:11 +00:00
Gina Peter Banyard
97c4cc9220 XML ID should be 73 for the 7.3 migration guide 2023-12-16 16:48:50 +00:00
Kamil Tekiela
28529d3539 Remove unnecessary parentheses 2023-12-11 21:51:20 +01:00
Yoshinari Takaoka
64df411757 Deleted DOMDocument::loadXMLFile() reference from migration83 (#2971) 2023-11-27 01:33:56 +00:00
Yoshinari Takaoka
dd5bc4f374 Removed pgsql pipeline related functions from migration83 (#2959) 2023-11-22 16:39:54 +00:00
naopusyu
d5a469df43 Remove duplicate mention of IntlCalendar (#2950) 2023-11-19 07:29:37 +00:00
Jakub Zelenka
1b964cf138 Add note about proc_open changes in 8.3 for invalid command in array (#2937) 2023-11-13 12:30:51 +00:00
Yoshinari Takaoka
9c828621cb [PHP 8.3] Calling Phar::setStub() with a resource and a $length is now deprecated. (#2916) 2023-11-06 11:57:17 +00:00
Yoshinari Takaoka
224e2a4676 Fixed invalid method name 2023-11-05 10:02:56 +09:00
Yoshinari Takaoka
e795104468 Followed PHP-8.3 changes about IntlDateFormatter::construct exception (#2905)
d4183c2c91
2023-11-04 13:51:51 +00:00
Yoshinari Takaoka
6c4b60507a Added fallback/default ini variable syntax change to migration83. (#2902) 2023-11-02 16:49:00 +00:00
Yoshinari Takaoka
dff1778cf6 Added Date/Time related new Error/Exception classes to migration83 guide (#2894) 2023-10-29 14:42:52 +00:00