Commit graph

27271 commits

Author SHA1 Message Date
jrfnl
67a54da71f ReflectionProperty: fix a few references to wrong class name(s)
These methods only exist on the `ReflectionProperty` class, not on `ReflectionClass`.
2021-07-02 13:38:11 +01:00
Sergey Panteleev
942afdf312
Fix issues in runkit7 directory (#742)
Part of #658
2021-07-02 12:15:34 +03:00
Kamil Tekiela
7783d8198a
Remove PHP 4 constructor from get_parent_class example
Ckises GH-748.
2021-07-01 23:28:54 +02:00
Christoph M. Becker
c9bc21cb73
Fix #81218: get_object_vars returns parent class parameters
Besides there are no "class parameters", parent properties are returned
if in scope.
2021-07-01 19:09:53 +02:00
zors1
f2af34e50c
Replace a comma with a period in sort.xml
Closes GH-746.
2021-06-30 14:54:14 +02:00
Marco van 't Wout
ebe9ff11fb
Remove unsafe AddHandler example
The internet will always take your example code and repost it out of context. Googling shows plenty of installation guides that use `AddHandler application/x-httpd-php .php`, which potentially leads to parsing unsafe files like `evil.php.jpg`

I propose to totally remove the unsafe example and only show the correct version with `<FilesMatch \.php$>`, similar to https://www.php.net/manual/en/install.unix.apache2.php

Closes GH-743.
2021-06-29 11:20:56 +02:00
Yoshinari Takaoka
683c11a44a
removed PHP4 related zlib note. (#739) 2021-06-27 23:11:31 +09:00
Yoshinari Takaoka
e7853a8a24
Improved ext/sodium [Introduction|Resource Types] documentation. (#655) 2021-06-27 21:15:32 +09:00
Tiffany
0e81411492
Additional revisions to ucwords
Closes GH-727.
2021-06-27 12:30:10 +02:00
zors1
ea8796a6c3
Fix case of a keyword in match.xml (#736) 2021-06-26 17:42:36 +01:00
Sergey Panteleev
f5da09b298
Fix ldap functions description (#733) 2021-06-26 09:02:31 +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
Kamil Tekiela
9d2b858bca
Remove magic_quotes_runtime docs
Closes GH-719.
2021-06-25 19:27:30 +02:00
Christoph M. Becker
f52f2a81eb
Fix #81201: Missing description of CURLOPT_PASSWORD option 2021-06-25 18:49:14 +02:00
Sergey Panteleev
dc99afbc1f
Wrap use with literal tag 2021-06-25 13:49:36 +03:00
Kamil Tekiela
9e0a39029d
Remove PHP 5 info and collapse top note in ob_start
Closes GH-729.
2021-06-24 23:16:41 +02:00
Tiffany
552f92a2ec
Revise wording for ucwords (#726) 2021-06-24 09:30:02 -05:00
Kamil Tekiela
a35fce69cc
Remove obsolete resource information
Closes GH-725.
2021-06-24 16:08:30 +02:00
Kamil Tekiela
a94b259189
Remove unneeded note
set_socket_blocking was removed in PHP 7.0. socket_set_blocking is still an alias and is not deprecated, but since we don't document aliases in notes, I removed the whole note.

Closes GH-724.
2021-06-24 14:57:32 +02:00
Sergey Panteleev
f6d269c002
Fix issues in oci8 directory (#722) 2021-06-24 14:55:17 +03:00
Sergey Panteleev
8c2f58a7de
Fix issues in phar directory (#721)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-06-24 14:00:02 +03:00
Sergey Panteleev
47e2bde2fa
Add classname to ZookeeperConfig instance 2021-06-24 13:12:33 +03:00
Kamil Tekiela
67ae2b943e
Remove obsolete mcrypt example
Closes GH-717.
2021-06-23 23:51:59 +02:00
Kamil Tekiela
d335ba69a1
Remove split() and ereg()
Closes GH-716.
2021-06-23 20:20:58 +02:00
Sergey Panteleev
1f801a1187
LDAP link identifier replaced with LDAP resource (#715) 2021-06-23 13:41:35 +03:00
Sergey Panteleev
a2cd8e7de3
Fix issues in memcached directory (#714) 2021-06-23 12:51:01 +03:00
Sergey Panteleev
12081e88fb
Update installation guide for macOS Monterey (#708) 2021-06-23 06:27:03 +03:00
Sergey Panteleev
0d69739d2c
Fix issues in pthreads directory (#711) 2021-06-22 12:44:48 +03:00
Tyson Andre
a3a4cd9bea
Use a better example for using header() to set status code
This may be the first thing users see when searching how to set the
response code - most will not be familiar with differences between
http/1.0 and 1.1

- HTTP/1.0 does not support connection keepalive
- http_response_code(404) is a shorter way to set a status code with the default
  status message

https://www.php.net/manual/en/function.header.php#92305 also mentions
that the wrong protocol can cause issues with (older?) web servers

Closes GH-709.
2021-06-21 17:36:48 +02:00
Christoph M. Becker
1f7d8b1ee9
Fix #81179: fileperms() return wrong access information 2021-06-21 15:00:16 +02:00
Amritpal Nagra
5a945dfef0
fix link from predefined to magic constants
Closes GH-706.
2021-06-21 10:41:19 +02:00
othercorey
b1a15df084
Fix whether misspelling (#705)
* Fix whether misspelling

* Update isrepeated.xml

Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-06-20 14:02:21 +08:00
Sergey Panteleev
4a9a553afc
Fix issues in mysqli directory (#700) 2021-06-18 14:15:33 +03:00
Christoph M. Becker
83a17a7324
Fix notes section of is_callable()
Cf. <https://github.com/php/doc-en/pull/689#pullrequestreview-687134126>.
2021-06-18 10:51:28 +02:00
Sergey Panteleev
e6553e39c9
Fix some issues in radius directory (#698) 2021-06-18 09:43:49 +03:00
Sergey Panteleev
dcf9bf48cd
Fix some issues in parallel directory (#694) 2021-06-18 09:41:59 +03:00
Larry Garfield
4807f1a19e
Fold in comments from is_callable() page
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-689.
2021-06-17 23:51:24 +02:00
Christoph M. Becker
e9a40dae7c
Add initializer
Omitting the parameter behaves like an empty array has been passed.
2021-06-17 18:05:01 +02:00
Sergey Panteleev
d2621c5028
Remove undocumented tag 2021-06-17 19:01:30 +03:00
Christoph M. Becker
9e3e335d2f
Fix #81157: Wrong documentation for \Ds\Set::__construct
Unfortunately, the parameter doesn't have a default yet.
2021-06-17 17:33:00 +02:00
Christoph M. Becker
22fa19e253
Clarify parse_url() behavior for invalid URLs
For invalid URLs, parse_url() may return nonsense – all bets are off.
2021-06-16 18:08:30 +02:00
Sergey Panteleev
7e0812ffc3
Improvement sodium functions description (#695) 2021-06-16 13:55:39 +03:00
Sergey Panteleev
d91e36266d
Fix issues in mcrypt and datetime directories (#691)
Part of #658
2021-06-15 18:27:03 +03:00
Sergey Panteleev
4287d6eadb
Fix sodium_bin2hex description (#690) 2021-06-15 15:08:31 +03:00
Christoph M. Becker
e9340fb6bc
Fix #54176: locale_compose accepts more than 3 extlang 2021-06-15 11:35:07 +02:00
George Peter Banyard
68a99896d6 Add QA script to CI 2021-06-13 23:23:33 +01: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
68c2c87150 Fix extension doc membership 2021-06-13 23:23:33 +01:00
George Peter Banyard
8e732e84a1
Remove legacy Windows docs (#661)
Also fix the very weird indentation (sorry translations)

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-06-13 23:20:58 +01:00
George Peter Banyard
d26548d335
Fix most section issues in OCI8
Part of #658
2021-06-13 19:33:50 +01:00