Commit graph

74 commits

Author SHA1 Message Date
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
97c50278a6 =&new is syntactically invalid as of PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337302 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 11:14:30 +00:00
Christoph Michael Becker
b6dfe99e58 fixed comment regarding version dependent behavior (fixes )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336955 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 19:49:47 +00:00
Philip Olson
a2a141160a Mentioned this was removed in 5.4.0 so it's a fatal error. This is from a patch via the OE but I forget from who as their name disappeared but thank you whoever you are.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327197 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-21 06:53:37 +00:00
Yannick Torres
addba5dcce Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324459 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-22 15:15:20 +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
Karoly Negyesi
b940fde988 Added para tags.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311989 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-09 22:08:32 +00:00
Karoly Negyesi
237bae22d6 Oh my I broke the build. Escaping my ampersand.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311987 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-09 21:18:08 +00:00
Karoly Negyesi
0bb5eba611 Documented more the use of returned references.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311977 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-09 15:27:57 +00:00
Gustavo André dos Santos Lopes
2d567b44c9 - Merged text added in rev with note above.
- Even more evil references+arrays example to stress
  the dangerous nature of the combination.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304634 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-22 23:59:00 +00:00
Gustavo André dos Santos Lopes
590845fd0e - Added missing commas in rev .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304615 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-22 11:43:06 +00:00
Gustavo André dos Santos Lopes
f2d030b3b7 - Added information about references in expressions created
with array().
- Added parenthesis to "new returns a reference" statement,
  with a link to language.oop5.references.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304613 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-22 11:26:50 +00:00
Adam Harvey
22434db00e Fix doc bug (Assignment by reference within assignment operator) by
breaking out the previously brief discussion of using the assignment operator
to assign by reference into its own subsection, including a reference to
by-reference assignments of new expressions being deprecated. Also updated the
References Explained section to reflect 5.3+ generating E_DEPRECATED errors in
that case, rather than E_STRICT.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304605 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-22 08:15:45 +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
Peter Cowburn
c85159b5fc Added function foo to make references examples standalone. Fixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294184 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-29 08:57:43 +00:00
Jakub Vrana
e8db6b20fd Remove PHP 4 only note (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290810 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-16 12:06:45 +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
Torben Wilson
0fc57a9153 Noted what the first thing is that references can do.
Addresses bug .

Note that most of this page is redundant and should be folded into the
pages linked to; there are already places in the manual for this
information; they should be used.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288363 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-16 06:44:01 +00:00
Torben Wilson
1d4093bd7b A little more explanation about why references are not like C pointers.
Addresses bug .


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288224 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-10 06:38:08 +00:00
Daniel P. Brown
aa1104a02a Added PHP 5.3 deprecation warning.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287196 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-13 03:32:47 +00:00
Nilgün Belma Bugüner
04077dd209 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283798 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:17:58 +00:00
Yannick Torres
75b2d8e872 fix markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279761 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-03 10:58:35 +00:00
Damien Seguy
6ac5609145 using entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278861 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-16 19:46:35 +00:00
Daniel P. Brown
e65c8aff4d Rewrote many parts throughout to fix grammar and structure.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@272156 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-29 02:48:17 +00:00
Felipe Pena
5634a29c56 Change example to Returning References ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246081 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-12 22:54:49 +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
Etienne Kneuss
a9b5623096 Remove bogous warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230708 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-24 20:14:49 +00:00
Etienne Kneuss
04091afcbe Fix (Undefined variables get defined when used with references)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230653 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-24 11:19:24 +00:00
Jakub Vrana
775387ca25 =& new produces E_STRICT since PHP 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@200790 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-18 16:20:48 +00:00
Jakub Vrana
178147e5b0 Wrong references are fatal since 5.0.5, not 5.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196217 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-16 23:01:50 +00:00
Jakub Vrana
7d539551c1 E_NOTICE is issued with returning non-references in new versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@191447 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-25 13:00:01 +00:00
Jakub Vrana
b97466dfe0 Wrong references passing produces fatal error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190666 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-14 09:16:30 +00:00
Dan Scott
4624661520 Editorial pass for latest by-reference updates.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190017 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-06 14:26:29 +00:00
Derick Rethans
c4ee57543b - Added some clarifications about references.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190011 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-06 12:52:04 +00:00
Jon Parise
513e60cc9e Break this comma splice by using a semicolon to join the two independent
clauses.

The second two lines of the diff are the result of rewrapping the text for
column width.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189901 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-04 21:01:56 +00:00
Jakub Vrana
f0f6028120 $a and $b point to the same content, not variable (spotted by Sebastian Mendel)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184398 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-15 14:19:52 +00:00
Jakub Vrana
cf43331a95 'function &' is optional with methods (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183859 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-07 14:26:42 +00:00
Sean Coates
765034256b cleanup (grammar)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165774 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-08 17:26:59 +00:00
Jakub Vrana
630272e4b1 References and foreach (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165624 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-07 10:06:24 +00:00
Sean Coates
d4d39d519a grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165565 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-06 21:45:13 +00:00
Jakub Vrana
6ccd012aa9 See also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165564 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-06 21:39:39 +00:00
Jakub Vrana
94379c5ff0 WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165500 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-06 09:00:04 +00:00
Bagi Levente László
e6ed1faa10 fixed example: referencing globals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165415 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-05 15:05:59 +00:00
Jakub Vrana
ab4fd0ca34 References with complex arrays (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164371 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-26 20:53:56 +00:00
Jakub Vrana
3a35f32f02 Explain this a bit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164369 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-26 20:38:58 +00:00
Jakub Vrana
ed8fac6301 Referencing global variables inside function (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164355 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-26 15:55:09 +00:00
Jakub Vrana
e2a9b05e17 Arrays with references (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164351 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-26 15:16:26 +00:00
André Luis Ferreira da Silva Bacci
2281be554e s/TAB/spaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147081 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-21 15:37:29 +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
Philip Olson
b6fdcdd2e5 Added <?php ?> tags.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@130781 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-09 19:28:28 +00:00