Skip to content

A static property write through an instance ($obj::$prop = v) fails to lower: "unsupported assign target kind DynamicStaticAccess". #623

Closed

Description

@blacktrs

Reported in #614 (item 5). Seen in google/apiclient AccessToken/Verify.php. Read works, only the store fails.

<?php
class JWT { public static $leeway = 0; }
$jwt = new JWT();
if ($jwt::$leeway < 1) { $jwt::$leeway = 1; }
echo JWT::$leeway, "\n";

php 8.5: 1 · manticore 0.18.0: MIR.lower: unsupported assign target kind DynamicStaticAccess

Fixed on branch wordpress (unmerged): 6ce0a589, test tests/aot/cases/static_prop_dynamic_class_store.php.

Activity

  1. added
    bug
    on Nov 10, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions