note 126878 added to language.references.return

From: Date: Fri, 25 Feb 2022 02:05:38 +0000
Subject: note 126878 added to language.references.return
Groups: php.notes 
Request: Send a blank email to php-notes+get-217653@lists.php.net to get a copy of this message
<?php $a = 9; function &myF(){ global $a; return $a; } //before modified the value $func =& myF(); echo "$a and $func"; echo "\n"; //after modified the value $func++; echo "$a and $func"; ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.5.135 (proxied: 103.120.33.26) ---- Manual Page -- https://php.net/manual/en/language.references.return.php Edit -- https://main.php.net/note/edit/126878 Del: integrated -- https://main.php.net/note/delete/126878/integrated Del: useless -- https://main.php.net/note/delete/126878/useless Del: bad code -- https://main.php.net/note/delete/126878/bad+code Del: spam -- https://main.php.net/note/delete/126878/spam Del: non-english -- https://main.php.net/note/delete/126878/non-english Del: in docs -- https://main.php.net/note/delete/126878/in+docs Del: other reasons-- https://main.php.net/note/delete/126878 Reject -- https://main.php.net/note/reject/126878 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#217653) next »