Please tell me debager!
I recently started learning php, and I write in the atom editor (which my acquaintance advised me) - before that I set myself up and used sublime text (when I started learning html & css). Now I'm a little used to the atom editor. And in my past question, I was advised “first of all, when learning php, you need to figure out how to debug your scripts” @toxxxa. As I understand it, the debugger will show the execution of the code step by step! Tell me how to do this at atom.
And another question - why nothing is displayed?
<?php $datatxt=file("table.txt"); $lnarr=count($datatxt); for ($i=1; $i <= $lnarr; $i++) { $a=$lnarr[$i]; echo $a; } ?> table.txt
name surname age 1 2 3 PS: the idea of ​​the code is to make a table, and the fields, when filled in, go to the txt file, and then read and write to the table from there.