Bug #81378 [NEW]: Performance problem

From: Date: Mon, 23 Aug 2021 20:10:41 +0000
Subject: Bug #81378 [NEW]: Performance problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236032@lists.php.net to get a copy of this message
From:             gfpuba+php at gmail dot com
Operating system: Win10 Apache/2.4.48
PHP version:      8.1.0beta3
Package:          Scripting Engine problem
Bug Type:         Bug
Bug description:Performance problem

Description:
------------
The following code takes 10 times longer to execute on PHP/8.1.0beta3
compare to PHP 8.0.8


Test script:
---------------
$a = str_repeat('abcdef', 10000);
$b = mb_detect_encoding($a, 'UTF-8', true);



-- 
Edit bug report at https://bugs.php.net/bug.php?id=81378&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81378&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=81378&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=81378&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=81378&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=81378&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=81378&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=81378&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=81378&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=81378&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=81378&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81378&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81378&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81378&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81378&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81378&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81378&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=81378&r=mysqlcfg


Thread (7 messages)

« previous php.bugs (#236032) next »