Commit graph

37 commits

Author SHA1 Message Date
Nikita Popov
cccd50e8ed Remove redundant note in count() docs
Follows from general PHP behavior (undefined variable reads as NULL) and discusses something nobody should be doing in the first place. This was probably more relevant ten years ago than it is now.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345126 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 14:15:05 +00:00
Christoph Michael Becker
3fcc64d116 Fix #75733: count(null) and count(empty-string) raises a warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343711 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-26 10:45:33 +00:00
Kalle Sommer Nielsen
27b6cff4d5 Documented that count() may yield a warning on invalid types passed to it as of 7.2.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343513 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 19:50:44 +00:00
Pieter Hordijk
7237e4e22d Fixed wording of return value. Fixes #74828
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342677 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-18 13:32:15 +00:00
Christoph Michael Becker
57daa67471 Add link to empty()
This way we integrate user note 113617 in a sane way.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340315 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-04 18:13:45 +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
Nikita Popov
3ce14fde5c Normalize parameter names of array functions
Normalizing parameter names in docs first to later update arginfos from that.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331477 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-24 13:06:51 +00:00
Yannick Torres
33040b3b1b Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-16 09:25:19 +00:00
Peter Cowburn
c746fb679f count() does in fact discover recursion and issues an E_WARNING in response... but it will probably return a much higher number than it should. (doc #63406)
--
Provided by anonymous #22227 (mail+php@requinix.net)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328332 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:04 +00:00
Jakub Vrana
9190379067 Clarify count() with objects
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312153 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-14 14:40:03 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Jakub Vrana
d87240a673 Link Countable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296747 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-24 20:54:21 +00:00
Jakub Vrana
bc93886cd1 Prefer <initializer> before "default is"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291316 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 15:41:53 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
876c81c602 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283800 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:30:45 +00:00
Jakub Vrana
5730e7a2fa Initializers - part 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273648 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 16:14:26 +00:00
Daniel P. Brown
dc3c580b79 Added 'all' to function definition because it was apparently 'too ambiguous.'
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273206 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-09 22:53:54 +00:00
Mehdi Achour
885d702e25 Switch to new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249444 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 19:17:05 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Hannes Magnusson
c3bc936236 WS, preparation for the new doc style...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@222577 c90b9560-bf6c-de11-be94-00142212c4b1
2006-10-31 11:24:02 +00:00
Matt Li
cb7b67abca Grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182551 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-21 09:47:52 +00:00
Jakub Vrana
8747a04d26 Doesn't count object members (bug #31977)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182485 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-20 10:16:34 +00:00
Aidan Lister
5aeba5523b Improved refpurpose
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171998 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-03 07:30:01 +00:00
Aidan Lister
5fad7fe088 Fixed typo in last commit (count not coun). Added further examples. Used docbook markup appropriately.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171989 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-02 23:41:00 +00:00
Marcus Boerger
8748886df0 - Update
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171889 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-01 21:11:40 +00:00
Curt Zirzow
f25afe6fbc fix #29885, count() doesn't handle infinite recursion.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168094 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-06 20:13:42 +00:00
Jakub Vrana
602b3865fd Xmas typos 2/5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146514 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 18:42:07 +00:00
Mehdi Achour
27960e632c Merry XHTML and CS compliant christmas all \!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146503 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 16:55:22 +00:00
Heilig (Cece) Szabolcs
23396d4d4e applying PEAR coding standards on examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138081 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-17 12:21:03 +00:00
Philip Olson
bf504c0c96 A revision of the mode docs, and made the 0 warning a caution instead.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135505 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-20 16:59:16 +00:00
Friedhelm Betz
d7609cabba optional param for count, thanks to Griggs Domler
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135411 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-19 06:51:26 +00:00
Mehdi Achour
e45685a32d adding PHP tags in the examples and ws
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135246 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-16 17:06:57 +00:00
Philip Olson
736a15f139 Added php tags (<?php ?>) to examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129443 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 18:12:53 +00:00
Adrian Jurjica
2f7966f92e no message
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@81901 c90b9560-bf6c-de11-be94-00142212c4b1
2002-05-12 08:19:28 +00:00
Adrian Jurjica
de71bf7038 Translation of array functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@81898 c90b9560-bf6c-de11-be94-00142212c4b1
2002-05-12 08:10:34 +00:00
Hartmut Holzgraefe
5b9fc29465 revision tags added
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00
Hartmut Holzgraefe
a4b6d72ad3 banana-split
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78202 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:12:54 +00:00