php.net |  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:
MUST BE VALID
Solve the problem:
21 + 8 = ?
Subscribe to this entry?

 
 [2021-04-15 08:39 UTC] erwan1309 at hotmail dot com
Description:
------------
---
From manual page: https://php.net/function.mb-ord
---
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:
---------------
<?php
echo mb_ord('€');


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-04-15 08:40 UTC] nikic@php.net
-Status: Open +Status: Not a bug
 [2021-04-15 08:40 UTC] nikic@php.net
You either did not install or did not enable the mbstring extension.
 [2021-04-15 08:41 UTC] requinix@php.net
-Status: Not a bug +Status: Feedback
 [2021-04-15 08:41 UTC] requinix@php.net
Did you install and/or enable the mbstring extension?
 [2021-04-15 08:41 UTC] requinix@php.net
-Status: Feedback +Status: Not a bug
 [2021-04-15 08:41 UTC] requinix@php.net
Yeah, might as well just go with that.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 17:05:44 2022 UTC