|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
21 - 13 = ?
Subscribe to this entry?

 [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: Thu Jun 20 19:01:30 2024 UTC