note 113700 added to language.operators.precedence

From: Date: Mon, 18 Nov 2013 11:20:32 +0000
Subject: note 113700 added to language.operators.precedence
Groups: php.notes 
Request: Send a blank email to php-notes+get-197554@lists.php.net to get a copy of this message
How come these 2 examples get the same result? <?php $a = 1; $b = $a+$a++ + ++$a; $a = 1; echo $b; ?> <?php $b = $a+$a+$a++ + ++$a; echo $b; ?> ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/language.operators.precedence.php Edit -- https://master.php.net/note/edit/113700 Del: integrated -- https://master.php.net/note/delete/113700/integrated Del: useless -- https://master.php.net/note/delete/113700/useless Del: bad code -- https://master.php.net/note/delete/113700/bad+code Del: spam -- https://master.php.net/note/delete/113700/spam Del: non-english -- https://master.php.net/note/delete/113700/non-english Del: in docs -- https://master.php.net/note/delete/113700/in+docs Del: other reasons-- https://master.php.net/note/delete/113700 Reject -- https://master.php.net/note/reject/113700 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#197554) next »