Commit graph

807 commits

Author SHA1 Message Date
Christoph Michael Becker
c2d5a4459e Remove superfluous “since PHP 5”
Patch provided by girgias.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346812 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-12 16:29:57 +00:00
Christoph Michael Becker
5a226ca916 Fix #67105: tmpfile() may not remove the temporary file
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346471 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-28 23:27:48 +00:00
Christoph Michael Becker
8f828979a0 As of PHP 7.4.0 an empty escape string means no escaping
Cf. <https://github.com/php/php-src/pull/3515>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346346 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-15 15:15:12 +00:00
Christoph Michael Becker
2a85fbcd7c Fix #77271: PHP 7.3: Various info missing from changelog/migration guide
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346281 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-10 15:24:21 +00:00
Christoph Michael Becker
b82236707b Fix #69339: realpath(false) returns CWD
There is nothing special with realpath() regarding type juggling,
so there's no need to mention that NULL can be passed instead of
an empty string.  That even wouldn't work for strict_types.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345785 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-06 11:56:54 +00:00
Christoph Michael Becker
8335b04e9e Revert revision(s) 345642 from phpdoc/en/trunk:
Update regarding implemented feature request #67331



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345643 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-15 15:12:43 +00:00
Christoph Michael Becker
826de66964 Update regarding implemented feature request #67331
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345642 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-15 14:05:11 +00:00
Christoph Michael Becker
3a109fd0dd Remove PHP 4 related info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345558 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-27 12:11:28 +00:00
Christoph Michael Becker
3372f616cb Be more precise
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345420 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-02 22:15:32 +00:00
Christoph Michael Becker
e5273c2500 Fix #76500: fputcsv() is ignoring the value FALSE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345171 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-19 15:02:34 +00:00
Christoph Michael Becker
9cc4767b2d What's in a name?
The Macintosh operating systems changed their name a few times since
version 10. We follow suite, and use the proper name whenever we refer
to a certain version, and use “macOS” as generic term, since “Mac OS X”
and “OS X” versions are already unsupported, or loose support at the end
of this year.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345139 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:50:40 +00:00
Christoph Michael Becker
6e250ae090 Clarify FILE_IGNORE_NEW_LINES
Inspired by <http://news.php.net/php.doc/969386723>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345062 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-26 18:58:46 +00:00
Christoph Michael Becker
52000a5e51 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344983 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:27:36 +00:00
Pieter Hordijk
f3b6bf314d Fixed a typo on the realpath's do page.
-- 
Provided by anonymous 90429 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344650 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-11 08:15:31 +00:00
Christoph Michael Becker
f93af4fcac Clarify locale awareness of the CSV reading functions
See bug #72330.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344648 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-10 17:00:52 +00:00
Christoph Michael Becker
52ac14fb97 Fix #76166: file_get_contents reference has an invalid example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344590 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-30 11:17:34 +00:00
Christoph Michael Becker
9421e06e34 Fix bug #67566: escape parameter in fgetcsv() is sometimes ignored
We clarify the actual meaning of $escape.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344268 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-15 17:04:23 +00:00
Christoph Michael Becker
d2707fbf04 Clarify behavior of $enclosure wrt. $escape_char
This also integrates user note 105110.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344264 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-15 13:41:33 +00:00
Jakub Vrana
6bba2efa47 Fix initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344129 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 08:26:26 +00:00
Jakub Vrana
8685dea430 Fix initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344128 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 08:24:46 +00:00
Christoph Michael Becker
c1b9de0f8c Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344113 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 15:42:32 +00:00
Christoph Michael Becker
55d32ace54 Fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344112 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 15:09:55 +00:00
Christoph Michael Becker
0c6fd2d88e Mark up literals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344111 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 15:08:20 +00:00
Jakub Vrana
3df65c988d Add new INI entries
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344076 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 21:38:11 +00:00
Jakub Vrana
7c50ead1ed Fix versions based on parsed php-src
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Pasindu De Silva
63781351a2 Added note about realpath not working on phar.
https://bugs.php.net/bug.php?id=52769
-- 
Provided by anonymous 86718 (theo.fidry@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343778 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-07 12:53:43 +00:00
Christoph Michael Becker
357dbec142 Improve wording
Patch provided by Junaid Ahmed.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343348 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-30 18:18:47 +00:00
Christoph Michael Becker
728e8c4e71 Fix #75203: FILE_USE_INCLUDE_PATH: INT instead BOOL
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343110 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-19 15:04:42 +00:00
Kalle Sommer Nielsen
78772dc008 Fix the fix for LOCK_NB on Windows, it seems that the SPL docs was wrong. Added flock()'s changelog to the SPL docs as well
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342695 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-24 21:03:28 +00:00
Kalle Sommer Nielsen
04e210bb02 LOCK_NB is not supported on Windows
Internally LOCK_NB is simply discarded if the bits are passed along to flock()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342693 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-21 21:02:38 +00:00
Pieter Hordijk
1dd89405e7 Fixed description in the case of renaming a directory to an existing target.
https://bugs.php.net/bug.php?id=73997

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342252 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 19:02:28 +00:00
Andrey Gromov
218c58b32d Little fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341874 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-08 07:36:03 +00:00
Christoph Michael Becker
26a7f387e0 Fix changelog entry according to style guide
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341625 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-08 12:14:35 +00:00
Kalle Sommer Nielsen
f1a1676a9d Clarify version for fopen()'s new 'e' mode (Anatol)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341617 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-07 13:53:16 +00:00
Anatol Belski
272a166f56 extend doc for https://github.com/php/php-src/pull/1546
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341610 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-07 11:39:27 +00:00
Jean-Sebastien Hedde
23348cb918 Related to #62119
This will do the same change for pathinfo and dirname as already made for basename. 

-- 
Provided by anonymous 78971 (tobias.nyholm@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341589 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-02 12:37:01 +00:00
Christoph Michael Becker
15197c8641 Mark up literals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341343 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-08 15:26:03 +00:00
Maciej Sobaczewski
7385e38407 Remove PHP4-specific content
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341080 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-20 11:50:43 +00:00
Christoph Michael Becker
3636c163fb Integrate user note 120098
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340905 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-07 15:11:12 +00:00
Christoph Michael Becker
7e4167f3f2 Fix #62119: basename broken with non-ASCII-chars
We move the important notes up into the description section, and elevate
the note regarding the locale awareness to a caution.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340481 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 17:28:12 +00:00
Christoph Michael Becker
69dd1b59c9 Improve readability of the doc sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340222 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:34:02 +00:00
Christoph Michael Becker
d225d89995 Update manual wrt. <https://wiki.php.net/rfc/negative-string-offsets>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340032 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 11:53:33 +00:00
Christoph Michael Becker
7fcd3e4d78 Integrate user note 119861
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340009 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-09 22:26:40 +00:00
Christoph Michael Becker
45e26d4e5d Add links to pack() and unpack(), respectively
That appears to be useful info for programmers coming from C, see
<http://news.php.net/php.general/325662>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339729 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-26 23:31:08 +00:00
Christoph Michael Becker
5308bbedf6 Fix #72609: Insecure example in php.net documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339679 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-18 12:36:51 +00:00
Pieter Hordijk
50de96a686 Added warning when file not exists info in errors section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339671 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-15 18:08:07 +00:00
Christoph Michael Becker
1ad5dfe5e0 Fix #71804: proc_close does not return exit code
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339529 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 18:23:56 +00:00
Christoph Michael Becker
3e831d6e6f Fix #67048: pathinfo() doesn't document parsing of dot-files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339450 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 14:17:23 +00:00
Christoph Michael Becker
b852815d2e Fix #55566: Example 2 for fileperms is wrong
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339346 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 14:02:02 +00:00