note 93881 added to language.namespaces.definition

From: Date: Mon, 05 Oct 2009 11:12:49 +0000
Subject: note 93881 added to language.namespaces.definition
Groups: php.notes 
Request: Send a blank email to php-notes+get-161343@lists.php.net to get a copy of this message
At jeremeamia at gmail dot com Using forward slashes also causes parsing errors :) PHP namespaces are declared by using backslashes, so your code should have been written like this: <?php namespace Project\Classes\Function; // Causes parse errors namespace Project\Abstract\Factory; // Causes parse errors ?> ---- Server IP: 83.137.20.135 Probable Submitter: 145.58.169.179 ---- Manual Page -- http://www.php.net/manual/en/language.namespaces.definition.php Edit -- https://master.php.net/note/edit/93881 Del: integrated -- https://master.php.net/note/delete/93881/integrated Del: useless -- https://master.php.net/note/delete/93881/useless Del: bad code -- https://master.php.net/note/delete/93881/bad+code Del: spam -- https://master.php.net/note/delete/93881/spam Del: non-english -- https://master.php.net/note/delete/93881/non-english Del: in docs -- https://master.php.net/note/delete/93881/in+docs Del: other reasons-- https://master.php.net/note/delete/93881 Reject -- https://master.php.net/note/reject/93881 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161343) next »