Re: [PHP-DEV] Semicolon not required if statement on next line

2018-07-30 Thread Theodore Brown
On Monday, July 30, 2018 at 2:45 AM Abdul Haque Sheikh wrote: > why not to make semicolon not required if there is only 1 statement > like javascript. semicolon will be required if there are multiple > statements on the same line. Because this "feature" of JavaScript leads to confusing code and

[PHP-DEV] Semicolon not required if statement on next line

2018-07-30 Thread Abdul Haque Sheikh
why not to make semicolon not required if there is only 1 statement like javascript. semicolon will be required if there are multiple statements on the same line.