Commit graph

13672 commits

Author SHA1 Message Date
Kalle Sommer Nielsen
a25ea24b7e Add a tip regrading array iteration with for (Thanks for the help Pierre)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265700 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-31 00:35:09 +00:00
Felipe Pena
9c862a24c1 - New example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265668 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-30 14:23:24 +00:00
Felipe Pena
fac021dd65 Typo-- (thanks Kalle!)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265651 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-29 16:42:19 +00:00
Richard Quadling
05da70232c Added &reftitle.examples; and fixed some markup.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265650 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-29 15:49:16 +00:00
Felipe Pena
0f179a2c3b - Added new examples related to PHP 5.3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265632 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-29 12:47:25 +00:00
Kalle Sommer Nielsen
0ebb1e4ec0 * Fixing minor errors / adding improvements on many gd related functions with help from Ross Masters
* Added watermark examples on the main page based on Pierre's code by Ross Masters
* Added examples for the following functions
 * imagefilter
 * imageftbbox
 * imagegif
 * imagepsbbox
 * imagettfbbox
 * iptcembed
* Following examples are by Ross Masters
 * imagealphablending
 * imagecolorexact
 * imagecolorexactalpha
 * imagecolormatch
 * imagecolorresolve
 * imagecolorresolvealpha
 * imagegd
 * imagegd2
 * imagelayereffect
 * imagepstext


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265588 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-28 19:03:16 +00:00
Sean Coates
ac01e6d92f add default parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265564 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-27 19:03:33 +00:00
Kalle Sommer Nielsen
730116ccfd Fixes #44286 (date('u'): milli or microseconds?) -- Patch by Ross Masters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265563 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-27 18:08:10 +00:00
Kalle Sommer Nielsen
46b5bc2c50 Add reference to imagesavealpha()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265562 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-27 16:02:08 +00:00
Kalle Sommer Nielsen
3d95b4e0f9 Fix reference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265561 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-27 15:51:52 +00:00
Kalle Sommer Nielsen
a4b47e97b3 Added missing calls to imagedestroy() on examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265560 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-27 15:26:04 +00:00
TAKAGI Masahiro
288e57e4ff fixed typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265454 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-25 04:22:37 +00:00
Kalle Sommer Nielsen
0564b7f436 Fix gramma
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265443 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-24 21:02:32 +00:00
Kalle Sommer Nielsen
e2fde08dda Move note regrading time resolution into an entity (note.filesystem-time-res)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265412 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-24 07:36:06 +00:00
Kalle Sommer Nielsen
a4345870c0 Added examples for the following functions:
* imagecreatefromgd2part()
 * jpeg2wbmp()
 * png2wbmp()


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265411 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-24 07:27:38 +00:00
Kalle Sommer Nielsen
20a326f84d * Added caution note that ticks are deprecated as of 5.3
* Added note in changelog on the following functions that they will throw an E_DEPRECATED notice as of 5.3:
  * mktime() -- is_dst parameter is deprecated
  * register_tick_function()
  * mysql_db_query()
  * mysql_escape_string()
  * setlocale() -- Behavior of passing strings insted of one of the LC_* constants is deprecated


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265410 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-24 07:26:26 +00:00
Kalle Sommer Nielsen
79e058a6b3 is_xhtml parameter is optional
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265408 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-24 06:14:11 +00:00
Hannes Magnusson
d0bf62af12 Upgrade to the new-oo-style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265374 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 17:19:47 +00:00
Hannes Magnusson
1d8bfbf7d9 Note for few XMLReader methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265373 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 17:08:59 +00:00
Hannes Magnusson
3e6c9ccfec Initial commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265372 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 17:08:35 +00:00
Hannes Magnusson
4188cd2a56 Use proper markup for exceptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265364 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 15:55:58 +00:00
Hannes Magnusson
5fc83c2ba8 More markup fixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265363 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 15:44:38 +00:00
Hannes Magnusson
5cd5661448 Use proper markup for variables
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265362 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 15:40:25 +00:00
Hannes Magnusson
fec7f8fafd These are not variables, but array keys
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265361 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 15:07:18 +00:00
Hannes Magnusson
9fcdb5c853 Implement phpdoc:classref
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265353 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 14:09:15 +00:00
Hannes Magnusson
95407835ee Use proper markup for variables
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265352 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 14:08:56 +00:00
Hannes Magnusson
ecd083439d Use phpdoc:exceptionref for exceptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265351 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 14:05:42 +00:00
Hannes Magnusson
336dcf72d5 Implement phpdoc:varentry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265350 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 14:02:50 +00:00
Hannes Magnusson
159fa52e62 Fix build and spread some newlines loving
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265343 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 13:18:02 +00:00
Kalle Sommer Nielsen
86a9f0be43 * Added imagedestroy() call to image2wbmp() example
* Fixed threshold parameter description for jpeg2wbmp() and png2wbmp()


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265317 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 01:03:28 +00:00
Hannes Magnusson
222d440233 fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265311 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-22 18:52:18 +00:00
Kalle Sommer Nielsen
3f9e7ba826 Added new examples for gd documentation:
* imagecolorset
* imagecreatefromgd
* imagecreatefromgd2
* imagecreatefromxbm
* imagecreatefromxpm
* imagefttext
* imagepalettecopy
* imagepsencodefont
* imagepsextendfont
* imagepsslantfont
* imagesetbrush
* imagesetthickness
* imagesettile

Following examples are by Ross Masters:
* imageantialias
* imagecolorclosest
* imagecolorclosestalpha
* imagejpeg
* imagewbmp
* imagexbm


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265298 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-22 15:29:16 +00:00
Kalle Sommer Nielsen
39273a8e01 Make the comment more obvious - reported by Ross Masters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265288 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-22 13:39:59 +00:00
Jakub Vrana
75ee25494f Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265285 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-22 13:17:17 +00:00
Richard Quadling
5f22ade289 Example for odbc_prepare and odbc_execute.
&success;. => &success; in several places.
.. => ... for tree listings where .. and ... were mixed.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265276 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-22 11:04:23 +00:00
Richard Quadling
67387dcd65 Extension specific entity files are for local use only.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265275 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-22 11:00:34 +00:00
Greg Beaver
ed4b32683e fix Doc Bug #45394: phar::running options reversed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265263 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-22 04:28:05 +00:00
Kalle Sommer Nielsen
43de627a27 Added note on fileatime, filectime, filemtime, stat and touch regrading time resolution from file system to another
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265254 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-21 23:50:27 +00:00
Kalle Sommer Nielsen
875946ea1f * Added var_dump() call on imagecolorat() example to make the output as expected
* Added missing ; in the 2nd example on imagedashedline()
* Added example for imagesavealpha()
* Added example for imagepsfreefont()


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265202 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-21 05:45:06 +00:00
Kalle Sommer Nielsen
60fa45559e Fix build (include, include_once, require, require_once and return will not work for now)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265195 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-21 03:22:56 +00:00
Kalle Sommer Nielsen
bbe70c1cab Fixes #45069 (multiple problems with reserved.php)
Also restructures the table into one with reserved keywords, language constructs and compile time constants


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265181 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 19:06:20 +00:00
Lucas Nealan
6d36d3530e add information about max_execution_time having a default setting of 0 in sapi/cli. > clean some language referring to sapi timeouts
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265164 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 08:41:10 +00:00
Antony Dovgal
a877babfaf fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265161 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 07:49:46 +00:00
Kalle Sommer Nielsen
7a7d3dc2c4 Fix final dublicate
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265154 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 03:05:52 +00:00
Kalle Sommer Nielsen
6acd92e24c * Fixes #45646 (Failed Connect Does Not Return FALSE)
* Add a notice about dealing with connection error handling


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265153 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 02:19:52 +00:00
Kalle Sommer Nielsen
0cac5f6eb9 Added examples for gd documentation:
* imagecolortransparent
* imagefilledrectangle
* Alternative to deprecated function imagedashedline

Also changed dashedline.png to imagedashedline.png so all figures are named image*


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265143 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 00:08:24 +00:00
Kalle Sommer Nielsen
ad7d582a65 Document that each() also accepts objects, but may return unexpected results + add link to object iteration
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265142 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-19 23:18:42 +00:00
Kalle Sommer Nielsen
ec9fc2e0f7 Document that a semicolon also may be used after a case, like: case 1; case 2;, ...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265141 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-19 23:12:48 +00:00
Kalle Sommer Nielsen
3e99f84597 Added example for heredoc in arguments
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265139 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-19 22:54:03 +00:00
Kalle Sommer Nielsen
ff3c03e4be Windows 98 is not the only unsupported Windows system as of 5.3, ME/NT4 are aswell
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265127 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-19 13:38:55 +00:00