Commit graph

148 commits

Author SHA1 Message Date
Christoph M. Becker
e98c8aea66
Fix GH-1462: passthru() returnvalue section incorrect 2022-03-29 15:05:31 +02:00
Máté Kocsis
769812c12f
Generate various ext/standard method synopses from stubs - part 5 (#1232) 2021-12-22 12:34:12 +01:00
Christoph M. Becker
c1f8c2ea33
Fix #69290: Invalid modes do not trigger errors 2021-12-02 18:06:55 +01:00
Christoph M. Becker
60c391265d
Document \ escaping of escapeshellarg on Windows
Cf. <https://bugs.php.net/69646>.
2021-12-02 17:54:26 +01:00
Máté Kocsis
7973fd5333
Generate some standard methodsynopses based on stubs (#289) 2021-09-19 12:30:47 +01:00
Christoph M. Becker
2b782ad1ab
Fix #845: proc_get_status() return type 2021-08-08 14:15:43 +02:00
Vincent Langlet
fdd6debfb8
Improve shell_exec text (#824)
* Improve shell_exec text

* tpyofix: occurrs -> occurs

Co-authored-by: Peter Cowburn <petercowburn@gmail.com>
2021-07-26 22:22:03 +09:00
Yoshinari Takaoka
c2e8536717
additional return value fix of shell_exec func. (#823) 2021-07-26 22:06:25 +09:00
Vincent Langlet
3678d8ea0e
shell_exec may return false(#821) 2021-07-26 12:40:39 +02:00
George Peter Banyard
cbac1ecf71 Fix lone section order issues in various extensions
Part of #658
2021-06-06 18:03:03 +01:00
Juliette
1ea4e4f576
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 problematic on Windows.
This adds a warning about this behaviour to the function, including a way to solve this in userland code.

Ref: https://bugs.php.net/bug.php?id=43261 (last two comments)

Also see: https://github.com/squizlabs/PHP_CodeSniffer/pull/3214

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-04-05 18:39:54 +02:00
Yoshinari Takaoka
f54beb6389 Added PHP 8 into versions.xml for exec based on stubs.
Closes GH-402.
2021-01-24 17:37:36 +01:00
Christoph Michael Becker
0c9c2dd669 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352191 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:26:31 +00:00
Christoph Michael Becker
d54819610d Fix #80230: Doc for exec specifies & (reference) param, fails
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351975 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 15:46:49 +00:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
dec1f8445a Remove safe_mode related information
Sorry, translators, for breaking your builds again.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350871 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 22:07:26 +00:00
Christoph Michael Becker
3e15d2894f Remove more changelog entries, mostly from PHP 5.4 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
350d95443a proc_close() automatically closes open pipes
At least as of PHP 5.0.0.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350242 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-29 15:45:35 +00:00
Christoph Michael Becker
24143af06c Fix #79704: proc_open failure with Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350047 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-18 08:53:34 +00:00
Christoph Michael Becker
d4fc011c85 escapeshellcmd() works on Windows for a looong time
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349978 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-25 15:53:30 +00:00
Christoph Michael Becker
a43ad10de8 Document new create_new_console option for proc_open()
Cf. <https://github.com/php/php-src/pull/5175>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349498 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-19 14:09:56 +00:00
Christoph Michael Becker
f811c29cdc Document that proc_open() also accepts a $cmd array as of PHP 7.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349246 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-21 09:59:46 +00:00
Christoph Michael Becker
58a26b846d Fix #78569: proc_open() may require extra quoting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349245 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-21 08:39:06 +00:00
Christoph Michael Becker
58f2241106 Fix #79012: sapi_windows_set_ctrl_handler missing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348652 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-21 16:27:25 +00:00
Christoph Michael Becker
02e0d92d73 Document blocking_pipes option of proc_open()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348389 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-01 13:51:34 +00:00
Pieter Hordijk
2cdb330e80 Fixes grammar #78798
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348273 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-08 23:59:44 +00:00
Christoph Michael Becker
6a9de0cb6a Fix #78699: shell_exec on windows runs in text mode, this should be noted in the docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348185 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-20 10:37:00 +00:00
Christoph Michael Becker
d744059987 Add missing <initializer>s
Patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346994 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-11 12:57:37 +00:00
Christoph Michael Becker
df31a39eb1 Remove accidentally added changelog entry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344401 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-28 13:15:03 +00:00
Christoph Michael Becker
a2165b1ec5 Fix typos
Patches provided by anonymous users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344377 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-27 13:46:38 +00:00
Andrey Gromov
bf4d1b3e29 Fixes proc_nice example description
-- 
Provided by anonymous 82943 (damian@sypniew.ski)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342518 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-27 19:55:14 +00:00
Pieter Hordijk
8707aa93ea Added note about bypassing shell.
https://bugs.php.net/bug.php?id=26566

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342231 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-04 09:00:34 +00:00
Andrey Gromov
d790375863 Typo, copypaste errors and so.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341804 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-29 09:14:49 +00:00
Kalle Sommer Nielsen
88df56ddeb Minor updates to the proc_nice() docs for Windows, as we no longer mimic WMIC values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341078 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-19 09:23:07 +00:00
Kalle Sommer Nielsen
7efb35f16a Update proc_nice() docs as per removal of REALTIME_PRIORITY_CLASS on Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341074 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-18 23:35:14 +00:00
Peter Cowburn
d531ecfc87 fix build (typo)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340560 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-18 22:37:59 +00:00
Kalle Sommer Nielsen
de868cff49 Update proc_nice() as per the latest changes for the Windows implementation (The function is now more in line with that of Unix)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340558 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-18 21:44:37 +00:00
Kalle Sommer Nielsen
e3f2f6ed4f Fix bad copy/paste
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340497 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 00:29:52 +00:00
Kalle Sommer Nielsen
6dccfde5ef Update the proc_nice() documentation to reflect the Windows support in 7.2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340496 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-16 04:14:47 +00:00
Christoph Michael Becker
d355f93c42 Fix #72921: The characters #& are not correctly displayed in the used font "Fira Sans"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339925 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-23 11:04:01 +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
29ee5173fb Fix Windows related documentation (see #49446)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339439 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 17:00:00 +00:00
Maciej Sobaczewski
92bff06867 Update bunch of versions.xml for PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337985 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 07:06:29 +00:00
Peter Cowburn
590013355f Document how escapeshellarg behaves on Windows. (patch by Petr Hudeček, doc bug #68140)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336643 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-24 09:37:44 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +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