Date: 11/28/98
- Next message: Rasmus Lerdorf: "[PHP-DEV] admin-notes page fixed"
- Previous message: Bug Database: "[PHP-DEV] Bug #958 Updated: Y2K"
- Next in thread: eschmid: "[PHP-DEV] CVS update: php3/doc/chapters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Saturday November 28, 1998 @ 1:44
Author: rasmus
Update of /repository/php3/doc/chapters
In directory asf:/u2/tmp/cvs-serv26097/doc/chapters
Modified Files:
lang-const.sgml
Log Message:
Fix typo
Index: php3/doc/chapters/lang-const.sgml
diff -c php3/doc/chapters/lang-const.sgml:1.26 php3/doc/chapters/lang-const.sgml:1.27
*** php3/doc/chapters/lang-const.sgml:1.26 Sat Oct 3 20:44:22 1998
--- php3/doc/chapters/lang-const.sgml Sat Nov 28 01:44:42 1998
***************
*** 141,147 ****
$e = $d = ++$b; /* pre-increment, assign the incremented value of $b (6) to $d and $e */
/* at this point, both $d and $e are equal to 6 */
$f = double($d++); /* assign twice the value of $d <emphasis>before</emphasis> the increment, 2*6 = 12 to $f */
! $g = double($++e); /* assign twice the value of $e <emphasis>after</emphasis> the increment, 2*7 = 14 to $f */
$h = $g += 10; /* first, $g is incremented by 10 and ends with the value of 24.
the value of the assignment (24) is then assigned into $h,
and $h ends with the value of 24 as well. */
--- 141,147 ----
$e = $d = ++$b; /* pre-increment, assign the incremented value of $b (6) to $d and $e */
/* at this point, both $d and $e are equal to 6 */
$f = double($d++); /* assign twice the value of $d <emphasis>before</emphasis> the increment, 2*6 = 12 to $f */
! $g = double(++$e); /* assign twice the value of $e <emphasis>after</emphasis> the increment, 2*7 = 14 to $f */
$h = $g += 10; /* first, $g is incremented by 10 and ends with the value of 24.
the value of the assignment (24) is then assigned into $h,
and $h ends with the value of 24 as well. */
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Rasmus Lerdorf: "[PHP-DEV] admin-notes page fixed"
- Previous message: Bug Database: "[PHP-DEV] Bug #958 Updated: Y2K"
- Next in thread: eschmid: "[PHP-DEV] CVS update: php3/doc/chapters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

