Commit graph

254 commits

Author SHA1 Message Date
Peter Cowburn
9add359e14 WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329674 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-05 21:52:20 +00:00
Dejan Marjanovic
bbc0131c88 Updated is_numeric description and example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329671 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-05 21:27:21 +00:00
Peter Cowburn
73c3254151 copy from is_string example,
more descriptive example code output

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

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329668 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-05 21:15:49 +00:00
Sherif Ramadan
c7b154466d Removed mention of print_r reseting array's internal pointer. This is not the current behavior. See bug #8289 for more information.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328776 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-14 04:42:52 +00:00
Adam Harvey
1a28eb6e50 Add boolval() documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328469 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-23 08:43:19 +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
Joe Watkins
e25450d9dc many bugs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328365 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 13:40:31 +00:00
Peter Cowburn
d701c908c9 is_string() more descriptive example code output
--
Adapted from patch provided by Hans Henrik Bergan (divinity76@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328337 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:35:05 +00:00
Adam Harvey
94180a91bc Elaborate that the return value of serialize() is a binary string, rather than
a non-binary one, and that storing it in a textual database field may not go
very well. (This deals with the other common note on the unserialize() page.)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328245 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 01:57:21 +00:00
Adam Harvey
9a8e96e853 Since a lot of the notes on unserialize() are to do with handling user input,
or people telling other people they're wrong for trusting user input at all,
add a warning to clarify that unserialize() should not be used with untrusted
data.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328244 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 01:29:54 +00:00
Karoly Negyesi
bc8b580e62 NULL is not scalar.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327960 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-09 05:19:38 +00:00
Jakub Vrana
bce98630cd See also other serialization functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327432 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-02 13:15:00 +00:00
Adam Harvey
1690f24f52 Fix doc bug #62321 (The »Notes« section on mysqli_bind_param is outdated), and
simultaneously audit all of the functions removed in 5.4.0 to ensure we have
the right warnings in the right places (spoiler: we didn't).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326726 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 08:55:25 +00:00
Pieter Hordijk
6e3a76bb60 Improved empty() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-13 09:55:59 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Jakub Vrana
5faa7a6747 Document and use callable type hint introduced in PHP 5.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:55:59 +00:00
Philip Olson
d6adffccf5 Fixed version, should be > 5.4.0 not >= 5.4.0. Reported by Florian
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323808 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-02 08:50:11 +00:00
Philip Olson
f86cb52d65 Updated version information for functions removed in 5.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323794 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-02 05:06:11 +00:00
Jakub Vrana
f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana
c0ade579d4 PHP_INI_* is in fact INI_
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +00:00
Justin Martin
d6c9d69b2b Removed big, obtrusive warning, and replaced it with a short note about using is_* functions for type-checking. Closes bug #60900.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322892 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-28 00:12:03 +00:00
Daniel Convissor
eac82849b3 One step in the process of documenting string offset changes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322174 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-13 05:36:48 +00:00
Jakub Vrana
fcddfb2551 Link directly to magic methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322136 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 15:01:15 +00:00
Justin Martin
c7c5b9cbe2 Clarified highly-misleading (unset) casting example. Resolves bug #55164.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322117 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 05:23:03 +00:00
Jakub Vrana
b9c3ddd1d3 Use entities for INI headings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322061 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-11 08:09:53 +00:00
Karoly Negyesi
588debcb3a Remove incomplete description of callback from is_callable to be consequent with array_map, array_filter etc. As discussed on IRC, we have a callback page for a reason.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317576 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-01 06:33:07 +00:00
Shein Alexey
ef1ed590da Fixed parameter description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315550 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-26 12:38:52 +00:00
Shein Alexey
4f5cd56290 Moved description of "empty" values beyond the literal tag to allow its translation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315542 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-26 09:37:09 +00:00
Richard Quadling
d7470c8afc PHP4/PHP5 => PHP 4 / PHP 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315183 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-19 10:36:17 +00:00
Richard Quadling
1e37e327ed Link serialize() and unserialize() to __sleep() and __wakeup().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314997 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 10:21:18 +00:00
Shein Alexey
504a1e19b4 Fixed WS.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314989 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 07:57:19 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +00:00
Nikita Popov
fa9b1028aa Sync some DE docs with EN
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312774 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-01 16:40:14 +00:00
Peter Cowburn
7a5e9507e9 intval($object) returns 1 (doc #54923)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311974 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-09 12:13:04 +00:00
Peter Cowburn
aafc074ad8 type hint for $... param in isset/var_dump (doc #54768)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311886 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-07 08:45:27 +00:00
Peter Cowburn
1bda9b3cbf mention parameter name in &note.uses-ob;, move var_export() note into notes section. (doc #54956)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311626 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-31 08:19:14 +00:00
Peter Cowburn
4090bf0267 tidy unset() prototype (doc #54771)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311161 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:08:15 +00:00
Peter Cowburn
0b932680c0 tidy isset() prototype (doc #54770)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311160 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:04:06 +00:00
Peter Cowburn
7ce9ccf719 tidy var_dump() prototype (doc #54768)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311159 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 21:59:39 +00:00
Philip Olson
dd95f273f8 Changed changelog version number entries to be consistent with an X.Y.Z format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311057 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-15 17:58:55 +00:00
Antony Dovgal
8f4833799a an string -> a string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310843 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-08 19:35:02 +00:00
Peter Cowburn
79069a88f1 add examples of 2nd/3rd array depths for isset() (doc #54251)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310529 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-26 20:02:13 +00:00
Karoly Negyesi
24b3b02b6a float 0 is empty as well
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309802 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-29 04:51:00 +00:00
Peter Cowburn
a912865116 Typos and grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304887 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:38:17 +00:00
Philip Olson
8e3c3f725c Fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304574 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 21:32:11 +00:00
Kalle Sommer Nielsen
0a45b3310f Fixed bug #50793 (Note about not being able to serialize internal objects needs clarifiaction)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304536 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 06:52:32 +00:00
Richard Quadling
2ab5985e8b Strval var parameter updated to include objects implmenting a __toString() method.
Fixes bug #52360

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301421 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-20 13:56:33 +00:00
Brett Bieber
a790488fa1 Clean up unserialize_callback_func definition: Fix spelling & grammar, remove obvious information.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298346 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-22 21:50:53 +00:00
Philip Olson
3e57d6ccfd Commented out or rewrote PHP 6 documentation as discussed. Grep 'FIXME PHP_6' to fix. Closes PHP Bug #51468
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297557 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-06 05:24:11 +00:00
Mark Wiesemann
3c5e32fa72 coding standards
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297477 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-04 20:03:29 +00:00