|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80954 Error: Call to undefined function mb_ord()
Submitted: 2021-04-15 08:39 UTC Modified: 2021-04-15 08:41 UTC
From: erwan1309 at hotmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 8.0.3 OS: Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: erwan1309 at hotmail dot com
New email:
PHP Version: OS:


 [2021-04-15 08:39 UTC] erwan1309 at hotmail dot com
From manual page:
Env: PHP 8.0.3 (cli) (built: Mar  5 2021 07:54:13)
OS : Ubuntu 20

mb_ord() does not exist.

I get an error with the local dev server (php -S)

Uncaught Error: Call to undefined function mb_ord()

Test script:
echo mb_ord('€');


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-04-15 08:40 UTC]
-Status: Open +Status: Not a bug
 [2021-04-15 08:40 UTC]
You either did not install or did not enable the mbstring extension.
 [2021-04-15 08:41 UTC]
-Status: Not a bug +Status: Feedback
 [2021-04-15 08:41 UTC]
Did you install and/or enable the mbstring extension?
 [2021-04-15 08:41 UTC]
-Status: Feedback +Status: Not a bug
 [2021-04-15 08:41 UTC]
Yeah, might as well just go with that.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 00:01:31 2024 UTC