Tag: constants

  • PHP Constants, the lesser known ones

    Often, when looking into people’s code, I find little code fragments that could be designed a bit more elegant. Sometimes the code needs refactoring or sometimes some design patterns needs to be applied. This time though, I’d like to look at some PHP constants that are lesser known, but can make your code cleaner, less […]