Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

0xSim, to programmer_humor in the myth of type safety

The boy scout technique: fix your types when you're working on a bug or a feature, one file at a time. Also try to use unknown instead of any for more sensitive parts, it will force you to typecheck.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • 200 @ user_comments
    HTTP status 200 OK
    Route name user_comments
    Has session yes
    Stateless Check no
    Time 286 ms
    Total time 286 ms
    Initialization time 104 ms
    Memory 12.0 MiB
    Peak memory usage 12.0 MiB
    PHP memory limit 128 MiB
    Logger 86
    Errors 0
    Warnings 0
    Deprecations 86
    Cache 30 in 13.39 ms
    Cache Calls 30
    Total time 13.39 ms
    Cache hits 27 / 38 (71.05%)
    Cache writes 7
    2
    Default locale en
    Missing messages 2
    Fallback messages 0
    Defined messages 123
    Security n/a
    Authenticated No
    Firewall name main
    Twig 112 ms
    Render Time 112 ms
    Template Calls 63
    Block Calls 16
    Macro Calls 0
    39 in 34 ms
    settings_row_switch 15
    user_settings_row_switch 4
    date 2
    settings_row_enum 2
    entry_comment 1
    user_inline 1
    date_edited 1
    magazine_inline 1
    entry_inline 1
    user_avatar 1
    vote 1
    boost 1
    user_actions 1
    related_magazines 1
    active_users 1
    related_categories 1
    related_posts 1
    related_entries 1
    support_us_block 1
    featured_magazines 1
    17 in 43.91 ms
    Database Queries 17
    Different statements 16
    Query time 43.91 ms
    Invalid entities 0
    Cache hits 19
    Cache misses 1
    Cache puts 2
    6.4.0
    Profiler token fe13d9
    Environment dev
    Debug enabled
    PHP version 8.2.26   View phpinfo()
    PHP Extensions Xdebug ✗ APCu ✓ OPcache ✓
    PHP SAPI apache2handler