I studied. NET (C #) before I learned anything, and later I learned about Android, and then I found out it was Java
Now more than the use of PHP especially with framework thinkphp
PHP to 5.x seems to introduce the concept of namespaces, often after thinkphp 3.2 also has the concept of a namespace look at the following code is not very familiar with
<?phpnamespace home\controller;use Think\controller;class Userscontroller extends Basecontroller {
And look at one of the things in Java.
Package Com.android.gscjs.adapter;import Com.android.gscjs.r;public Class Dynastyadapter extends Baseadapter {
Is it like two things?
The namespace part of PHP is not the same as the package part in Java. My simple understanding is to put the current class in a folder where bread and namespaces can actually be understood as a folder, a folder, and many subfolders.
The following use and import I understand that the introduction of the contents of an existing folder can invoke some of the previously done content similar to the effect of include
(a) about PHP more and more like Java, C # I see