Checking compatibility in migrating from 7.0 to 7.1: Disallow the ASCII delete control character in identifiers

From: Date: Thu, 04 Jun 2020 18:22:22 +0000
Subject: Checking compatibility in migrating from 7.0 to 7.1: Disallow the ASCII delete control character in identifiers
Groups: php.general 
Request: Send a blank email to php-general+get-327187@lists.php.net to get a copy of this message
Hey everyone, Just migrating a codebase from 7.0 to 7.1 and could use some help ... I'm wondering if anyone knows of a code snippet that would be affected by this: "The ASCII delete control character (0x7F) can no longer be used in identifiers that are not quoted." I've been trying: $test^? = "testing"; echo $test^? . "\n"; // with the ^? being inserted on my keyboard as Ctrl-V + Delete key This seems to "work" in 7.0 but it's just a guess... I don't typically use special characters in identifiers... Wondering if anyone has seen that in practice... Thank you for any advice, Patty

« previous php.general (#327187) next »