Denis Ryabov
33225f7c57
Add a separate example section for escaping of characters
...
See also merged PR https://github.com/php/php-src/pull/7420 (d3a6054d44
)
Closes GH-898.
2021-09-04 14:53:55 +02:00
sy-records
08a941584f
Fix #91 : curl_version() no longer accepts a parameter
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-902.
2021-09-04 12:33:41 +02:00
Yoshinari Takaoka
50bd7050c4
fixed parameter name markup.
2021-09-04 01:54:00 +09:00
Christoph M. Becker
d8d0b3cdf8
Close #880 : Obsolete default value for protocol_version
2021-09-03 18:35:53 +02:00
Christoph M. Becker
659fbc4d32
Fix #894 : DateTime::setTimezone never returns false
2021-09-03 18:33:10 +02:00
Steven Jones
1fe998d37c
Add missing documentation for value parameter of numfmt_parse
...
Closes GH-897.
2021-09-03 17:40:36 +02:00
Kamil Tekiela
b1fc217c5f
Updating mysqli: mysqli_num_rows
...
* Changed article
* More accurate description
* More accurate return value
* Improved example
* See also
* Add a note
Closes GH-891.
2021-09-03 16:04:51 +02:00
Kamil Tekiela
a3051835f7
Updating mysqli: mysqli_num_fields
...
* Aligned wording
* Explicitely list columns to make it obvious where the number comes from
Closes GH-892.
2021-09-03 15:59:33 +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
Máté Kocsis
28046efaba
Generate ext/phar methodsynopsis based on stubs
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-626.
2021-09-03 14:35:53 +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
Christoph M. Becker
e72a6312b9
Don't pass objects by-ref, unless really needed
...
This appears to be a leftover from PHP 4 times.
2021-08-31 14:28:35 +02:00
Christoph M. Becker
7be2426e49
While DNS_A6 is available on Windows, it is not really supported
...
Cf. <d3a6054d44/ext/standard/dns_win32.c (L307)
>.
2021-08-30 17:09:07 +02:00
Jorg Sowa
346c0bd13f
Updated examples of casting to boolean
...
Updated examples of casting to boolean adding one case that is pretty common appearing in code string `"0"`.
Closes GH-890.
2021-08-29 16:27:06 +02:00
Denis Ryabov
a453c4ff1c
Remove irrelevant paragraph
...
(looks like a copy-paste from previous example)
Closes GH-886.
2021-08-28 12:25:33 +02:00
Adrien Crivelli
235297daed
Fix #81383 : Locale::lookup / locale_lookup incorrectly returns null instead of default
...
INTL_MAX_LOCALE_LEN limits the length of accepted locale. Anything
longer than that will result in a failure and the value returned
will either be `null` or `false`. So documentation must reflect that
in the return types.
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-883.
2021-08-27 14:41:52 +02:00
Christoph M. Becker
06126805f4
Fix #72656 : Object destructor called before constructor
...
We just need to document PHP's eager evaluation strategy; the rest is
already documented.
2021-08-27 13:12:20 +02:00
Christoph M. Becker
3926279f82
Fix #76311 : __construct/__destruct must not have return types
2021-08-27 13:03:42 +02:00
Gabriel Millian
9a72097c8b
[WS] Indent breaks in switch examples ( #882 )
...
Co-authored-by: Sergey Zorin <zors1@php.net>
2021-08-26 21:49:55 +01:00
Christoph M. Becker
28ad235028
Fix #879 : array_fill() example has wrong parameter names
2021-08-25 16:32:58 +02: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
Christoph M. Becker
abd75f51f4
explode() no longer returns false as of PHP 8.0.0
...
See also <https://bugs.php.net/bug.php?id=42129 >.
2021-08-23 17:50:27 +02:00
Yoshinari Takaoka
17297101a4
updated strict_typing link.
2021-08-21 10:15:21 +09:00
Kamil Tekiela
be1e430487
Fix typo dimenstions
...
Closes GH-868
2021-08-20 20:30:54 +01:00
Kamil Tekiela
c7c883ab47
Fix type in PDO::setAttribute ( #867 )
2021-08-20 16:23:44 +01:00
brycesharpookla
6b09bb638a
Update basic-syntax.xml to fix typo
...
Fixes typo in the note about not using short tags
2021-08-19 20:21:59 +02:00
George Peter Banyard
d1df62fe77
Update array sorting docs
...
These always return true, even in PHP 7
Clarify sorting is unstable prior to PHP 8.0
Normalize the docs between the functions
Closes GH-686
2021-08-19 15:46:00 +01:00
Christoph M. Becker
ebb0c383f4
http:// stream wrappers do not necessarily HTTP/1.0 GET
...
Cf. <https://bugs.php.net/bug.php?id=67352 >.
2021-08-19 15:48:14 +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
Kamil Tekiela
6c26ac2fef
Fix apcu_key_info return value ( #863 )
...
* As per b68953ccbc/php_apc.stub.php (L12)
2021-08-18 16:40:15 +01:00
Kamil Tekiela
40ef830808
Align return values for pcre_* functions ( #857 )
2021-08-18 16:34:37 +01:00
Larry Garfield
d348943ddf
Clarify preloading and constant behavior. ( #144 )
2021-08-18 11:23:52 -04:00
Christoph M. Becker
1d06db6914
ini_get_all() $extension is nullable and synomymous to 'core'
...
Cf. <https://bugs.php.net/bug.php?id=69361 >.
2021-08-18 15:47:28 +02:00
Yoshinari Takaoka
7d05fb0d20
more fix about pcntl_waitpid patameter markup.
2021-08-18 22:39:29 +09:00
Sergey Panteleev
c42d3d8905
Fix pcntl ( #860 )
2021-08-18 12:12:36 +03:00
Christoph M. Becker
f33541d156
Fix #856 : preg_grep returns false on failure
2021-08-17 23:21:45 +02:00
Máté Kocsis
b890f28c0c
Update ext/pcntl methodsynopses based on stubs
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-600.
2021-08-17 23:21:44 +02:00
AlexandrErohin
5aff4add61
Proposal - more concrete explanation of the fail for __set_state ( #489 )
...
* explained the fail more concrete for __set_state
* Update language/oop5/magic.xml
Co-authored-by: Anna Filina <afilina@gmail.com>
* Improve language around __set_state not implemented
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Co-authored-by: Anna Filina <afilina@gmail.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-08-17 16:39:24 -04:00
Kamil Tekiela
a3365c7546
Updating mysqli: set_charset ( #844 )
...
* default was confusing
* Simplify examples
* It's character set
* Remove duplication
2021-08-17 13:52:25 -04:00
Kamil Tekiela
de9c65c91f
Remove E_STRICT and other PHP 5 related information ( #730 )
2021-08-17 17:56:25 +01:00
Marco Aurélio Deleu
1499a2369c
[80538] Shorthand syntax for array destruction ( #477 )
...
* Shorthand syntax for array destruction
* Remove reference to PHP 7.0 or lower
* Bring back mention of list() prior to 7.1.0
* Replace array destruction with destructuring
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Anna Filina <afilina@gmail.com>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-08-17 12:10:06 -04:00
Tyson Andre
65f1e1978c
Document Memcached::OPT_NOREPLY
...
This was added in 2009.
A lot of other constants were also added.
See http://docs.libmemcached.org/memcached_behavior.html
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-584.
2021-08-17 17:20:33 +02:00
Yoshinari Takaoka
a63794ecfd
updated track_errors (removed as of PHP 8.0.0) changelog.
2021-08-16 14:04:48 +09:00
Sergey Panteleev
9486a954ad
Fix issues in ps directory ( #712 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-08-15 22:49:02 +03:00
Azeem Hassni
ef1ae5d45f
Fix typo in example function call
...
Looks like the example function name and the function call do not match, if it's an oversight this commit fixes it.
Closes GH-852.
2021-08-15 13:46:39 +02:00