facebook / facebook/hhvm

Difference in html_entity_decode

Open
#6,303 4 comments 1 reaction 0 assignees View on GitHub
php5 incompatibility probably easy
Dominant language
C++
Stars
18.7k
Forks
3.1k
Avg merge
1h 47m
Merged PRs (30d)
2

Description

When executing `html_entity_decode()` HHVM seems to enable `ENT_QUOTES` by default, unlike PHP:

See: https://3v4l.org/B0lup

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the html_entity_decode() behavior in HHVM and compare it with PHP using the linked 3v4l.org example. Trace the HHVM entry point for html_entity_decode() and verify that the default handling of ENT_QUOTES matches PHP; done means the same input produces the same decoded output.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.