Christoph M. Becker
4c79733cf7
Fix typo (Avix → Avif)
2021-11-29 19:01:02 +01:00
Christoph M. Becker
e8d10b3f15
Fix GH-1164: strftime is deprecated since PHP 8.1
2021-11-29 17:35:17 +01:00
Yoshinari Takaoka
51dd596655
fixed readonly modifier link.
...
`xref linkend` leads to force all locales (translators) to `ReadOnly Properties` title.
2021-11-28 09:55:07 +09:00
Yoshinari Takaoka
d73c3dcbd6
[PHP 8.1] Document readonly properties. ( #1047 )
...
* [PHP 8.1] Document readonly properties.
* added ReflectionProperty::isReadOnly method.
* Apply suggestions from code review
Co-authored-by: Sergey Panteleev <sergey@php.net>
* Update language/oop5/properties.xml
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
* Update language/oop5/properties.xml
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
* added link to readonly-properties docs.
Co-authored-by: Sergey Panteleev <sergey@php.net>
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
2021-11-27 13:00:13 -06:00
Yoshinari Takaoka
0bbcee7822
added link for Enumerations.
2021-10-29 22:41:33 +09:00
Marco Aurélio Deleu
eb81160ac9
[80772] Add PHP 8 tokens ( #475 )
...
Co-authored-by: Sergey Panteleev <sergey@php.net>
2021-10-28 11:39:54 +03:00
Sergey Panteleev
8a04690ab3
Fix max_file_uploads
changeable value ( #1038 )
...
Closes GH-50684
Closes #1037
2021-10-22 11:06:27 +03:00
Sergey Panteleev
c2eca73ef7
[PHP 8.1] Use PgSql objects instead of resources ( #1009 )
2021-10-16 13:45:19 +03:00
Sergey Panteleev
2d99025327
[PHP 8.0] Add Semaphore opaque classes ( #1020 )
2021-10-13 19:19:36 +01:00
Yoshinari Takaoka
81b23db050
[PHP 8.1] Use an Pspell\[Dictionary|Config] instance instead of a resource ( #976 )
...
* add pspell related object class.
* changed resource list description.
* changes pspell function signature and parameters, changelog.
* use pspell.parameter.pspell-dictionary snippet.
2021-10-07 01:00:37 +09:00
Sergey Panteleev
a7e5e563d2
[PHP 8.1] Use GdFont ( #994 )
2021-10-05 15:30:01 +03:00
Yoshinari Takaoka
485e0b4b44
fixed pgsql resource name.
2021-10-01 04:50:30 +09:00
Sergey Panteleev
fbc6f9055f
[PHP 8.1] Use an LDAP instance instead of a resource ( #975 )
2021-09-30 15:43:14 +01:00
Sergey Panteleev
34892f8274
[PHP 8.1] Use an IMAP\Connection
instance instead of a resource ( #971 )
2021-09-28 19:13:36 +01:00
Sergey Panteleev
4d1c34c9b7
[PHP 8.1] Use an FTP\Connection
instance instead of a resource ( #967 )
...
Co-authored-by: Peter Cowburn <petercowburn@gmail.com>
2021-09-24 13:17:30 +03:00
George Peter Banyard
4d2479dcf3
Migration guide from PHP 8.0 to PHP 8.1 ( #941 )
...
Initial version for the PHP 8.0 to 8.1 migration guide.
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-09-22 15:13:39 +01:00
Christoph M. Becker
1b06187eb1
Recommend absolute paths for extension_dir
...
The search strategy for loading dynamic modules (dlopen/LoadLibrary)
depends on the system, and the "base" directory on the SAPI, so we
recommend to use an absolute path.
2021-09-17 18:25:54 +02:00
Tyson Andre
1f64cacbb5
Add documentation for the var_representation PECL
...
Closes GH-885.
2021-09-16 19:14:10 +02:00
Christoph M. Becker
6e67c80bc7
Revert "Fix #944 : Usage of class keyword unclear"
...
This reverts commit 57ea81ca45
.
Cf. <https://news-web.php.net/php.doc.cvs/18875 >.
2021-09-13 13:40:34 +02:00
Christoph M. Becker
57ea81ca45
Fix #944 : Usage of class keyword unclear
2021-09-13 12:38:05 +02:00
Yoshinari Takaoka
3cdd39bb95
Followed change of default value of display_startup_errors, as of PHP 8.0.0 ( #927 )
...
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-09-08 19:00:30 +09:00
Christoph M. Becker
7d5af18bbd
Document mailparse resource
2021-09-07 15:53:04 +02:00
Tyson Andre
aa19c140e6
Document the igbinary extension
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-888.
2021-09-03 15:52:16 +02:00
peterdd
9fb30ae957
Partly resolve #77017 resources table layout problem ( #895 )
...
This probably result in extra added table cells that breaks the 5 column table layout.
2021-09-03 10:06:08 +02:00
Nilgün Belma Bugüner
8afaddf6cc
for testing purposes [skip-revcheck]
2021-09-02 15:12:21 +03:00
Sergey Panteleev
acf178ef8c
Fix url text
2021-08-25 09:35:28 +03:00
Christoph M. Becker
4c41f6fa0e
Remove left-over
...
Cf. <da3661d34d (r55379663)
>.
2021-08-25 00:38:06 +02:00
Yoshinari Takaoka
da3661d34d
fixed strict typing directive spelling. ( #875 )
...
Co-authored-by: Peter Cowburn <petercowburn@gmail.com>
2021-08-25 07:23:23 +09:00
沈唁
0799f7789c
Remove useless docs ( #865 )
2021-08-24 15:07:23 +02:00
George Peter Banyard
4628b69cad
Remove FrontbaseSQL docs
2021-08-19 14:41:15 +02:00
Christoph M. Becker
6c7c7edf76
abs(), floor(), ceil() and round() are no longer always coercive
...
Cf. <https://bugs.php.net/bug.php?id=80624#1629304533 >.
2021-08-19 13:35:24 +02:00
Yoshinari Takaoka
a63794ecfd
updated track_errors (removed as of PHP 8.0.0) changelog.
2021-08-16 14:04:48 +09:00
Tiffany
1e65e69210
Add T_ATTRIBUTE to list of parser tokens ( #837 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-08-05 07:59:14 -05:00
OleksiiBulba
3c18b283af
Fixed the link to magic constants ( #784 )
2021-07-14 12:03:30 +01:00
Christoph M. Becker
c0fb8cac83
Clarify that open_basedir cannot be relied upon for security
...
Cf. <https://externals.io/message/105606 >
and <https://externals.io/message/115406 >.
2021-07-12 17:27:18 +02:00
Kamil Tekiela
9d2b858bca
Remove magic_quotes_runtime docs
...
Closes GH-719.
2021-06-25 19:27:30 +02:00
Kamil Tekiela
a35fce69cc
Remove obsolete resource information
...
Closes GH-725.
2021-06-24 16:08:30 +02:00
George Peter Banyard
ebbc2cff0f
Update extensions.xml file generated from doc-base script
2021-06-13 23:23:33 +01:00
George Peter Banyard
aef53758a6
Add mb_str_split() to migration guide
2021-06-06 18:45:50 +01:00
AllenJB
8f289dbadb
Ini settings: upload_max_filesize: Add note regarding post_max_size
...
Closes GH-652.
2021-06-03 15:53:56 +02:00
George Peter Banyard
67d2e5fb1d
Remove mysqlnd plugin docs
2021-05-31 16:24:50 +01:00
George Peter Banyard
1fc853737a
Remove legacy MongoDb driver docs
2021-05-25 19:38:28 +01:00
George Peter Banyard
1d00d0ad21
Remove stats extension docs
2021-05-25 19:38:28 +01:00
George Peter Banyard
0e2405ef82
Remove Tokyo Tyrant docs
2021-05-25 19:38:28 +01:00
George Peter Banyard
3bf6ef79a5
Remove suhosin docs
...
It was already not included
2021-05-25 19:38:27 +01:00
George Peter Banyard
f5721a51e3
Remove sphinx docs
2021-05-25 19:38:27 +01:00
George Peter Banyard
a6ce8d349d
Remove quickhash docs
2021-05-25 19:38:27 +01:00
George Peter Banyard
02f9eb8bf3
Remove proctile docs
2021-05-25 19:38:27 +01:00
George Peter Banyard
51e3bd3d38
Remove paradox docs
2021-05-25 19:38:27 +01:00
George Peter Banyard
567485bc84
Remove ncurses docs
2021-05-25 19:38:27 +01:00
George Peter Banyard
6d1284c431
Remove memtrack docs
2021-05-25 19:38:26 +01:00
George Peter Banyard
38a3b0d552
Remove Ingres docs
2021-05-25 19:38:26 +01:00
George Peter Banyard
587f082034
Remove filepro docs
2021-05-25 19:38:26 +01:00
George Peter Banyard
4d168cd5f3
Remove dbplus docs
2021-05-25 19:38:26 +01:00
George Peter Banyard
0b36c0742c
Remove classkit docs
2021-05-25 19:38:26 +01:00
Christoph M. Becker
6a5b42e0d3
Remove obsolete PHP 5 specific info from appendices
2021-05-23 16:50:50 +02:00
Christoph M. Becker
6f41560bf1
Fix #81065 : Changes to Reflection modifiers not documented
2021-05-23 14:46:27 +02:00
SvenRtbg
477c5f97a6
Document the changes to syslog.filter
...
* Documenting the changes to syslog.filter
https://github.com/php/php-src/pull/4265 restored the previous handling of multi-line log messages by adding `syslog.filter=raw`.
* Highlight the fact that line splitting is happening in all of the three original modes, but not in "raw".
* Add "raw" to syslog section of 7.3 migration guide
Closes GH-589.
2021-05-10 18:19:06 +02:00
Sergey Biryukov
ca9dbbbd2d
Remove extra full stop ( #587 )
...
Just removing an extra full stop before a constant name.
Follow-up to f3b5475
/ #528 .
2021-05-06 02:38:48 +02:00
Christoph M. Becker
304f2b04c9
Document PHP_EXTENSION_DIR
...
Cf. <https://bugs.php.net/bug.php?id=80969 >.
2021-05-05 18:23:58 +02:00
George Peter Banyard
8f5f6a52c0
Remove POSIX regex docs
2021-04-30 13:29:24 +01:00
Sergey Panteleev
a0ae28d3bc
Removed references to PHP 5, PHP 7.0 ( #545 )
2021-04-24 20:01:17 +03:00
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 ( #544 )
2021-04-23 11:35:26 +03:00
Yoshinari Takaoka
8d1a5d2d15
added WeakReference class link to migration74 guide.
2021-04-23 02:14:21 +09:00
Landrok
ab1ffcd235
Fix a typo ( #541 )
2021-04-20 22:50:15 +02:00
Kamil Tekiela
16a1bdfd1c
Remove double words ( #540 )
2021-04-20 12:54:54 +02:00
Yoshinari Takaoka
5a39a8f128
added WeakMap link to migration80.
2021-04-18 00:06:32 +09:00
Juliette
f3b5475eeb
PHP 8.0 migration/deprecated: expand on libxml_disable_entity_loader() ( #528 )
...
The current text in the migration guide about the deprecation of `libxml_disable_entity_loader()` is misleading and can easily lead to the introduction of XXE vulnerable code.
In select circumstances, when `LIBXML_NOENT` is used, code can still be vulnerable to XXE attacks, even on PHP 8.0.
So I'm proposing to add an appropriate warning and mention the upgrade path in the migration guide.
Includes fixing a typo on the `libxml_disable_entity_loader()` page.
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-04-16 10:44:07 +02:00
Larry Garfield
68a416eeb7
Remove old weakref extension ( #514 )
...
* Remove old weakref extension that no longer works and namespace conflicts with WeakMap in PHP 8.
2021-04-12 15:35:52 +02:00
Deleu
34f9918535
Update documentation related to PHP Tokens
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-474.
Signed-off-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-03-30 13:01:29 +02:00
Calvin Buckley
52c463b1d9
Fix #77477 : Document hard_timeout
...
I've encountered issues relating to the hard timeout, so having
this explained for myself in a few months time and others will be
handy.
ML post where hard_timeout was established (not linked in docs, but
may be useful):
http://php-news.ctrl-f5.net/message/php.internals/92559
Closes GH-491.
2021-03-16 17:31:45 +01:00
Christoph M. Becker
f1b211f5c8
Remove mime_magic documentation
...
This extension is removed as of PHP 5.3.0, and apparently never made it
to PECL. It it not to be confused with the fileinfo extension.
2021-02-24 18:29:14 +01:00
Christoph M. Becker
2b1cecf44a
xsl.security_prefs is removed as of PHP 7.0.0
...
Interestingly, the page which described this setting was never included
in the manual.
2021-02-24 18:15:43 +01: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
7cc00859d2
Remove obsolete info from ini.list
...
We remove options which are no longer valid for PHP 7/8, and remove
obsolete availability info as well.
2021-02-24 15:47:41 +01:00
Christoph M. Becker
e13ef15bd9
Remove obsolete INI options from ini.list
...
Except for pecl_http, the related extensions are obsolete. pecl_http
has its documentation removed from the manual quite a while ago (it is
hosted elsewhere now), so we remove the INI options as well (there
likely outdated, anyway).
2021-02-24 15:36:41 +01:00
Christoph M. Becker
09024d1647
Remove dbx documentation
...
The extension is marked as unmaintained, and had its latest release on
2011-08-11.
2021-02-24 15:11:47 +01:00
Christoph M. Becker
8465ce5fc8
Remove blenc documentation
...
The package is marked as unmaintained, and had its latest release in
2014-04-27. It is highly unlikely that it is compatible with PHP 7.
2021-02-24 15:08:09 +01:00
Christoph M. Becker
3e08a8aae6
Remove obsolete PHP 5 related info from ini.core and related pages
2021-02-24 14:32:08 +01:00
George Peter Banyard
12b1d4704e
Cleanup and update docs related to @ operator
...
Also fix part of the set_error_handler() docs
Closes GH-441
2021-02-18 16:31:56 +00:00
Tyson Andre
ce10bc07c5
Delete the PHP 5 SPL_Types extension.
...
Months ago, PHP removed php 5 documentation and changelogs
of core functionality
- https://pecl.php.net/package/SPL_Types was last updated in 2012
and is not maintained.
- SPL_Types is easy to confuse with the SPL
- SPL_Types can cause confusion because PHP has typed properties(7.4),
and will probably also have actual enums in 8.1
https://www.php.net/spl_types
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-448.
2021-02-15 16:30:52 +01:00
Christoph M. Becker
2b06e6be13
Fix #61044 : invalid PHP_BINDIR
2021-02-12 14:35:22 +01:00
Yoshinari Takaoka
2c2251ec92
Tell people about the possibility to doc-en source code from git, not SVN.
2021-01-29 00:29:19 +09:00
Christoph M. Becker
9ffcc25027
Tell people about the possibility to submit doc-en PRs
2021-01-28 12:36:53 +01:00
Christoph M. Becker
7dc5a6466b
Fix #80677 : session.cookie_samesite missing from INI list
...
We should not duplicate the info in the general INI list, but rather
include it from the session configuration.
While we're at it, we remove obsolete changelog entries, fix the
wording ("as of" instead of "since"), and remove the url_rewriter.tags
entry from the session configuration page.
2021-01-28 12:05:05 +01:00
Christoph M. Becker
1fb41f1900
define_syslog_variables() and related INI is removed as of PHP 5.4.0
2021-01-25 19:28:24 +01:00
George Peter Banyard
f3d6ada615
Remove information about session.bug_compat_* INI setting
...
This has been removed in PHP 5.4.0
2021-01-16 10:44:21 +00:00
Christoph M. Becker
53fb94341b
Remove obsolete Judy documentation
...
This extension is unmaintained for more than seven years, and is not
compatible with PHP 7.
2021-01-15 23:32:34 +01:00
Christoph M. Becker
d80c8d5646
Document ssh2 resources
2021-01-14 16:36:46 +01:00
George Peter Banyard
d278431ef5
Remove docs about NSAPI
...
This SAPI has been removed in PHP 7
2021-01-13 12:49:23 +00:00
Christoph M. Becker
d85ea8c720
Remove obsolete iisfunc documentation
...
This extension is unmaintained for more than ten years, and even the
docs say that it's dead (for 11 years now).
2021-01-13 12:14:10 +01:00
George Peter Banyard
04d2e39603
Remove SDO docs
...
This extension doesn't compile since PHP 5.3 and is unmaintained.
Closes GH-326
2021-01-12 11:02:35 +00:00
George Peter Banyard
027f187b3e
Remove migration guides for PHP 5
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-157.
2021-01-08 00:38:12 +01:00
Christoph M. Becker
bcd51bdf1d
Update "How to read a function definition" section
...
Since there are barely any differences to user defined functions, this
section could mostly be dropped, but for now we just update to match
the manual proper. See also <https://github.com/php/phd/pull/37 >.
2021-01-04 13:03:44 +01:00
Christoph M. Becker
c31630ca23
Document XMLWriter class
2021-01-02 16:29:01 +01:00
Christoph M. Becker
fa7cb182a0
PGSQL_LIBPQ_VERSION_STR is deprecated as of PHP 8.0.0
...
We also fix the constant names; the migration and UPGRADING got that
wrong[1].
[1] <2e854791af
>
2020-12-31 00:39:30 +01:00
George Peter Banyard
5c8a92d1c5
Add match to list of reserved words
...
Closes GH-296.
2020-12-30 18:44:11 +01:00
Christoph Michael Becker
4642b715f3
Fix #80528 : No waring/error for some nested ternary operators without explicit parentheses
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352118 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-17 18:00:58 +00:00
Christoph Michael Becker
e9f972da69
Remove obsolete Phar information
...
Phar 2.0.0 has been released 2009-07-29, so older versions are certainly
no longer relevant for the PHP manual.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352054 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-13 16:38:57 +00:00
Christoph Michael Becker
71c12b1583
set_error_handler: clarify callback parameters and PHP 8.0 changes
...
Closes GH-276.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352038 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 18:36:18 +00:00