Bug #79995 [Com]: Possible pointer or memory corruption
Edit report at https://bugs.php.net/bug.php?id=79995&edit=1
ID: 79995
Comment by: danack@php.net
Reported by: mic at kwayisi dot org
Summary: Possible pointer or memory corruption
Status: Open
Type: Bug
Package: Variables related
Operating System: Windows
PHP Version: 8.0.0beta2
Block user comment: N
Private report: N
New Comment:
Warning: Undefined variable $@��� in /in/dQXEi on line 3
Is the actual error.
Previous Comments:
------------------------------------------------------------------------
[2020-08-19 01:35:55] mic at kwayisi dot org
Bug is also present in the latest beta release.
------------------------------------------------------------------------
[2020-08-19 01:33:02] mic at kwayisi dot org
Description:
------------
PHP is not able to produce the correct variable name.
Test script:
---------------
$foo->bar?->baz;
Expected result:
----------------
PHP Warning: Undefined variable $foo in <file> on line <line>
Actual result:
--------------
PHP Warning: Undefined variable $<gibberish> in <file> on line <line>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79995&edit=1
Thread (6 messages)