Native enumerations in PHP

  • avatar
  • 610 Views
  • 3 Likes
  • 6 mins read
Preview post image

Enumerations, or Enums allow a developer to define a custom type that is limited to one of a discrete number of possible values. That can be especially helpful when defining a domain model, as it enables making invalid states unrepresentable. In other words, enums are a restricting layer on top of classes and class constants, intended to provide a way to define a closed set of possible values for a type.

Useful native HTML tips

  • avatar
  • 844 Views
  • 6 mins read
Preview post image

Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.

I will share with you some very useful native HTML tips that does not need any CSS nor JavaScript.

Hey visitor! Register your account and get access to featured articles and more - it's free.