🐝 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. Comparing two DateInterval PHP objects
  4. Snippet execution

Output of the "Comparing two DateInterval PHP objects" PHP snippet

Environment:

  • Strangebuzz Snippet VM: 6.4.9
  • PHP: 8.4

Code execution output:

-1
1
0

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

  Work with me!


... by COil
 PHP  date  dateinterval  spaceship

  Extracting the GET parameters of an URL with PHP

Putting the good permissions for a private SSH key  

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