note 118588 added to language.functions

From: Date: Mon, 04 Jan 2016 18:30:09 +0000
Subject: note 118588 added to language.functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-204591@lists.php.net to get a copy of this message
if the value of the argument within the function is changed, it does not get changed outside of the function. $a=10; $b=13; function add($a,$b){ echo "The Sum of $a+$b= ", $a+$b, "<br />"; $a=5; $b=10; echo "The sum is=" ,$a+$b , "<br />" ; } add($a,$b); echo $a+$b; ---- Server IP: 72.52.91.14 Probable Submitter: 39.35.194.58 ---- Manual Page -- http://php.net/manual/en/language.functions.php Edit -- https://master.php.net/note/edit/118588 Del: integrated -- https://master.php.net/note/delete/118588/integrated Del: useless -- https://master.php.net/note/delete/118588/useless Del: bad code -- https://master.php.net/note/delete/118588/bad+code Del: spam -- https://master.php.net/note/delete/118588/spam Del: non-english -- https://master.php.net/note/delete/118588/non-english Del: in docs -- https://master.php.net/note/delete/118588/in+docs Del: other reasons-- https://master.php.net/note/delete/118588 Reject -- https://master.php.net/note/reject/118588 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#204591) next »