Commit graph

23852 commits

Author SHA1 Message Date
Jeremy Mikola
c17a0c4517 PHPC-640: Document BSON type interfaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342963 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 21:41:45 +00:00
Mark Jones
7e958f87b0 documenting openssl csr functions
https://bugs.php.net/bug.php?id=71817


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342962 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 21:00:46 +00:00
Jeremy Mikola
8501175f4e Set svn:ignore for entities.*.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342961 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 19:43:07 +00:00
Jeremy Mikola
12cb072ae5 Fix copypasta in return value documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342960 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 19:40:16 +00:00
Jean-Sebastien Hedde
f2695c2d06 Add caution about disabled function
-- 
Provided by anonymous 81693 (jean-baptiste@nahan.fr)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342956 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 11:49:52 +00:00
Jean-Sebastien Hedde
b17ddfcfd7 --
Provided by anonymous 85257 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342955 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 11:46:08 +00:00
Jean-Sebastien Hedde
0441dc8aa1 Explain optional args parameter in openssl_pkcs12_export
-- 
Provided by anonymous 82963 (jelle@vdwaa.nl)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342954 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 11:44:21 +00:00
Jean-Sebastien Hedde
9e83f4f6c0 Anonymous contribution
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342953 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 11:37:07 +00:00
Christoph Michael Becker
92b95c4afa open_basedir does not apply to the $fontfile parameter
The $fontfile parameter of imagettftext() and imagettfbbox() is not
(necessarily) checked wrt. open_basedir, so that files in the system
font folder(s) can be found, for instance.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342950 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-27 19:11:59 +00:00
Christoph Michael Becker
040bb7d857 Sync $fontfile description of imagettfbbox() with imagettftext()
Since both parameters are treated identically, the descriptions should
match. To avoid duplication we're introducing an entity.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342949 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-27 18:59:31 +00:00
André Luis Ferreira da Silva Bacci
cef3f62857 Files without svn:keywords Revision
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342947 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-27 15:17:06 +00:00
Christoph Michael Becker
e24b13ad4f Improve IMG_FILTER_GRAYSCALE documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342945 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-27 12:45:43 +00:00
Christoph Michael Becker
e1d271d4ca Fix bug #70498 (SessionHandlerInterface example is vulnerable)
Instead of actually adding proper input validation to the example,
we prominently note that this would have to be done for production
code.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342943 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-26 12:11:45 +00:00
Thomas Punt
7cb73f794d Pthreads v3: Pool:: no longer exists
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342942 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-26 08:43:21 +00:00
Christoph Michael Becker
96315da4e1 Fix bug #75118 (ssh2_disconnect undocumented)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342939 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 16:11:30 +00:00
Christoph Michael Becker
772108dfab Update return with return false problem.
Add note about how to deal with the above problem.

