What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Really funny and interesting functions here! πŸ’‘

Chemaclass
Chemaclass Tech Lead Spryker Solution Partner Posts: 213 πŸ§‘πŸ»β€πŸš€ - Cadet
edited January 2023 in Knowledge Sharing

Really funny and interesting functions here! πŸ’‘
https://stitcher.io/blog/my-10-favourite-php-functions

Comments

  • U01LLUGR1F0
    U01LLUGR1F0 Posts: 60 πŸ§‘πŸ»β€πŸš€ - Cadet

    Easter's date is determined by "the first Sunday after the full Moon that occurs on or after the spring equinox",
    date('Y-m-d', easter_date(2023)); // 2023-04-08

    that is actually a saturday πŸ˜„ but the function actually does return 2023-04-09

  • U01TZ93MPSQ
    U01TZ93MPSQ Posts: 40 πŸ§‘πŸ»β€πŸš€ - Cadet

    I actually used levenshtein many years back to do some basic "Did you actually mean this... ?" search feature in Xenforo.