php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81061 The expression does not compile correctly
Submitted: 2021-05-20 17:19 UTC Modified: 2021-05-20 17:25 UTC
From: vklimin at 510710 dot com Assigned:
Status: Duplicate Package: PCRE related
PHP Version: 8.0.6 OS: Debian 10
Private report: No CVE-ID: None
 [2021-05-20 17:19 UTC] vklimin at 510710 dot com
Description:
------------
The expression does not compile correctly and generates a warning.

Test script:
---------------
var_dump( preg_match( '/\Q\/\E/', '/' ) );

Expected result:
----------------
int(1)

Actual result:
--------------
int(0)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-05-20 17:19 UTC] vklimin at 510710 dot com
The expression does not compile correctly
 [2021-05-20 17:25 UTC] imsop@php.net
-Status: Open +Status: Duplicate
 [2021-05-20 17:25 UTC] imsop@php.net
You already raised this as #81060
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC