Commit graph

354 commits

Author SHA1 Message Date
Christoph Michael Becker
4fa631348e Fix bug #76027: Incorrect info in documentation for getenv
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344396 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-28 12:32:28 +00:00
Jakub Vrana
e3734a9c81 Add changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344125 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 08:21:19 +00:00
Jakub Vrana
c7aa65ea99 Split version_compare synopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344073 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 18:29:50 +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
Jakub Vrana
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +00:00
Pasindu De Silva
9f948a3508 The note about the return value not including the file from auto_prepend_file configuration directive has not been true since https://bugs.php.net/bug.php?id=32924.
-- 
Provided by anonymous 86758 (kevin.abel.0@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343825 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-13 00:08:12 +00:00
Christoph Michael Becker
03ef5ab712 Fix #74785: Second parameter to getenv since when?
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342615 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-20 13:48:44 +00:00
Peter Cowburn
8aee3a0831 add more rusage fields
Patch by yannick

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342526 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-28 13:48:42 +00:00
Andrey Andreev
028513e94b Document PHP 7.2 deprecations as the result of https://wiki.php.net/rfc/deprecations_php_7_2
Also, simplify the first paragraph of 'Traditional assertions' in assert() docs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342126 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:30:59 +00:00
Andrey Andreev
9320fcb02b Fix assert() doc where 'assertion' is referred to as a function instead of a parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342125 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:01:37 +00:00
Sherif Ramadan
4d5517430c Add documentation for second argument to getenv.
Fixes bug #74143

-- 
Provided by anonymous 80872 (greg.bowler@g105b.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341970 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-24 23:13:06 +00:00
Christoph Michael Becker
08e998b97b Fix #73681: Incorrect description for PHP 7 and higher
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341341 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-08 13:09:20 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Christoph Michael Becker
379fa4cf1c Document $optind parameter of getopt()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340380 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 09:55:25 +00:00
Christoph Michael Becker
6e94da0618 fixed #71991 (assert() docs seem to imply PHP 5 only)
fix contributed by Lance Sloan

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338974 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-09 11:12:04 +00:00
Joe Watkins
89f51a028d Fix #71938: Example output for get_included_files is wrong
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338886 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-02 11:23:16 +00:00
Adam Harvey
0e9f78e1a5 Improve removal warnings for other odds and ends.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338431 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:35:51 +00:00
Peter Cowburn
3dc8d0599b use entity for "or false on failure" and add a comma
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338211 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-04 13:58:52 +00:00
Adam Harvey
d082313568 Document PHP_INI_SCAN_DIR, since we apparently never did.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338206 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-03 16:19:52 +00:00
Joe Watkins
07e296b7cc fix pernicious wording in memory_get_usage documentation, leading people to believe that we trace persistently or otherwise allocated memory
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338184 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-26 18:15:31 +00:00
Adam Harvey
8d0fa0d5cf Add get_resources() documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337879 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:17:49 +00:00
Adam Harvey
f381c764ff Add gc_mem_caches() documentation. If only I knew what it did.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337878 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:17:43 +00:00
Adam Harvey
4526a0712f Add expectations documentation.
This included moving the guide for the new configuration directives into the
assert() page to keep the migration guide snappy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337862 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:16:28 +00:00
Christoph Michael Becker
e53aefe605 ini_get(_all) can't read "array" options (fixes #54276)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337776 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-07 17:40:49 +00:00
Christoph Michael Becker
8fbb603b30 apache_setenv() is somewhat related to putenv()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337699 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 01:10:24 +00:00
Adam Harvey
8373b869c3 Improve dl() PHP 7 documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337346 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:10 +00:00
Adam Harvey
a9236d854b Add removal notice to magic_quotes_runtime().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337345 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:05 +00:00
Maciej Sobaczewski
66d4ce2b23 Document another PHP 7 removals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336986 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-17 10:33:04 +00:00
Kalle Sommer Nielsen
5d69d17c10 Documentation for getrusage() on Windows in PHP7 (and make a note for BeOS's limited support on this function)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336808 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 14:18:21 +00:00
Pasindu De Silva
4becab9a7e Added setproctitle to see also of cli_set_process_title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336594 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-19 07:20:30 +00:00
Jean-Sebastien Hedde
691a13900a Clarify the language about optional values in getopt() documentation.
-- 
Provided by anonymous 51325 (liebelied7@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335489 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:53:35 +00:00
Jean-Sebastien Hedde
41060e691d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335484 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:29:17 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Sherif Ramadan
9d35fdf679 Incorrect return value documented for set_time_limit.
Documented as void, but the function has always returned a boolean true/false.
See source code for reference http://lxr.php.net/xref/PHP_5_5/main/main.c#1280

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334526 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-07 20:31:09 +00:00
Philip Olson
8ecda077dc Moved command executions to their own programlisting, for improved readability. And added/moved titles around.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334361 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-23 03:45:40 +00:00
Chris Wright
72a7d33dff Remove informal language from version_compare()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333759 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-12 14:22:52 +00:00
Peter Cowburn
15df09b79f Add cli-server to SAPI name list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333198 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:21 +00:00
Joe Watkins
e30aeef1f5 #64881 update wording for clarity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332085 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-08 08:15:20 +00:00
Joe Watkins
f8411a5873 fix set_magic_quotes_runtime docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331852 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-16 10:57:24 +00:00
Hannes Magnusson
35b3ba9119 Missing return value description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331283 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-03 23:01:38 +00:00
Chris Wright
b10cdc36e9 Note removal of Logo GUIDs meaning expose_php no longer affects; note inclusion of credits
-- 
Provided by anonymous #32932 (ajf@ajf.me)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331212 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-28 11:33:32 +00:00
Chris Wright
4e83ae2819 <5.3.0 returned string("") if the configuration option didn't exist.
(see https://bugs.php.net/bug.php?id=46811 )

-- 
Provided by Hans Henrik Bergan (divinity76@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331211 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-28 11:12:47 +00:00
Chris Wright
fb72c7c027 This is due to the removal of Logo GUIDs, instead a new substitute (data URIs and direct embedding of the credits) is used, which means that expose_php has no effect.
-- 
Provided by anonymous #30739 (ajf@ajf.me)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331209 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-28 08:37:45 +00:00
Sherif Ramadan
97338a7241 Modifying from Revision #330660
- Moving the cli_set_process_title example to the correct page
- Replacing the cli_get_process_title with its own example


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330688 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-26 22:42:16 +00:00
Sherif Ramadan
172baaa526 Adding example for function usage.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330660 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-26 07:16:37 +00:00
Adam Harvey
43e6946a85 Flesh out the cli_get_process_title() and cli_set_process_title() documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330581 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 00:19:01 +00:00
Jakub Vrana
78954fcbb8 Link ReflectionExtension::getINIEntries() and ini_get_all()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330275 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 22:57:21 +00:00
Jakub Vrana
38f174c66c Document PHP 5.5 CLI functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330257 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 02:07:09 +00:00
Adam Harvey
8ad0d94e1c Add initial migration guide for PHP 5.5.
What's done: the migration guide itself, updates to existing functions and
functionality, and new language features.

What's not done: stub pages for new functions and methods. (I'd rather get this
in now, though, than have it languish on my hard drive any longer so that other
people can contribute.)

What could use help: the generator chapter is pretty rough and ready. Better
examples would be awesome. I certainly won't argue if somebody wants to add the
function stubs, either.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328430 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 15:17:23 +00:00