George Peter Banyard
87b1f7ef55
Improve sprintf documentation and related functions (such as printf)
...
Fix Doc Bug #77451
Integrate Note 111201 into doc http://php.net/manual/en/function.sprintf.php#111201
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347041 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-24 16:30:33 +00:00
Christoph Michael Becker
448a9cab14
Fix #77529 : %G modifier is possibly incorrect
...
Patch provided by girgias.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346810 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-12 16:05:24 +00:00
Christoph Michael Becker
962214a5cc
Simplify signature of variadic functions
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346102 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 19:09:14 +00:00
Pieter Hordijk
a468efb805
Fixes #75297
...
--
Provided by anonymous 82137 (me@ekins.space )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343167 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-30 23:31:19 +00:00
Christoph Michael Becker
ead61e4ed7
sprintf() returns false on failure
...
Thanks to Jos Ahrens for pointing that out.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341385 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-14 10:38:33 +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
ec67e42ba8
Fix #70534 : See Also suggestion: sprintf, date
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339444 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 21:19:59 +00:00
Maciek Sokolewicz
6320f8eb30
fixed quoting the literal period character (was: backtick, period, quote; now it's just a literal period).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336416 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-06 22:04:45 +00:00
Dan Ackroyd
11418b6522
Clarified that padding char is optional
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335743 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 15:07:34 +00:00
Dan Ackroyd
1220101ce4
Added detail about padding character for bug 61532
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335742 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 14:55:44 +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
Joe Watkins
74684dc111
fix #66234 add not about wchar and sprintf
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332262 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-04 13:15:03 +00:00
Joe Watkins
9bdac16ec0
#64371 don't use long
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331928 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 09:18:48 +00:00
Joe Watkins
85cdaa2e89
#64371 fix alphabetical ordering of specifiers, add table for extra points concerning co-ercion
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331922 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 08:31:48 +00:00
Joe Watkins
6a9b6f5fe4
#61626 include warning about %c ignoring width/padding
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331738 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-09 06:16:03 +00:00
Adam Harvey
87455002a7
Add a note about position specifiers respecting PHP_INT_MAX.
...
Fixes doc bug #61531 (Integer Overflow in all printf functions).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328312 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 02:14:56 +00:00
Adam Harvey
c2b3d06db9
Fix doc bug #62608 (Documentation examples use printf(), not sprintf()).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326717 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 02:16:03 +00:00
Jakub Vrana
b5003f8de6
Fix build
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313279 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-16 08:16:52 +00:00
Peter Cowburn
510938d77a
added example to sprintf of %n$ with other specifiers (thanks Steven)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313261 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 09:27:13 +00:00
Shein Alexey
41d9ef6917
Added variable definitions in order to make example easy runnable.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309965 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-05 10:35:31 +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
9ec18fffa0
Document E, g and G
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291078 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-20 13:14:30 +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
ed67b3c502
fixed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283839 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 09:08:43 +00:00
Joey Smith
7ffd6b8baf
Document precision specifier more clearly. This sentence fragement was
...
incorporated from the Linux man-pages project's documentation on printf(3)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280456 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-13 16:06:59 +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
Mehdi Achour
e727ac1f60
ref.strings (.* => .*): Switch to new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237778 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 19:01:57 +00:00
Mehdi Achour
30fae20937
WS, prepare for new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237777 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 19:01:26 +00:00
Jakub Vrana
a7ec74d5b5
%.123e stands for 1.123 since PHP 5.2.1 (bug #40482 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232464 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-23 17:07:29 +00:00
Jakub Vrana
fbb9356ad5
Follow coding style (bug #36980 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210815 c90b9560-bf6c-de11-be94-00142212c4b1
2006-04-05 16:12:25 +00:00
Nuno Lopes
4733e897c7
document new %F parameter
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@173671 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-28 12:42:49 +00:00
Dave Barr
488b451a06
- Fix wording.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165991 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-11 01:52:42 +00:00
Dave Barr
a5186260fe
- Document sign specifier.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165990 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-11 01:50:46 +00:00
Curt Zirzow
918f77ae2e
Fixed proto's to show variable number of args.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165723 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-08 01:30:40 +00:00
Dave Barr
413b9f0979
- Add an alternate padding character example.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165666 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-07 17:54:17 +00:00
Dave Barr
284476507c
- Remove the format documentation from fprintf and link to the
...
documentation in sprintf. Keeping it in one place is better and the
fprintf version was outdated anyway.
- The precision specifier works on strings too. Document this and add
examples.
- Add some basic examples of each type specifier.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164698 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-30 05:04:21 +00:00
Nuno Lopes
437372647f
fix #28555 : missing the 'e' specifier
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159916 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-28 21:45:59 +00:00
Dave Barr
f58fd6cc8b
- "PHP version x.y" => "PHP x.y" consistency.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153002 c90b9560-bf6c-de11-be94-00142212c4b1
2004-03-06 02:40:23 +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
Philip Olson
bcecf5d323
Added php tags (<?php ?>) to examples.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129420 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 16:47:59 +00:00
Sara Golemon
19d919fe76
Ooops! Fix whitespace.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@110953 c90b9560-bf6c-de11-be94-00142212c4b1
2003-01-07 21:05:16 +00:00
Sara Golemon
03e1e2ad70
Added "See Also" for vsprintf
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@110951 c90b9560-bf6c-de11-be94-00142212c4b1
2003-01-07 20:40:56 +00:00
Damien Seguy
c81b785e1b
make all see also consistent
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@90028 c90b9560-bf6c-de11-be94-00142212c4b1
2002-07-27 04:07:06 +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