What's the point? Sorry for the snarky response, but it had to be done 😂
On 6 Jul 2017 8:13 AM, "Khawer ." <khaweronl...@gmail.com> 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.name = "Test"; } alert(apple.name()); Why not to make PHP similar to these languages by allowing to access object properties and methods using dot(.). We will still keep "->" until PHP 8 to maintain backward compatibility.