Bug #73441 [Opn->Fbk]: mb_internal_encoding() never returns

From: Date: Wed, 02 Nov 2016 18:03:25 +0000
Subject: Bug #73441 [Opn->Fbk]: mb_internal_encoding() never returns
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205147@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73441&edit=1

 ID:                 73441
 Updated by:         requinix@php.net
 Reported by:        inge at vabekk dot no
 Summary:            mb_internal_encoding() never returns
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            mbstring related
 Operating System:   Ubuntu 16.04
 PHP Version:        7.0.12
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.

Your script is not valid PHP code. It will not execute as PHP but instead display "HERE 1 HERE
2!" in your browser.


Previous Comments:
------------------------------------------------------------------------
[2016-11-02 07:30:06] inge at vabekk dot no

Description:
------------
---
From manual page: http://www.php.net/function.mb-internal-encoding
---
This function does not return.


Test script:
---------------
HERE 1
<php
mb_internal_encoding (UTF-8);
?>
HERE 2!


Expected result:
----------------
HERE 1
HERE 2

Actual result:
--------------
HERE 1


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=73441&edit=1


Thread (1 message)

  • requinix@php.net
  • Unknown Message
    • requinix@php.net
« previous php.bugs (#205147) next »