Re: Programs not running

Karl DeSaulniers <[email protected]>
Newsgroups gmane.comp.php.database
Message-ID <[email protected]>
On Jan 4, 2013, at 8:00 PM, tamouse mailing lists wrote:

> On Fri, Jan 4, 2013 at 6:09 PM, Matt Pelmear <[email protected]>  
> wrote:
>> On 01/04/2013 01:40 PM, tamouse mailing lists wrote:
>>>
>>> One should be able to solve parsing problems without resorting to  
>>> using a
>>> web server. Every time I save a php file, I have my editor set to  
>>> run it
>>> through php -l. Saves lots of angst when I get to the web testing  
>>> stage.
>>
>>
>> This is a good idea in general. It's also a good trick to check for  
>> this
>> problem from the command line when suspecting a parse problem. Most  
>> IDEs
>> will make parse errors very obvious while you are editing the file,  
>> too.
>> Unfortunately not all members of any given development team can be  
>> relied
>> upon to test things in this way before committing ;)
>
> Committing a syntax error which breaks integration is a HUGE HUGE NO
> NO. Such a person would likely be cast from a dev team, or relegated
> to some more benign task.
>
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


For those of us who have no idea of what you speak,
can you elaborate so as we don't make that mistake?
Or are you just talking about submitting a file to production without  
testing it?
I personally have not used command line. It is new to me, but sounds  
integral.
Where can one study its use?

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.