htmlentities() doesn't recognize (and ignores) ENT_HTML5 flag
Open
php5 incompatibility
- Dominant language
- C++
- Stars
- 18.7k
- Forks
- 3.1k
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
``` php
var_dump(htmlentities('This + is. a < test', ENT_HTML5 ));
```
on `HipHop VM 3.1.0-dev+2014.05.22 (rel)` produces:
```
string(22) "This + is. a < test
```
on `PHP 5.5.12-2` produces:
```
string(34) "This + is. a < test"
```
Contributor guide
Assessment
This issue has not been assessed yet.