Doc #78564 [NEW]: Possibly Incorrect Hex Notation

From: Date: Wed, 18 Sep 2019 22:53:50 +0000
Subject: Doc #78564 [NEW]: Possibly Incorrect Hex Notation
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16951@lists.php.net to get a copy of this message
From: ingmireokc at aol dot com Operating system: Win 10 PHP version: Irrelevant Package: *Regular Expressions Bug Type: Documentation Problem Bug description:Possibly Incorrect Hex Notation Description: ------------ --- From manual page: https://php.net/regexp.reference.escape --- From the manual: "The precise effect of "\cx" is as follows: if "x" is a lower case letter, it is converted to upper case. Then bit 6 of the character (hex 40) is inverted. Thus "\cz" becomes hex 1A, but "\c{" becomes hex 3B, while "\c;" becomes hex 7B." Doesn't hex(40) refer to the 7th bit of a binary string? -- Edit bug report at https://bugs.php.net/bug.php?id=78564&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78564&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78564&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78564&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78564&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78564&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78564&r=support Expected behavior: https://bugs.php.net/fix.php?id=78564&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78564&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78564&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78564&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78564&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78564&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78564&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78564&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78564&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78564&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78564&r=mysqlcfg

« previous php.doc.bugs (#16951) next »