0

I have an old php codes with strings without quotes like one this $supplier[id], as you are see the id without quotes and is not a variable. There are no error_reporting(0) so what there was no stopping it to work?

Sevi
  • 863
  • 4
  • 15
  • 33
  • Show the code mate, otherwise it's a guessing game. – Darren Aug 23 '15 at 01:15
  • The `php` compiler assumes that the `$supplier[id]` is `$supplier['id']` – Victory Aug 23 '15 at 01:16
  • 1
    This is going to stay valid. However, there'll still be Notices generated. The default error handler will not show them with error_reporting disabled, but the logging handler might pump them out. – mario Aug 23 '15 at 01:17
  • http://wdd.co.il/catalog.php.txt I have bundle oh these... – Sevi Aug 23 '15 at 01:21
  • 1
    See also: [Using arrays keys without quotes, how to fix it on big project?](http://stackoverflow.com/q/27817174) – mario Aug 23 '15 at 01:22

0 Answers0