-
-
Save nikita2206/dc512860e896c1ec2281cb7ca54bd544 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$ar = [["can't human readable strings be here?" => 123]]; | |
xdebug_break(); | |
// if you try to inspect the 123 value, you'll see that PHPStorm calls property_get with $ar[0]['can't human readable strings be here?'] | |
// obviously it could omit the quotes in this case, but then I could include ] (sq. braket) in my key and property_get would break again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment