Skip to content

htmlspecialchars 関連の関数で、flags パラメータのデフォルト値の説明に不整合がある #17

Closed
@mumumu

Description

@mumumu

https://www.php.net/manual/ja/function.htmlspecialchars.php

PHP 8.1 で、htmlspecialchars 関連の関数のデフォルト値は、ENT_COMPAT から ENT_QUOTES | ENT_SUBSTITUTE に変更され、マニュアルにもそれが反映されている。

だが、flags パラメータのデフォルト値の説明は、以下のように ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 となっている。

screenshot-1633257357

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions