note 126015 added to functions.user-defined
| From: | anisgazig at gmail dot com | Date: | Fri, 16 Apr 2021 07:10:07 +0000 |
| Subject: | note 126015 added to functions.user-defined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216289@lists.php.net to get a copy of this message | ||
function country(){
echo "country name japan","<br>";
function city(){
echo "city name tokyo","<br>";
}
}
country();//country name japan
city();//city name tokyo
city();//city name tokyo
city();//city name tokyo
country();//Fatal error: Cannot redeclare city() (previously declared
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 103.120.33.26)
----
Manual Page -- https://php.net/manual/en/functions.user-defined.php
Edit -- https://main.php.net/note/edit/126015
Del: integrated -- https://main.php.net/note/delete/126015/integrated
Del: useless -- https://main.php.net/note/delete/126015/useless
Del: bad code -- https://main.php.net/note/delete/126015/bad+code
Del: spam -- https://main.php.net/note/delete/126015/spam
Del: non-english -- https://main.php.net/note/delete/126015/non-english
Del: in docs -- https://main.php.net/note/delete/126015/in+docs
Del: other reasons-- https://main.php.net/note/delete/126015
Reject -- https://main.php.net/note/reject/126015
Search -- https://main.php.net/manage/user-notes.php