Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/php/doc-en

English PHP documentation
https://github.com/php/doc-en

escapeshellcmd: add warning about spaces in paths on Windows (#511)

It is a known issue that spaces are not escaped in shell commands, which can be especially probl...

1ea4e4f5769f1a173303f95074a91e8537f65133 authored almost 4 years ago by Juliette <[email protected]>
added Stringable version info.

b694d83ae9bd8b7b3e7152c7c62b8f5208288ba1 authored almost 4 years ago by Yoshinari Takaoka <[email protected]>
Document Stringable interface

069ce7647cdc4322493d15647354c3a622ea0a9b authored almost 4 years ago by Larry Garfield <[email protected]>
Note changes in how private methods inherit. (#481)

3ddc88b8364f27727a53ba6eb7c9a98f8525f3ce authored almost 4 years ago by Larry Garfield <[email protected]>
Clarify meaning of stream_get_line() parameters

Cf. <https://bugs.php.net/48421>.

Signed-off-by: Christoph M. Becker <[email protected]>

9a37893b543ee7d558ac8cbebbc6d1f0caf719f2 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Fix #73938: PHP7 foreach internal array pointer

e49940b757b35b8ef26bb64380c231eda7b49fc4 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Fix #63663: str_word_count does not properly handle non-latin characters

Signed-off-by: Christoph M. Becker <[email protected]>

c73b00a6d7f799e3e5189a316efa06b7ef3c0fe6 authored almost 4 years ago by Christoph M. Becker <[email protected]>
PECL/ibase is unmaintained

4b0cd817cef1d54c33ef6e130a94e6b8d9b4fa15 authored almost 4 years ago by Christoph M. Becker <[email protected]>
fix miscapitalization

b60ee4fd0c681fa6cbf1bd0cbc549441a576ef8f authored almost 4 years ago by Tiffany <[email protected]>
Add swoole_error_log for swoole and add respective constants

Co-authored-by: Christoph M. Becker <[email protected]>
Signed-off-by: Christoph M. Becker <cmbe...

f03dfae1dcaf64d695189673e6db82aa3b7659a1 authored almost 4 years ago by sy-records <[email protected]>
Add swoole-clear-error for swoole

Co-authored-by: Christoph M. Becker <[email protected]>
Signed-off-by: Christoph M. Becker <cmbe...

e48f15d64afec9861e23aa70f49b17ce504b35b2 authored almost 4 years ago by sy-records <[email protected]>
MongoDB: Document versioned API functionality

876a785f3628c4d2bb7b6cb54760efdc57abdc00 authored almost 4 years ago by Andreas Braun <[email protected]>
Document character class of wrapper scheme names

b6c8a19a38e06d858efe505587fa90fead553a74 authored almost 4 years ago by Sara Golemon <[email protected]>
Update documentation related to PHP Tokens

Co-authored-by: Christoph M. Becker <[email protected]>

Closes GH-474.

Signed-off-by: Christop...

34f991853507ec328336f0fb79b839faa043e92a authored almost 4 years ago by Deleu <[email protected]>
Added empty string case to is_numeric code example doc

Closes GH-508.

Signed-off-by: Christoph M. Becker <[email protected]>

d6cd01d707f065e852e9495061da6b923d7f3422 authored almost 4 years ago by Samuel Gfeller <[email protected]>
Update swoole-async-readfile.xml

Grammar correction, "read" is the correct past tense.

Closes GH-504.

Signed-off-by: Christoph ...

8e2b781577f0273ef6a13ef657fefc1ce651e7d4 authored almost 4 years ago by mikesaintsg <[email protected]>
Fix typo: shorted -> shorter

Closes GH-502.

2b2edac59b48a48aa2d238f3af93bd17a83fa29b authored almost 4 years ago by Michael Vreeken <[email protected]>
Fix Typo

Closes GH-503.

c63057033539758cb2e6ed4786c4d59b9ed059a5 authored almost 4 years ago by rochdiNassah <[email protected]>
fix parameter

312f9d4e18a7804f7d79aaaa2dfaa245401b2330 authored almost 4 years ago by Martin Samesch <[email protected]>
Some cleanup in FAQ section

Closes GH-327.

b8e1b1357def73f310c9f7405035b3acc0cb1eaf authored almost 4 years ago by George Peter Banyard <[email protected]>
Clarify that Exception::getPrevious may return a Throwable

Spotted this when using PhpStorm's documentation which incorrectly typehints an Exception - use ...

175b731219b1175cb4368ad182713fe31a610668 authored almost 4 years ago by Mike Lehan <[email protected]>
Clean up all mysqli aliases removed in PHP 5.4

Closes GH-499.

4f006f632a373421bf92c1da071cf13dc51b6488 authored almost 4 years ago by Kamil Tekiela <[email protected]>
Improve mysqli_query docs

* Add a nice big SQL injection warning

* Break overlong breaks

* Rewrite result_mode explanati...

9c9b8f3e66ec3cb9a2e638bec8d2be2b8cfc0ff2 authored almost 4 years ago by Kamil Tekiela <[email protected]>
Improve mysqli_real_escape_string docs

* Tidy up the alias situation
It should look the same as https://www.php.net/manual/en/functio...

df1072f8d2a3157534cb61d3734864c1f4852808 authored almost 4 years ago by Kamil Tekiela <[email protected]>
Add FPM access.format placeholders

Closes GH-115.

5f6b54fb576b7d4bc76bdd4f378595aa93f0920f authored almost 4 years ago by Cees-Jan Kiewiet <[email protected]>
Fix runkit7 functions arg type

runkit7_function_redefine(): Fix type of $is_strict.

runkit7_constant_redefine(): Fix type of $...

51ac3ba13057651dff37432c7242e7157433c914 authored almost 4 years ago by Kensuke Morii <[email protected]>
Simplify mysqli select db examples

Closes GH-496.

34ec8e992f4ac2c6abb35e58452842cdaff975bc authored almost 4 years ago by Kamil Tekiela <[email protected]>
Fix errors in the comments of example number 6

Closes GH-500.

4bf7d10a44468767e7715fdd17f80a4a41478c22 authored almost 4 years ago by Gabriel Millian <[email protected]>
Shorten comments to fit in 1 line

fa95dcaee8884142f5a2012703abca9aeb25e2cf authored almost 4 years ago by Dharman <[email protected]>
Revert "Show info about PHP error reporting"

This reverts commit f3e5da139a9576c522d6e6a43394f1496b72de0e, because
it was accidentally commit...

c4de1a06045b84afa79ac0b6503fa4f60400359c authored almost 4 years ago by Christoph M. Becker <[email protected]>
PHP 7.0 was silent about pseudo-numeric string juggling

dde64312eb88c1b648edc32e65bf8cfe4b830387 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Show info about PHP error reporting

Reader needs to be informed about PHP errors.

f3e5da139a9576c522d6e6a43394f1496b72de0e authored almost 4 years ago by kestutisv <[email protected]>
Match fgetcsv parameter names to values in reflection

The documented parameters differ from the names exposed in reflection/source code. Now that name...

397f37e9308c5946fe98229711d19c43421aeee6 authored almost 4 years ago by Eric Stern <[email protected]>
Generate mysqli methodsynopses based on stubs

Cf. <https://github.com/php/doc-en/pull/301>.

7e5d0d1bb69180c9de1992edf9613215c975fa57 authored almost 4 years ago by Máté Kocsis <[email protected]>
Correct Closure::bindTo failure return value

Closes GH-492.

661e99fa9ddf0317aa2b70a12e260e0ba8fa3ca9 authored almost 4 years ago by Eric Stern <[email protected]>
Annotate return types for Throwable/Exception/Error as possibly returning null

6a89105fdc8fc94d843567c3738925289ef3a499 authored almost 4 years ago by Sara Golemon <[email protected]>
Clarify that encoding conversion may be done by the driver

2b6afe9652277bcaf631546a18523327e7e95f52 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Actually document bool return for imageinterlace()

2f00a6fcf430822f19914ca47ea378651591b1eb authored almost 4 years ago by George Peter Banyard <[email protected]>
Fix signatures of some GD functions wrt. PHP 8.0

Regarding the return type of `imageinterlace()`, see
<https://github.com/php/php-src/commit/c174...

34316e9ecfcffa5ebefe7cd37f5fbd629d50e5f9 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Clarify types and meaning of interlact param to imageinterlace()

c352a8f0a701804a3446203867bc40e1690800f4 authored almost 4 years ago by Sara Golemon <[email protected]>
Fix #80652: Leading whitespace in a regex is ignored

7962c3e6a2af22dbc568e3cd117287d8baec8e80 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Fix #77477: Document hard_timeout

I've encountered issues relating to the hard timeout, so having
this explained for myself in a f...

52c463b1d9243f77739e5b9c4d0db7de79c96000 authored almost 4 years ago by Calvin Buckley <[email protected]>
Document ssh2_send_eof

Closes GH-490.

530ceda3428b73c17f0943a400b734a92336be13 authored almost 4 years ago by Calvin Buckley <[email protected]>
Fix #76203: roundCorners method no longer exists

161f44453835072c325d7a1615c71b454c45cd3e authored almost 4 years ago by Christoph M. Becker <[email protected]>
Fix #72189: Missing CURL_VERSION_HTTP2 from constants list

3b792d800d248236a0ff0698c74dfeab75cffc92 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Update Swoole ini

Closes GH-486.

f2da597f73f53e42be5c138293eeea52ca30fe87 authored almost 4 years ago by sy-records <[email protected]>
Hot fix for comment of last line

fc26164b4b8bb1a1dc5bc571446cbf714b203537 authored almost 4 years ago by George Peter Banyard <[email protected]>
Add example of a float string as an array key

The behaviour is different from a float key

Also reorder to put this example closer to the nume...

68c0fcdb9e254ecf4b4ccdc953a8e5893ed59493 authored almost 4 years ago by George Peter Banyard <[email protected]>
Fix Ticks usage example

Clarify where tick events are generated, and delete the "equivalent
behavior" example which call...

1075568da56078ca0631f9cb7a310f27f3388c66 authored almost 4 years ago by Alex Erohin <[email protected]>
fixed example some more, added to previous commit.

eea9c73ba47da81155ed5baa979dd2a085c3b874 authored almost 4 years ago by Yoshinari Takaoka <[email protected]>
fixed example, print argument is wrong somehow.

16eda7d3c3053d24b95558a2ef6eb97f6ac774b2 authored almost 4 years ago by Yoshinari Takaoka <[email protected]>
Clarify the syntax and role of arguments for echo and print

- Rather than implying that parentheses are optional, make clear
that they are never part of t...

ede9d209f64d4cd71bf22fcfaed14c6fc269523c authored almost 4 years ago by Rowan Tommins <[email protected]>
Note that all visibilities of trait abstract methods are supported now

Closes GH-476.

77a77dbd2962fb026342721f05d64b1e849d37a9 authored almost 4 years ago by Larry Garfield <[email protected]>
Add union type to streamWrapper::stream_stat

Closes GH-485.

c461c1fc7fe6455e8a87d2661b8256cd67a4a7bf authored almost 4 years ago by Clemente <[email protected]>
Updating mysqli prepared statements docs

Co-authored-by: George Peter Banyard <[email protected]>

Closes GH-338.

0a4dd74391b71c6837685b1864c9d5142c2725ee authored almost 4 years ago by Dharman <[email protected]>
Update index_key handling in array_column for php8

Closes GH-460.

67268fc2685dbe8f8928571c1da4571ff4e1b6cb authored almost 4 years ago by Riikka Kalliomäki <[email protected]>
Improve MySQLi Quick Start guide

Co-authored-by: Anna Filina <[email protected]>

Closes GH-184.

d59f3c6684d8d2c9ea3197e786fca03dc0b41864 authored almost 4 years ago by Dharman <[email protected]>
Remove try-catch from PDO examples

Also fix erroneous indentation.

Co-authored-by: Anna Filina <[email protected]>

Closes GH-323.

a3a310ccc23af2710c307fb4c6535b123ae2223c authored almost 4 years ago by Dharman <[email protected]>
Fix wording in example

The evaluation order is irrelevant; what matters is the associativity.

This amends commit bcd66...

80958298c021b3284349b563266eefd184025c83 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Fix ternary precedence

We also fix the misleading note about the ternary operator's
associativity.

Co-authored-by: Chr...

bcd666c7d0027d2ea13b5051d39e8cf48e338d27 authored almost 4 years ago by Michael Voříšek <[email protected]>
Update for LuaSandbox 4.0.0

Copies changes made in <https://gerrit.wikimedia.org/g/mediawiki/php/luasandbox>:
* Drop support...

5145d40353d9b62e83ca21cbdd6f9ae98e903807 authored almost 4 years ago by Kunal Mehta <[email protected]>
SimpleXMLElement::attributes() may return NULL

Co-authored-by: Christoph M. Becker <[email protected]>

Closes GH-482.

793c9fc579641578ad0c13dddc8d222ed6ff5280 authored almost 4 years ago by fullbl <[email protected]>
fixed Static resolution operator (::) link, point to paamayim-nekudotayim page.

8e7cce7b98ed33cda72ce0a77b1368ab396f6e09 authored almost 4 years ago by Yoshinari Takaoka <[email protected]>
added missing UnhandledMatchError version info.

33e300f8f0422c0625ec8d777873e7a70bbe8e13 authored almost 4 years ago by Yoshinari Takaoka <[email protected]>
Refactor OO section part 2

Some misses from the first time

Signed-off-by: Larry Garfield <[email protected]>

Closes ...

9ee9eccf455188ab6eb352194eb6f9eb99e15606 authored almost 4 years ago by George Peter Banyard <[email protected]>
We can use debug_zval_dump function in PHP 8, too.

$ php --version
PHP 8.0.3 (cli) (built: Mar 3 2021 02:12:40) ( NTS )
Copyright (c) The PHP Grou...

f09e04a35215f63a7e211700e7df8db34401726c authored almost 4 years ago by Yoshinari Takaoka <[email protected]>
Rewrite debug_zval_dump manual based on current (>=7.0) behaviour

- The recommended use of a call-time pass-by-reference has been
impossible since PHP 5.4, maki...

d08d2e887fdc229f16748df96450c9b68c9a3076 authored almost 4 years ago by Rowan Tommins <[email protected]>
Fix #74479: usleep with large numbers

95bc76b545a00d436239af6d5516f75ff890df56 authored almost 4 years ago by Christoph M. Becker <[email protected]>
iconv_mime_decode_headers() doesn't treat headers case-insensitively

Cf. <https://bugs.php.net/40462>.

d7dbb4196a9aa0f95732f0a19106ee6db51f0bf9 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Document opcache.cache_id for IIS app pools

Cf. <https://bugs.php.net/80812>.

7c6c83d08e97007ca75f739873f8125c6c0640cf authored almost 4 years ago by Christoph M. Becker <[email protected]>
add ob_implicit_flush.flag-param change log for php 8.0

Closes GH-462

Signed-off-by: George Peter Banyard <[email protected]>

537b504c17430646ecb25783ce564a0af4553fb3 authored almost 4 years ago by Marko Kaznovac <[email protected]>
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 b...

f1b211f5c87d97a1a636c0022e701db18fb73eff authored almost 4 years ago by Christoph M. Becker <[email protected]>
xsl.security_prefs is removed as of PHP 7.0.0

Interestingly, the page which described this setting was never included
in the manual.

2b1cecf44abfb13ad94e1d48016a805937d0f620 authored almost 4 years ago by Christoph M. Becker <[email protected]>
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, rough...

6dfe0767250cdbdf509223f6bc266557b0a3fec9 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Added constants for buffer`s mode

Closes GH-461.

e1bdd7825e47a96dc07562ea8d625513f8135ff0 authored almost 4 years ago by Alex Pavlov <[email protected]>
Fix #80795: Incorrect arguments signature for LimitIterator

efe24a91efac4abe3a4a7f5d9134017f4824da6b authored almost 4 years ago by Christoph M. Becker <[email protected]>
Remove obsolete info from ini.list

We remove options which are no longer valid for PHP 7/8, and remove
obsolete availability info a...

7cc00859d289db5e3ff3bdd7ddab3cf83fb71d70 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Remove obsolete INI options from ini.list

Except for pecl_http, the related extensions are obsolete. pecl_http
has its documentation remo...

e13ef15bd93a4011e52b20c262a7f3c8adff5f08 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Remove dbx documentation

The extension is marked as unmaintained, and had its latest release on
2011-08-11.

09024d16473f8817ca84b3e2cdb4ef44681a705f authored almost 4 years ago by Christoph M. Becker <[email protected]>
Remove blenc documentation

The package is marked as unmaintained, and had its latest release in
2014-04-27. It is highly u...

8465ce5fc83b9ad9442aaae1797ca9efd42a4757 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Remove obsolete PHP 5 related info from ini.core and related pages

3e08a8aae657492bdcdc7c550099ddf072042fa9 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Fix #80789: Return type includes false

0eaef37f83899ede9347b96611e79bd8e181f2dc authored almost 4 years ago by Christoph M. Becker <[email protected]>
Improve mysqli_fetch_* functions docs

* Aligned examples. OO and procedural examples where using different
variable names. An exampl...

ca5c477437fcb21680408bf7e0cc0424853e7907 authored almost 4 years ago by Dharman <[email protected]>
Add final example includes all variations of type casting and overwriting

Closes GH-450.

529359031bc69c5f635a459ae3891df4b8dc8df9 authored almost 4 years ago by Alex Erohin <[email protected]>
Slightly improve previous commit

Sorry, forgot to do right away.

3ba291b86ab677a291807caaf69898b4a3bd11e1 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Added protected property example for Object To Array conversion

Co-authored-by: Christoph M. Becker <[email protected]>

Closes GH-453.

3801e08ff8007bcdc2fb2508f2065d130bfec58f authored almost 4 years ago by Alex Erohin <[email protected]>
Document the MYSQLI_TYPE_JSON constant

Closes GH-458.

6172f135bc026df26e5b473b070b536a11b948ae authored almost 4 years ago by Maurício Meneghini Fauth <[email protected]>
fix parameter names

9e8ce329fd5025766d9cf4d983435a373cf9666a authored almost 4 years ago by Martin Samesch <[email protected]>
merged two changelog sections

7ae2b3f82dfae417a0107b69a1ae7d7658652a7a authored almost 4 years ago by Martin Samesch <[email protected]>
Fix #47091: ftp_mdtm adjusts for local timezone

def2d256ef5806ca6e7b59e05b8ee312e3703a0f authored almost 4 years ago by Christoph M. Becker <[email protected]>
Fix #73642: ftp_mkdir make an error if folder exist

7786b06044cb6ab7c471f895057fe6070f3344d9 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Fix/clarify dirname/basename docs wrt. locales

For basename(), we declare the behavior regarding invalid characters in
the path as being undefi...

88c1f8d6c9fecf352c5ce152a6f758ed013fc2c0 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Explain what consistitutes a more specific type

Closes GH-457

871df69f47f578c79cad7889f7e27d4b737baf4d authored almost 4 years ago by George Peter Banyard <[email protected]>
Update json-encode.xml

Should be 'flags' instead of 'options' because argument `$options` was renamed to `$flags`.

Clo...

d446e9e831e436a072cb967dff22287e0132661c authored almost 4 years ago by Edgar <[email protected]>
Add constants SCM_RIGHTS, SCM_CREDENTIALS

Closes GH-456

Signed-off-by: George Peter Banyard <[email protected]>

07b6d42577304b43e23bc9a75562eb52d51e3914 authored almost 4 years ago by Alex Pavlov <[email protected]>
Cleanup and update docs related to @ operator

Also fix part of the set_error_handler() docs

Closes GH-441

12b1d4704ea448b55ec155619be1e50c0e67e9f9 authored almost 4 years ago by George Peter Banyard <[email protected]>
Fix #80767: not just options(), but also ssl_set() can be called before real_connect()

93577455fee1d0ab9d76350f500670b37216a66f authored almost 4 years ago by Christoph M. Becker <[email protected]>
Fix #77889: URL in Location header not used

4dfe5cc41eabcfb5b7eb7afa194ce078ad4e1bf4 authored almost 4 years ago by Christoph M. Becker <[email protected]>
error_log($msg, 0) always returns true

Cf. <https://bugs.php.net/66760>.

471f9f42cd9206eff6326b2cc6e159f8a0e096e2 authored almost 4 years ago by Christoph M. Becker <[email protected]>
Update argument names of http_build_query()

See:
print_r((new \ReflectionFunction('http_build_query'))->getParameters());

Closes GH-443.

ea70bbb2cb1c1233b1349ad405b93e7a593fdb4f authored almost 4 years ago by Edgar <[email protected]>