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

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -