PHP namespaces does away with requiring files? -


i reading on information on php namespaces released in php 5.3, , seeing looked instead of requiring files code need had use namepace. correct in assumption?

no. namespaces give means logically separate code. still need require source files in order use them. (or, more likely, use autoloader you. note however, feature exists prior 5.3.)


Comments

Popular posts from this blog

Python __call__ special method practical example -

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -