+ Reply to Thread
Results 1 to 3 of 3

Thread: What is namespaces in PHP?

  1. #1

  2. #2
    Web Hosting Expert Mahwish is on a distinguished road
    Join Date
    Jan 2018
    In PHP, namespaces are used to solve the problems that authors of libraries and applications faced while using re-usable code elements such as functions or classes etc.

  3. #3
    Hosting Guru sonikathakur is on a distinguished road
    Join Date
    May 2014
    PHP namespaces was introduced in version 5.3. Namespaces is a way of group classes together into virtual directories, the main reason we would want to do this is to help avoid collision of class names in your application.

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 05-22-2018, 11:57 AM
  2. What is namespaces in PHP?
    By sunled in forum Programming Discussion
    Replies: 0
    Last Post: 05-17-2018, 06:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts