George Peter Banyard
652367cc9d
Remove PHP 4 and 5.0.0 mentions.
...
This includes changelogs but also some paragraphs and notes which mention PHP 4.
These should be the last ones from the core extensions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347577 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-08 15:52:28 +00:00
George Peter Banyard
cec5c740b5
Fix Doc Bug #74842
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347047 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-24 20:06:21 +00:00
Christoph Michael Becker
a2148bbab3
Improve wording
...
Patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346966 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-03 13:49:34 +00:00
Christoph Michael Becker
18da52a535
Clarify serialize() exceptions
...
Inspired by a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346043 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 12:02:22 +00:00
Christoph Michael Becker
b6d3b6bc18
Fix “typo”
...
Patch provided by anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345219 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-26 17:27:50 +00:00
Christoph Michael Becker
87054c1c43
Refer to the (unset) casting section
...
Inspired by a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345151 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:34:51 +00:00
Christoph Michael Becker
ac51aaac3b
Fix changelog entries
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344866 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 15:08:50 +00:00
Christoph Michael Becker
700a269f55
Add missing version info
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344864 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 14:11:00 +00:00
Christoph Michael Becker
6b099ab00d
RFC: https://wiki.php.net/rfc/is-countable
...
--
Provided by anonymous 88937 (carusogabriel34@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344863 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 13:54:04 +00:00
Jakub Vrana
64642ea9c3
Fix ID of unserialize_callback_func INI entry
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344075 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 20:43:44 +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
331fbfeac5
Use bool instead of boolean in return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343889 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:50:10 +00:00
Peter Cowburn
c32d648fbb
add deprecation info to (unset) example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343843 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-15 22:07:42 +00:00
Christoph Michael Becker
f7800a7c1d
Clarify definition of *values* which are considered empty
...
$var; is neither a declaration nor an empty value. The docs
already clearly points out that unitialized variables are
considered to be empty.
See also <http://news.php.net/php.doc/969386870 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343811 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-10 14:44:17 +00:00
Kalle Sommer Nielsen
1e0e81afe2
Documented the new behavior for is_object() and __PHP_Incomplete_Class as of PHP 7.2.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343504 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 16:49:20 +00:00
Kalle Sommer Nielsen
402dc11916
Minor cosmetics to the resource (closed) return value
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343499 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 16:01:47 +00:00
Kalle Sommer Nielsen
cdf21a5326
Added a note about closed resources with gettype()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343493 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 15:39:00 +00:00
Dan Ackroyd
7be4d7b94a
Adds example for null for is_numeric.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343341 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-30 17:25:27 +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
Jiří Pudil
86d8c6800b
Fix #74296 : add documentation for iterable pseudo-type and is_iterable()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342265 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-08 17:03:13 +00:00
Christoph Michael Becker
b5de5957f5
Fix #73702 : get_resource_type returns NULL instead of false
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341792 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-28 15:27:52 +00:00
Christoph Michael Becker
d29db0f6dd
Remove misleading version info
...
The behavior with regard to private and protected properties is the same
for PHP 5 and 7, and PHP 4 doesn't matter for the manual anymore.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341643 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-11 22:53:47 +00:00
Christoph Michael Becker
a258daf0ac
Fix #73836 : unserialize() with $options['allowed_classes'] = null behaves different
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341547 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-30 13:37:09 +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
683e141d3e
Simplify example
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341235 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-30 12:07:08 +00:00
Christoph Michael Becker
bc655954b9
Fix typos (patches provided by anon users)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340224 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:54:16 +00:00
Yasuo Ohgaki
153a97e29d
Move warning to inside description. There are too many users use unserialize() unsafe way. Add validation note
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340014 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-10 06:18:23 +00:00
Christoph Michael Becker
4eebcffdb5
Fix typo (patch provided by anon user)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339980 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-03 23:49:47 +00:00
Christoph Michael Becker
913a662cc3
is_numeric() accepts strings in octal notation
...
Albeit these are not recognized as octal, what does not matter for
is_numeric(), though.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339702 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-22 16:26:35 +00:00
Christoph Michael Becker
4a5de0c62d
Fix #64221 : is_callable() reports constructors as not callable
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339491 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 15:13:40 +00:00
Christoph Michael Becker
1f12c25eff
documented necessity that __set_state() must be implemented to re-eval var_export()ed code ( fixes #67918 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337793 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-09 14:12:19 +00:00
Christoph Michael Becker
96e308257c
Documentation updated for consistency with the other is_*() type-checking functions: the first parameter is not strictly a callable, it's any value (mixed), since this function (consistent with other is_*() functions) is used not only to check if a callable can actually be called (as per the second argument) but also for basic type-checking to see if the given value represents something that might possibly be callable at all.
...
--
Provided by anonymous 61891 (rasmus@mindplay.dk )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337489 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:55:15 +00:00
Adam Harvey
6e6d82f097
Add unserialize() options documentation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337373 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:17:31 +00:00
Christoph Michael Becker
6aa6df5ffe
fixed documentation wrt. strings in non-decimal notation ( fixes #64877 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337240 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-26 17:34:00 +00:00
Pasindu De Silva
3c3f0529d3
Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337184 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-18 06:40:51 +00:00
Pasindu De Silva
a44a1e0b79
Minor typo, grammar and example Fixes (By Christoph Becker cmb@php.net)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336715 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-04 19:48:31 +00:00
Peter Cowburn
e5f41806a6
is_resource() is not a strict type checking function (patch by Michael Slusarz)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336644 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-24 09:44:52 +00:00
Pasindu De Silva
d1b39ea532
Minor typo and other fixes. (By Christoph Becker)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336599 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-20 10:48:37 +00:00
Kalle Sommer Nielsen
b8ec9ff652
Revert last commit, as it makes more sense to keep it to is_int() over is_integer(), see php-src commit: 6b8ed592b92027ceb4f76e6a06754a9c75ca4f36
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335292 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-14 21:30:48 +00:00
Kalle Sommer Nielsen
0ce7f9a11f
Fix consistency, see php-src commit: 04c11f918abcf56b2f0c0d942f20e0e5da76f420
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335291 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-14 21:07:31 +00:00
Maciej Sobaczewski
ddfd04b767
Typo fix (doc bug #68403 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335178 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-12 20:17:46 +00:00
Adam Harvey
da75c15e02
Update the changed functions list, and integrate the changes into the text.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334639 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 05:47:47 +00:00
Adam Harvey
4307b3bcdf
Document __debugInfo().
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334638 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 05:28:06 +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
8b5940cade
Remove changelogs for PHP 4 - 2nd round
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +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
Peter Cowburn
e22c33c1ae
Add is_callable() to gettype()'s see also section
...
--
Patch by anonymous #45303
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333768 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-13 08:11:14 +00:00
Chris Wright
03083e6a66
Add floatval() example for non-numeric strings
...
---
Provided by Mark T (mxtracks@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332352 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-12 16:32:23 +00:00
Joe Watkins
a953cad1bb
#64554 attach warning to var_export and serialize regarding the handling of objects of a namespaced class.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331965 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-25 15:22:05 +00:00
Joe Watkins
7c20e7b4b6
#64787 incorrect example output
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331805 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-13 17:34:57 +00:00