facebook / facebook/hhvm

Implement flexible now/heredocs

Open
#8,497 1 comment 2 reactions 0 assignees View on GitHub
feature request
Dominant language
C++
Stars
18.7k
Forks
3.1k
Avg merge
1h 47m
Merged PRs (30d)
2

Description

PHP 7.3 has finally fixed a bunch of issues with the formatting of now/heredocs. Would be nice if HHVM could too :)

RFC: https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked PHP RFC and compare its flexible nowdoc/heredoc requirements with HHVM's current behavior. Identify the parser implementation and related tests, then verify that the supported formatting cases match the RFC and that the test suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, php
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.