Songworks, thank you for taking a look at my problem and suggesting a direction for solving it. I don’t understand why and how but in the course of pursuing your suggestion the red dot has disappeared. There is something about this I need to ask you about, but I need to provide background first.
First, progress toward killing the red dot in php script. I have not killed it yet, but I did find a way to make it react. The two pictures below show what I found, including a surprising result, where adding php to a short tag caused the red dot to APPEAR not DISAPPEAR.
This is where I started.
And this is the surprising result:
Much Bigger Question**
This is extremely important to keep my brain from melting and running out of my ears.
This script runs on my php installation without reporting any error. The php.ini file is modified from the default, allowing short tags. Here is the setting in the php.ini file
and here is the status of that directive reported by your good friend (she speaks very well of you), and mine, phpinfo()
Then, invoking the No Horse is Too Dead to Beat Doctrine, I put this check into top of the script where Atom is reporting a syntax error.
And here is the output from that check:
Here is the kick: all this about the php.ini file is red herring, absolutely unrelated to this problem. PHP is not reporting any errors. Only ATOM is reporting a syntax error.
When php runs on my rig, this is how an observant programmer can spot a syntax error:
Atom says there is a syntax error:
But Wait! There is More!
For kicks, I am going to the php.ini file and turning short_open_tag OFF.
restarting apache, since php is running in apache in this situation.
Check with our buddy, phpinfo():
And sure enough, that kills my web app:
But still is unrelated to my problem. ATOM is not reporting an error related to short tags not being allowed.
Now here is my question for you. Is there any way for Atom to know whether short tags are allowed in this php installation? I don’t think Atom knows one way or the other.
So, there are all my great (not) theories of the day…
and in fact, the red dot got lost over the course of this journey. I am looking forward to learning how I am misunderstanding this and going about this wrong.