Re: [PHP-DEV] Re: RFC: Anonymous Classes

2013-09-23 Thread Sebastian Krebs
2013/9/23 Joe Watkins > On 09/23/2013 07:39 AM, Joe Watkins wrote: > >> Morning All, >> >> >> https://wiki.php.net/rfc/**anonymous_classes >> >> I'd like to hear thoughts regarding the addition of anonymous >> classes, patch included. >> >> C

Re: [PHP-DEV] Re: RFC: Anonymous Classes

2013-09-23 Thread Sebastian Krebs
2013/9/23 Kingsquare.nl - Robin Speekenbrink > Everyone, > > As a lurker i rarely have anthing to say, but this time i'd like to make an > exception: I see some usability for this type of usage, but would like to > disagree on the extra class... > My usage would be more in line with JSON way of p

Re: [PHP-DEV] Re: RFC: Anonymous Classes

2013-09-23 Thread Jakub Zelenka
Hi, Serialization: > > As I have said, serialization does work, and unserialization does work > ... > > Classes do have unique names, so as long as the entry is present upon > unserialize you will get the object you expect ... if the entry is not > present unserialization will fail silently. >

Re: [PHP-DEV] Re: RFC: Anonymous Classes

2013-09-23 Thread Kingsquare.nl - Robin Speekenbrink
Everyone, As a lurker i rarely have anthing to say, but this time i'd like to make an exception: I see some usability for this type of usage, but would like to disagree on the extra class... My usage would be more in line with JSON way of passing around objects... But i'd hate to see yet another n