GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PHP 8.2: msgpack_unpack: Support deprecation of dynamic properties, forbid dynamic properties in `readonly` classes · Issue #166 · msgpack/msgpack-php

PHP 8.2: msgpack_unpack: Support deprecation of dynamic properties, forbid dynamic properties in readonly classes #166

New issue
Copy link
New issue
Copy link
Open
Open
PHP 8.2: msgpack_unpack: Support deprecation of dynamic properties, forbid dynamic properties in readonly classes#166
Copy link

Description

@TysonAndre
TysonAndre
opened on Aug 13, 2022
Issue body actions

php/php-src#9325

  • https://wiki.php.net/rfc/readonly_classes - Cannot create dynamic property errors should probably be thrown in msgpack_unpack() to avoid creating readonly class instances with dynamic properties
  • https://wiki.php.net/rfc/deprecate_dynamic_properties - msgpack_unpack() should probably emit a deprecation notice for classes without #[AllowDynamicProperties] attributes, because in php 9.0, msgpack_unpack() on the same data would become a Error

The approach that would be used for php 8.2 unserialize() is still being discussed, but filing this to report work that would be needed to support php 8.2.

Activity

  1. m6w6 commented on Oct 7, 2022

    @m6w6
    m6w6
    on Oct 7, 2022
    Collaborator
    More actions

    Has there been an outcome/consensus?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.