Update of /cvsroot/phplib/php-lib-stable/doc/sgml
In directory usw-pr-cvs1:/tmp/cvs-serv13189
Modified Files:
03-session.sgml 03-user.sgml
Log Message:
changed name of $prefix in serialize to $var - syncing with devel tree
Index: 03-session.sgml
===================================================================
RCS file: /cvsroot/phplib/php-lib-stable/doc/sgml/03-session.sgml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** 03-session.sgml 2000/04/17 16:48:32 1.2
--- 03-session.sgml 2001/08/18 02:41:49 1.3
***************
*** 242,248 ****
${$this->name} is <em/not/ deleted.
! <tag>serialize($prefix, &$str)</tag>
<p>serialize() is used internally to append to str all PHP
! code needed to reconstruct the variable named in prefix.
<tag>freeze()</tag>
--- 242,248 ----
${$this->name} is <em/not/ deleted.
! <tag>serialize($var, &$str)</tag>
<p>serialize() is used internally to append to str all PHP
! code needed to reconstruct the variable named in var.
<tag>freeze()</tag>
***************
*** 521,525 ****
The heart of the session class is the <tt/serialize()/ internal
! function. This function takes an expression called prefix and
generates PHP code that will assign the value of that expression
to the expression when executed. For example, if the expression
--- 521,525 ----
The heart of the session class is the <tt/serialize()/ internal
! function. This function takes an expression called var and
generates PHP code that will assign the value of that expression
to the expression when executed. For example, if the expression
***************
*** 559,563 ****
enumerate the contents of the objects slot <tt/persistent_slots/
and call <tt/serialize()/ recursively for each of these slots
! with the appropriate prefix.
Since many of the expressions used in <tt/serialize()/ require
--- 559,563 ----
enumerate the contents of the objects slot <tt/persistent_slots/
and call <tt/serialize()/ recursively for each of these slots
! with the appropriate var.
Since many of the expressions used in <tt/serialize()/ require
Index: 03-user.sgml
===================================================================
RCS file: /cvsroot/phplib/php-lib-stable/doc/sgml/03-user.sgml,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** 03-user.sgml 2000/04/17 16:40:03 1.1.1.1
--- 03-user.sgml 2001/08/18 02:41:49 1.2
***************
*** 111,115 ****
<p>Empty. Not useful with User.
! <tag>serialize($prefix, &$str)</tag>
<p>Works as expected.
--- 111,115 ----
<p>Empty. Not useful with User.
! <tag>serialize($var, &$str)</tag>
<p>Works as expected.
|