Test: /ext/pcre/tests/bug47229.phpt - Version 7.0.27        

Bug #47229 preg_quote should escape "-" (minus) as well
Submitted: 2009-01-28 12:23:33 Modified: 2009-01-28 22:42:45
From: daniel Assigned: nlopess
Status: Closed Package: PCRE related
PHP Version: 5.2.8 OS: any, see docs

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ ** ERROR: process timed out **
001- %string|unicode%(13) "\-oh really\?"
002- array(1) {
003- [0]=>
004- %string|unicode%(4) "a---"
005- }
006- array(1) {
007- [0]=>
008- %string|unicode%(1) "a"
009- }
010- array(1) {
011- [0]=>
012- %string|unicode%(5) "a----"
013- }
014- array(0) {
015- }