php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61813 ext\standard\tests\strings\strrchr_variation5.phpt fails
Submitted: 2012-04-22 11:45 UTC Modified: 2012-05-02 09:18 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: *General Issues
PHP Version: Irrelevant OS: windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ab@php.net
New email:
PHP Version: OS:

 

 [2012-04-22 11:45 UTC] ab@php.net
Description:
------------
Test diff:

003+ escape \seque
003- ^[scape \seque
008+ escape \seque
008- ^[scape \seque
013+ escape \seque
013- ^[scape \seque

Currently this fails only on the ofissial 5.4 windows snaps. However it fails on my 5.3 and 5.4 custom builds, which sounds more logic to me. The reason for the fail is most likely that \e is used as an escape character on windows. Going through proc_open and grabbing the test out hoses the 
\e's .

Expected result:
----------------
test pass

Actual result:
--------------
test fail

Patches

61813.diff (last revision 2012-04-23 08:07 UTC by ab@php.net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-23 08:07 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: 61813.diff
Revision:   1335168467
URL:        https://bugs.php.net/patch-display.php?bug=61813&patch=61813.diff&revision=1335168467
 [2012-04-23 08:09 UTC] ab@php.net
The windows terminal just turns '\e' into 'e'. The test was duplicated and adopted for windows.
 [2012-04-23 15:38 UTC] ab@php.net
the patch is wrong, please see bug 61827 for further infos
 [2012-05-02 09:18 UTC] ab@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2012-05-02 09:18 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 11:01:33 2025 UTC