note 122769 deleted from functions.user-defined by cmb

From: Date: Sat, 18 May 2019 07:57:15 +0000
Subject: note 122769 deleted from functions.user-defined by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-211056@lists.php.net to get a copy of this message
Note Submitter: everton3x at gmail dot com ---- Although functions have a global scope, we can use them in conjunction with namespaces. This works perfectly: <?php function test(){ echo "test 1\n"; } namespace NS; function test(){ echo "test 2\n"; } namespace NS\Sub; function test(){ echo "test 3\n"; } ?>

« previous php.notes (#211056) next »