Skip to content

Legacy "${name}" string interpolation is lexed as a plain string instead of interpolating the variable. #509

Closed

Description

@blacktrs

Summary

Legacy "${name}" string interpolation is lexed as a plain string instead of interpolating the variable.

Repro

<?php
$n = 'x';
$x = 'v';
echo "${n}", "\n";

Expected (php)

x

Actual (manticore 8ce6b490, Darwin arm64)

${n}

Tracking

Known-bug repro: tests/aot/repro/wrong/legacy_dollar_brace_interp.php — bash tests/aot/xfail.sh -k legacy_dollar_brace_interp reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.

Activity

  1. added
    bug
    wrong-answer
    on Oct 28, 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

    bugwrong-answer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions