I work in notepad ++. It does not tell me errors in my code in the way that php sandbox does for example. Here he did not suggest a missing quote. How can you teach him?

<?php $array['qwe'] = "123"; $array['qwe2342'] = "1432t23"; $array['q23rwe'] = "12rts3"; $array['qrewtwtrhwe'] = "12334qt"; $array['qwsbsdfe'] = "12etrhws3"; foreach ($array as $key => $value) { print "$key - $value <br>; } 
  • phpStorm is not an option? - n.osennij

1 answer 1

  1. Or you forgot to save the file in * .php format.
  2. Were inattentive.

PS Tested on just installed Notepad ++, the error is highlighted.