PHP 8.3 breaking change on arrays

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024
  • This is the " Negative indices in arrays" segment from my "What's new in PHP 8.3 " livestream. Watch the full livestream here: www.youtube.co....
    ----------------------------------------------------------------------------------------------------
    - Twitter: / enunomaduro
    - Telegram Group: t.me/+RoAqqaaS...
    - Threads: www.threads.ne...
    - Mastodon: mastodon.socia...
    - LinkedIn: / nunomaduro
    - RUclips: / nunomaduro
    - GitHub: github.com/nun...
    - Bluesky: bsky.app/profi...
    - Tiktok: / enunomaduro

Комментарии • 11

  • @spicynoodle7419
    @spicynoodle7419 11 месяцев назад +9

    Truly a PHP moment right there

    • @nunomaduro
      @nunomaduro  11 месяцев назад +1

      ahah, for real.

  • @codesolutionsoftware6296
    @codesolutionsoftware6296 11 месяцев назад +2

    Hey man!
    Thank you for everything you do to PHP community!
    Appreciate your effort!

  • @BlueTeK
    @BlueTeK 10 месяцев назад +1

    Thats an amazing changes for php. Love That.

  • @TheGameIsOverCy
    @TheGameIsOverCy 11 месяцев назад +1

    Nice thanks for the information! Today i also learned about negative indexes! :)

    • @TheRafark
      @TheRafark 10 месяцев назад +1

      Any scalar value can be an index (which is different from the internal index)

    • @TheGameIsOverCy
      @TheGameIsOverCy 10 месяцев назад

      👍

  • @hasanablak
    @hasanablak 11 месяцев назад +1

    🎉🎉

  • @ajzack983
    @ajzack983 10 месяцев назад

    the whole thing is weird, I which indexes were just unsigned integers only and negatif integers used to start indexing starting from the end. f.e. $array[-1] being used to access the last element and $array[ - $array_size ] to access the first element.

  • @lhard123l
    @lhard123l 11 месяцев назад +1

    XDD