From:             v-altruo at microsoft dot com
Operating system: Windows
PHP version:      7.3.6
Package:          Testing related
Bug Type:         Bug
Bug description:Output mismatch

Description:
------------
The test fails across all builds. It also fails for php-7.1.30 and
php-7.2.19. 

Test file location: Sapi\cli\tests\bug44564.phpt

Test script:
---------------
<?php
setlocale(LC_CTYPE, "UTF8", "en_US.UTF-8");
var_dump(escapeshellcmd('f{o}<€>'));
var_dump(escapeshellarg('f~|;*Þ?'));
var_dump(escapeshellcmd('?€®đæ?'));
var_dump(escapeshellarg('aŊł€'));

?>

Expected result:
----------------
string(13) "f\{o\}\<€\>"
string(10) "'f~|;*Þ?'"
string(13) "\?€®đæ\?"
string(10) "'aŊł€'"

Actual result:
--------------
string(13) "f^{o^}^<€^>"
string(10) ""f~|;*Þ?""
string(13) "^?€®đæ^?"
string(10) ""aŊł€""

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

Reply via email to