On Oct 4, 2014 4:01 AM, Andrea Faulds a...@ajf.me wrote:
On 3 Oct 2014, at 17:21, Thomas Gossmann m...@gossimaniac.net wrote:
I was wondering if it is possible to deprecate/remove the function
keyword from class methods in php7 or at least make it optional when one of
the visibility keywords
Thank you for your input and comments, which let me think through some
of them and my initial thoughts. Here is what I come up with.
Perfection is reached when there is nothing left to remove. So in a
perfect world, a class could look like this:
class Foo {
bar() {}
baz() {}
}
When
On Fri, 2014-10-03 at 18:21 +0200, Thomas Gossmann wrote:
I guess this was a discussion earlier, though I wasn't able to find
anything about it. Would love to hear, what pdt-internals (re-)think
about that topic.
Go to wiki.php.net/rfc look at the titles containing function and you
will see
Thanks Johannes, I slipped over it but would have never found the
discussion to it.
I run over it and the summary is: Many people like it and those that
don't have brought arguments, that are present here again. The
discussion is almost 4 years old by now, and people are complaining over
On 04/10/2014 17:10, Thomas Gossmann wrote:
Hence, for php-beginners, this example of a simple class is a good
start, which can also be used educating them in OOP by adding the more
advanced parts - instead of letting them write function when this
actually is a method (In my eyes, education
On 03/10/2014 18:57, Ingwie Phoenix wrote:
C++ does not use a function keyword by itself, and even lesser visibility
keywords as PHP does.
There have been a couple of comparisons to other languages brought up,
but I find them unconvincing.
Most languages have some keyword for introducing
Hi,
It would perhaps be great to communicate on this nasty bug on the PHP
website ?
For example code based on amqplib + ssl
(https://github.com/videlalvaro/php-amqplib) is not working anymore as
well, and it could be a headache to figure out why it's not working. I
assume a lot more libs
On Oct 4, 2014 11:24 AM, Thomas Gossmann m...@gossimaniac.net wrote:
Thanks Johannes, I slipped over it but would have never found the
discussion to it.
I run over it and the summary is: Many people like it and those that
don't have brought arguments, that are present here again. The
Am 05.10.2014 um 00:10 schrieb Kris Craig kris.cr...@gmail.com:
On Oct 4, 2014 11:24 AM, Thomas Gossmann m...@gossimaniac.net wrote:
Thanks Johannes, I slipped over it but would have never found the
discussion to it.
I run over it and the summary is: Many people like it and those that