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
Post a Comment