Commit graph

125 commits

Author SHA1 Message Date
Dave Barr
5a0a13cb6d - Add a note about case-sensitivity, fix #26539.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146517 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 19:16:05 +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
Jakub Vrana
4085ee780b All syntax errors in examples hunted except those clearly stated as invalid
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146224 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-11 15:42:10 +00:00
Jakub Vrana
0599b66cc0 Changed print to echo as recommended in RFC/coding_standards
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@145979 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-08 13:52:47 +00:00
Mehdi Achour
2464af67f4 using screen to dislpay the correct output
# a user note was complaining about the statement being wrong (array ("blue") != array(1 => "blue"))


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@145449 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-03 11:24:18 +00:00
Mehdi Achour
d0fefa8d94 fixing #26225
adding an example
correcting the callback parameter name


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@144208 c90b9560-bf6c-de11-be94-00142212c4b1
2003-11-12 21:06:32 +00:00
Mehdi Achour
5695676352 this function need two callbacks
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143799 c90b9560-bf6c-de11-be94-00142212c4b1
2003-11-04 17:28:10 +00:00
Mehdi Achour
5360891466 use the right function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143673 c90b9560-bf6c-de11-be94-00142212c4b1
2003-11-03 14:32:58 +00:00
Mehdi Achour
7e29802d31 using screen tag for the examples
converting tabs to spaces in the examples
there is some noise with WS that I was unable to reduce, but my WS seems to be ok


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143671 c90b9560-bf6c-de11-be94-00142212c4b1
2003-11-03 14:05:07 +00:00
Fernando Correa da Conceição
98f50b0330 Fix wrong ID
# Don´t you use make test?


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@142151 c90b9560-bf6c-de11-be94-00142212c4b1
2003-10-10 05:08:09 +00:00
Andrey Hristov
909c25dafa Documentation for new functions in PHP5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@142099 c90b9560-bf6c-de11-be94-00142212c4b1
2003-10-09 07:28:40 +00:00
Sara Golemon
fb512b8f7e Correct specified index and grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@140608 c90b9560-bf6c-de11-be94-00142212c4b1
2003-09-19 04:33:56 +00:00
Mehdi Achour
49bb81ffbe adding prev to the see also list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138194 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-18 16:09:01 +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
Heilig (Cece) Szabolcs
d9784b8655 sorry, did not checked before committed :(
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138079 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-17 12:16:16 +00:00
Heilig (Cece) Szabolcs
ff4dc961b3 added example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138076 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-17 12:12:48 +00:00
Dallas Wang
00b0b64b1a Fixing bug #25113.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138048 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-17 06:15:41 +00:00
Mehdi Achour
477aa9f95c adding role attribute and php tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138007 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-16 18:59:12 +00:00
Heilig (Cece) Szabolcs
dc31a2a93d added example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@137991 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-16 15:33:22 +00:00
Philip Olson
56ae60d50d Added see also's.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135952 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-25 16:38:56 +00:00
Philip Olson
79f2183ac1 Remove warning about being broken in 4.0.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135951 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-25 16:33:04 +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
Philip Olson
db8088a4bc Properly document the word "element" as an array key/value pair, and "value"
as the value.  This almost closes bug #20394


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135353 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-18 08:31:09 +00:00
Philip Olson
14787bd7d7 See alsos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135341 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-17 22:38:54 +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
c9b9c8ff0f Added information from (and closes) bug #11077, and see also unlink/array_merge.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135092 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-15 07:01:58 +00:00
Thomas Schoefbeck
0dca8349fa added php-pi's
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133569 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-29 07:43:05 +00:00
Thomas Schoefbeck
2f813e99ae corr. example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133539 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-28 20:32:41 +00:00
Philip Olson
fa4f1efb88 Clarify the feature of "character sequences", and caution that numeric strings
are seen as strings and not integers prior to PHP 4.3.3, so used as character sequences.
This documents bug #24420


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132976 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-22 23:17:14 +00:00
Philip Olson
405647fad1 Added a <caution> regarding bug #23195 as copying an array resets the original array's
pointer which can cause an endless loop.  Also, each() will move the pointer past the end
as opposed to the end.  Updated the example to be self-contained, no longer uses $_POST.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132838 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-22 03:09:45 +00:00
Derick Rethans
0b93bd27f7 - Fixed structures. The structure for adding examples is:
<para>
 <example>
  <title />
  <programlisting>
<![CDATA[
<?php
echo "foo\n";
?>
]]>
  </programlisting>
  <para>
   The output is:
  </para>
  <screen>
<![CDATA[
foo
]]>
  </screen>
 </example>
</para>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@131857 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-16 12:03:39 +00:00
Mehdi Achour
ce5a4694c2 correcting my typos, thanks Derick
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@131799 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-16 05:23:40 +00:00
Mehdi Achour
97af64caa1 saturday typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@131517 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-14 14:20:12 +00:00
Philip Olson
923590c817 Fix refpurpose
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@131004 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-11 06:21:32 +00:00
Friedhelm Betz
2f4982acc2 join is an alias of implode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@130833 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-10 07:02:20 +00:00
Friedhelm Betz
e28cf13c71 unset to see also added, fixes #23997
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@130226 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-05 09:30:00 +00:00
Philip Olson
366de8af23 Was actually fixed in 4.2.1, not 4.0.6. Closes bug #23923
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129640 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-31 15:13:09 +00:00
Philip Olson
9fd7018715 Implement &note.randomseed; which states that random number generation is
automatic as of PHP 4.2.0


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129466 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 19:48:38 +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
Philip Olson
17fdae93ba Added {braces} and php tags to the examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129442 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 18:07:51 +00:00
Philip Olson
1b0f444c3a Link to the array type docs, added php tags in examples, and see also foreach.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129441 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 18:01:41 +00:00
Philip Olson
5fee473d55 Removed php3 example, and added php tags.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129440 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 17:53:11 +00:00
Philip Olson
bd220a42f3 Random seed is automatic as of PHP 4.2.0, and added php tags.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129430 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 17:44:31 +00:00
Philip Olson
3a30ba206e Remove php3 example, and see also array_key_exists()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129428 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 17:10:53 +00:00
Damien Seguy
3b0bf2bff9 reverting to last version
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129394 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 15:04:06 +00:00
Damien Seguy
e1742bc2ab upgrading example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129335 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 12:54:53 +00:00
Philip Olson
5a36bf3125 Replace <link linkend="language.types.x">x</link> with <type>x</type>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129076 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-28 23:03:10 +00:00
Philip Olson
eee8ead36d Initial documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@128358 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-22 01:05:26 +00:00