TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Crash-Course in PHP Namespaces for WordPress Developers

56 pointsby eamannabout 7 years ago

6 comments

firefoxdabout 7 years ago
The WordPress ecosystem is the one place we need this the most. Adding a plug-in to your wp instance is always a gamble because you know it&#x27;s gonna break something else.<p>Kudos to the author for helping solve a real problem.
评论 #17016225 未加载
debacleabout 7 years ago
The fact that WordPress and other large projects still support PHP 5.* is one of the major things holding PHP back. Supporting PHP 5.* in 2018 is like supporting IE8 in 2018.
评论 #17015986 未加载
评论 #17016005 未加载
评论 #17016084 未加载
评论 #17016114 未加载
aussieguy123about 7 years ago
Look at the drupal source code on github, its all namespaced. The over a decade old wordpress core codebase is still old procedural style PHP.
esaymabout 7 years ago
How is this news? Been doing this in perl since 1995.
chrytonabout 7 years ago
Hey Steve.
jakeasmithabout 7 years ago
Hi, Steve.