Re: [PHP-DEV] Change -> to dot(.)

2017-07-06 Thread li...@rhsoft.net
Am 06.07.2017 um 08:13 schrieb Khawer.: In all major programming languages we access object properties and methods using dot(.). C#: Abc Abc = new Abc(); Abc.method(); Java: Abc Abc = new Abc(); Abc.method(); JavaScript: var apple = new function() { this.name = "Test"; } alert(apple.nam

Re: [PHP-DEV] Change -> to dot(.)

2017-07-06 Thread Michał Brzuchalski
06.07.2017 09:43 "Niklas Keller" napisał(a): > > Stephen Reay schrieb am Do., 6. Juli 2017, 09:04: > > > > > > On 6 Jul 2017, at 13:13, Khawer . wrote: > > > > > > In all major programming languages we access object properties and > > methods > > > using dot(.). > > > > > > C#: > > > Abc Abc = n

Re: [PHP-DEV] Change -> to dot(.)

2017-07-06 Thread Niklas Keller
Stephen Reay schrieb am Do., 6. Juli 2017, 09:04: > > > On 6 Jul 2017, at 13:13, Khawer . wrote: > > > > In all major programming languages we access object properties and > methods > > using dot(.). > > > > C#: > > Abc Abc = new Abc(); > > Abc.method(); > > > > Java: > > Abc Abc = new Abc(); >

Re: [PHP-DEV] Change -> to dot(.)

2017-07-06 Thread Stephen Reay
> On 6 Jul 2017, at 13:13, Khawer . wrote: > > In all major programming languages we access object properties and methods > using dot(.). > > C#: > Abc Abc = new Abc(); > Abc.method(); > > Java: > Abc Abc = new Abc(); > Abc.method(); > > JavaScript: > var apple = new function() { >this.na

Re: [PHP-DEV] Change -> to dot(.)

2017-07-05 Thread Marco Pivetta
What's the point? Sorry for the snarky response, but it had to be done 😂 On 6 Jul 2017 8:13 AM, "Khawer ." wrote: In all major programming languages we access object properties and methods using dot(.). C#: Abc Abc = new Abc(); Abc.method(); Java: Abc Abc = new Abc(); Abc.method(); JavaScrip

Re: [PHP-DEV] Change -> to dot(.)

2017-07-05 Thread ilija . tovilo
The dot is already the string concatenation operator. This would be a horrible migration process. The PHP team is never going to upset the developer experience that much for a purely cosmetic change. Also, C and C++ use the -> symbol, two major languages. Regards On 6 Jul 2017, 08:13 +0200, Kh

[PHP-DEV] Change -> to dot(.)

2017-07-05 Thread Khawer .
In all major programming languages we access object properties and methods using dot(.). C#: Abc Abc = new Abc(); Abc.method(); Java: Abc Abc = new Abc(); Abc.method(); JavaScript: var apple = new function() { this.name = "Test"; } alert(apple.name()); Why not to make PHP similar to these