Skip to content

mb_http_input throws ValueError in PHP 8.0.0, the change is incorrectly documented for 8.4.0 #5244

Description

@DerpgonCz

From manual page: https://php.net/function.mb-http-input


I have noticed an undocumented change to mb_http_input between PHP 7.4.33 and 8.0.0.

Currently, the function mb_http_input is documented to throw a ValueError when an invalid value is supplied, but since PHP 8.4.

However, the function throws a ValueError in 8.0.0 already.

This can be verified via:

<?php

mb_http_input("UTF-8");

https://3v4l.org/dImW2

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions