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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Mon Sep 27 23:03:36 2021 UTC