CVS update: php3/doc/chapters

From: Date: Sat, 28 Nov 1998 06:44:49 +0000
Subject: CVS update: php3/doc/chapters
Groups: php.dev 
Request: Send a blank email to php-dev+get-2617@lists.php.net to get a copy of this message
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@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2617) next »