-- 
Provided by anonymous 84645 (petcu.stephan@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342937 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:45:28 +00:00
Christoph Michael Becker
8b7191a5bc Move falseproblem under the Return section for consistency.
Update Notes on how to check false values vs. out of bounds elements.

-- 
Provided by anonymous 84645 (petcu.stephan@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342936 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:45:04 +00:00
Christoph Michael Becker
da772b2649 Update note on how to check the values of arrays which may contain false, since each will soon be deprecated.
-- 
Provided by anonymous 84645 (petcu.stephan@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342935 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:44:44 +00:00
Christoph Michael Becker
2030feeb3f Update Errors/Exceptions sections to PHP 7.1 behaviour.
-- 
Provided by anonymous 84645 (petcu.stephan@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342934 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:44:23 +00:00
Christoph Michael Becker
38c4ad6a3d Update notes: removed reference to each (deprecated as of 7.2) and updated with alternatives.
-- 
Provided by anonymous 84645 (petcu.stephan@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342933 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:43:56 +00:00
Thomas Punt
b2c1d554c7 OPcache is not enabled in CLI by default
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342929 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-24 17:45:44 +00:00
Jeremy Mikola
456c4c3bb8 Add entities.*.xml to svn:ignore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342923 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-23 20:15:00 +00:00
Jeremy Mikola
680b85d4cc MongoDB Application Performance Monitoring classes and functions
This builds upon an initial patch from Derick.

https://jira.mongodb.org/browse/PHPC-349


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342922 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-23 20:09:04 +00:00
Kalle Sommer Nielsen
bf30eb8a73 Fix bad copy/paste
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342919 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 22:34:44 +00:00
Christoph Michael Becker
65d415fd32 Fix see-also link to declare
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342918 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 21:43:14 +00:00
Christoph Michael Becker
d1ef410fbc Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342917 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 21:35:12 +00:00
Christoph Michael Becker
db0432561c Fix #74417: long2ip() is documented to accept a string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342916 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 21:28:14 +00:00
Christoph Michael Becker
f9958280af Fix #74634: read_exif_data() documented as not taking URLs but allows URLs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342914 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 16:43:41 +00:00
Christoph Michael Becker
1a81073412 Fix #75083: IntlDateFormatter::format also accepts DateTimeInterface
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342913 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 16:14:27 +00:00
Christoph Michael Becker
40f8906960 Rename file for consistency
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342912 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 15:43:09 +00:00
Christoph Michael Becker
3292ed699a Fix #75094: Functions not documented
We document pcntl_async_signals().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342911 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 15:37:18 +00:00
Christoph Michael Becker
aacd13217f Log: Partially fix #75094: Functions not documented
We document the curl_*() functions which have been
introduced in PHP 7.1.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342910 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 15:07:32 +00:00
Christoph Michael Becker
93ba65ea6f Partially fix #75094: Functions not documented
We document the sapi_windows_cp_*() functions which have
been introduced in PHP 7.1.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342909 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 14:44:30 +00:00
Christoph Michael Becker
d78b4646c2 Partially fix #75094: Functions not documented
We document the IMAP functions which have been introduced 
in PHP 5.3.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342908 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 14:01:19 +00:00
Christoph Michael Becker
a61987978d Fix #75104: yet another old-style constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342905 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 12:46:23 +00:00
Christoph Michael Becker
f3341279fd Fix #75104: Example 3 Heredoc string quoting example
Since the manual doesn't apply to PHP 4 anymore, there is no need
to use old-style constructors in general examples.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342904 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 10:06:18 +00:00
Christoph Michael Becker
481c11df80 Fix see-also sections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342902 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 12:11:15 +00:00
Christoph Michael Becker
cff92b78c8 Fix broken markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342901 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 12:04:32 +00:00
Christoph Michael Becker
71c1bd3039 Spelling mistake in SessionHandler
-- 
Provided by anonymous 83640 (jdomenechbborges@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342900 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:36:40 +00:00
Christoph Michael Becker
3384e40b5d As described in https://www.reddit.com/r/lolphp/comments/67w98x/prototype_says_it_returns_an_int_doc_says_it/ the prototype indicates that it returns an int, the return description says it does not return values and execution of the function seems to return bool. I checked PHP source code and seems that the only value returned is bool, therefore I updated the docs accordingly.
-- 
Provided by anonymous 83640 (jdomenechbborges@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342899 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:36:07 +00:00
Christoph Michael Becker
ca53c5bc73 Document 'load extension by name' on 7.2+
Patch provided by francois.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342898 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:32:57 +00:00
Christoph Michael Becker
43ba84dcae This emphasises that this function returns the buffer's contents _as well as_ flushing, rather than _instead of_ flushing as some users apparently seem to think.
-- 
Provided by anonymous 85322 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342897 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:29:23 +00:00
Christoph Michael Becker
6351088d7a PHP 7 uses Zend Engine 3
We also remove the link, as it points to ZE 2 documentation.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342896 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:27:50 +00:00
Christoph Michael Becker
718ee07914 The current generation is PHP 7. (A new page for "History" is needed, methinks.
-- 
Provided by anonymous 85131 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342895 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:25:59 +00:00
Christoph Michael Becker
8433a4a0a2 Fix bug #74850 current() and key() no longer take their parameter by reference (in PHP 7)
-- 
Provided by anonymous 84565 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342894 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:23:04 +00:00
Christoph Michael Becker
b9722ce216 Fix ReflectionFunctionAbstract version requirements
Patch originally provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342893 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:19:59 +00:00
Christoph Michael Becker
742f5f2c5b Improve wording
Patch provided by Joshua Facemyer.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342892 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:12:12 +00:00
Christoph Michael Becker
1d037c99fa Improve wording
Patches provided by anon users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342891 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:11:26 +00:00
Christoph Michael Becker
dfee957f66 Fix typo
Patch provided by Peter Featherstone.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342890 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:10:31 +00:00
Christoph Michael Becker
c3fd31838a Clarify that example code is incorrect
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342889 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:09:06 +00:00