Re: [PHP-DEV] ; on the end of the line

2017-03-30 Thread Ryan Pallas
On Thu, Mar 30, 2017 at 12:19 PM, Johannes Schlüter wrote: > On Do, 2017-03-30 at 00:07 -0700, Davey Shafik wrote: > > Notice each of these has two statements. (Note: I don't think any of > > these > > are particularly good ways to write readable code, but they are all > > syntactically valid cod

Re: [PHP-DEV] ; on the end of the line

2017-03-30 Thread Johannes Schlüter
On Do, 2017-03-30 at 00:07 -0700, Davey Shafik wrote: > Notice each of these has two statements. (Note: I don't think any of > these > are particularly good ways to write readable code, but they are all > syntactically valid code). The imo more relevant cases are the one where an optional semicolo

Re: [PHP-DEV] ; on the end of the line

2017-03-30 Thread Davey Shafik
On Wed, Mar 29, 2017 at 11:10 PM, dmitr y wrote: > Hello, dear coders. > I'm using php for a year and it's being my favourite language. Also I'm > using some bookkeping languages which is based on php syntax but ';' on the > end of the line is not neccesary on it. > So I can't understand why synt

[PHP-DEV] ; on the end of the line

2017-03-29 Thread dmitr y
Hello, dear coders. I'm using php for a year and it's being my favourite language. Also I'm using some bookkeping languages which is based on php syntax but ';' on the end of the line is not neccesary on it. So I can't understand why syntax needs symbol ';' on the end of every line, if it also ends