Here are some X files.
Check out this script: https://admin.laysoft.tk/test.php
We tested it on different machines with a different version of PHP.
We will see:
$tomb = 666;
var_dump($tomb);
$a = $tomb['akarmi'];
var_dump($a);
Result:
int(666)
NULL
( $tombmeans array)
As you can see, we initialized $tombas an integer.
Why $a = $tomb['akarmi'];does not leave a notice that there is no such key?
UPDATE
I reported this, I'm so curious.
https://bugs.php.net/bug.php?id=74579
UPDATE2
Well, this error has existed over the years. There are many questions about this:
https://bugs.php.net/bug.php?id=37676
source
share