🐝 Strangebuzz
  • Blog
  • Snippets
  • Tools
    Tools What is my IP? Is my password compromised? My emojis
  • Misc
    Technical project stack GDPR About
  • 🇫🇷
  • 🇬🇧

Symfony / PHP / JavaScript / Vue.js / Docker / Devops...

Less chitchat... more code.

  1. Home
  2. Snippets
  3. Extracting the domain of an email with PHP
  4. Snippet execution

Output of the "Extracting the domain of an email with PHP" PHP snippet

Environment:

  • Strangebuzz Snippet VM: 6.4.9
  • PHP: 8.4

Code execution output:

PHP: example.com
Symfony String component: example.com

 Back to the code  More on Stackoverflow   Read the doc  More on the web  Random snippet

  Work with me!


... by COil
 PHP  Email  string  string-component  strpos  substr

  Getting the properties' original values of a Doctrine entity after an update

Using the Abstract geolocation API with the Symfony HTTP client  

Strangebuzz EURL
© Made by COil, © 2007-2025. Powered by Symfony
Symfony ™ is a trademark of Symfony SAS.
  • 🦋