Re: [PHP-DEV] Re: function call chaining

2010-01-19 Thread Eddie Drapkin
On Tue, Jan 19, 2010 at 12:02 PM, Rasmus Lerdorf wrote: > Eddie Drapkin wrote: >> On Tue, Jan 19, 2010 at 11:05 AM, Stanislav Malyshev wrote: >>> The second was next on my list, while the first seems to me kind of exotic - >>> why create object only to call one met

Re: [PHP-DEV] Re: function call chaining

2010-01-19 Thread Eddie Drapkin
On Tue, Jan 19, 2010 at 11:05 AM, Stanislav Malyshev wrote: > The second was next on my list, while the first seems to me kind of exotic - > why create object only to call one method and immediately drop it? Why this > method is not static then? Why would this imply "dropping" the object? This:

Re: [PHP-DEV] function call chaining

2010-01-18 Thread Eddie Drapkin
On Tue, Jan 19, 2010 at 2:14 AM, Alexey Zakhlestin wrote: > > Would be nice if something like this worked too: > >    (new Class())->method(); > > I was just looking at some Java code and thinking, "man I wish PHP did this." -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] __toString(), __toArray()

2010-01-12 Thread Eddie Drapkin
, mm w <0xcafef...@gmail.com> wrote: > the multiplication of magic, the pointed point, need to read more carefully > > On Tue, Jan 12, 2010 at 6:10 PM, Eddie Drapkin wrote: >> How does this have *anything* to do with the discussion at hand? >> >> On Tue, Jan 12, 20

Re: [PHP-DEV] __toString(), __toArray()

2010-01-12 Thread Eddie Drapkin
How does this have *anything* to do with the discussion at hand? On Tue, Jan 12, 2010 at 9:09 PM, mm w <0xcafef...@gmail.com> wrote: > don't worry it's only for people who are working with MVC and > RootObject structure, there is too much magics already and __cast is > not needed at all, > as we c

Re: [PHP-DEV] [PATCH] fpm/typo: change some log about dynamic + homogenize log message about pool

2009-12-15 Thread Eddie Drapkin
On Tue, Dec 15, 2009 at 9:59 PM, Joey Smith wrote: > On Tue, Dec 15, 2009 at 02:27:30PM -0800, Michael Shadle wrote: >> However if people have ideas on how this will help or be useful (i.e. >> you -are- planning on running logfiles or logwatch or something) then >> it might be smart to bring it ba

Re: [PHP-DEV] Re: [PHP] "PHP 6 and MySQL 5 for Dynamic Web Sites" Book

2009-08-06 Thread Eddie Drapkin
On Thu, Aug 6, 2009 at 11:59 AM, Lester Caine wrote: > Eddie Drapkin wrote: >> >> On Thu, Aug 6, 2009 at 11:32 AM, tedd wrote: >>> >>> At 5:34 PM -0700 8/5/09, sono...@fannullone.us wrote: >>>> >>>>       Has anyone read this book by Larry

Re: [PHP-DEV] mod_files.sh patch

2009-08-05 Thread Eddie Drapkin
2009/8/5 Johannes Schlüter : > Hi, > > On Mon, 2009-08-03 at 01:20 -0400, Eddie Drapkin wrote: >> There's a script, mod_files.sh, in ext/session for creating directory >> tree with depth X for sessions.  As it stands, it's pretty poorly >> documented and very

[PHP-DEV] Re: mod_files.sh patch

2009-08-02 Thread Eddie Drapkin
On Mon, Aug 3, 2009 at 1:20 AM, Eddie Drapkin wrote: > There's a script, mod_files.sh, in ext/session for creating directory > tree with depth X for sessions.  As it stands, it's pretty poorly > documented and very basic.  I got exceptionally bored and rewrote most > of it,

[PHP-DEV] mod_files.sh patch

2009-08-02 Thread Eddie Drapkin
There's a script, mod_files.sh, in ext/session for creating directory tree with depth X for sessions. As it stands, it's pretty poorly documented and very basic. I got exceptionally bored and rewrote most of it, the patch is attached. It runs fine for me in linux (with sh version 4.0). I don't

Re: [PHP-DEV] PHP CLI and opcode caches

2009-07-14 Thread Eddie Drapkin
On Tue, Jul 14, 2009 at 10:33 AM, Edward Z. Yang wrote: > Excerpts from Peter Wang's message of Mon Jul 13 05:34:33 -0400 2009: >> http://www.php.net/manual/en/apc.configuration.php#ini.apc.enable-cli >> >> is that what you want? > > Not really, since the manual even specifically states that the op

Re: [PHP-DEV] Type hinting/casting request for vote

2009-07-06 Thread Eddie Drapkin
On Mon, Jul 6, 2009 at 8:52 PM, Ilia Alshanetsky wrote: > Last week or so there was a fairly detailed discussion on the internals list > regarding type hinting based on my original patch. Since then the patch has > been revised to address the major concerns that were identified (breakage of > binar

Re: [PHP-DEV] Re: PHP 5.3.0 Released!

2009-06-30 Thread Eddie Drapkin
On Tue, Jun 30, 2009 at 10:42 AM, Roman Borschel wrote: > Some new 5.3 features like closures and the :? operator still cause bus > errors with APC though. For the former there is already an open ticket since > february. So I dont think APC is really 5.3 compatible yet but I'm sure it > wont take l

Re: [PHP-DEV] Test for edge cases with __get and property access flags

2009-06-05 Thread Eddie Drapkin
I thought this was the expected behaviour as well and I am quite sure that I've used it in an experiment (all class members private and _get() output escapes them) that failed pretty miserably. But I did think this was the expected behavior. Perhaps it ought to throw an E_STRICT? On Fri, Jun 5,

Re: [PHP-DEV] PHP-FPM

2009-06-02 Thread Eddie Drapkin
So if I'd like to see this added to the source, I'd have to convince the author? It's been almost two years since that thread... On Tue, Jun 2, 2009 at 2:00 PM, Hannes Magnusson wrote: > On Tue, Jun 2, 2009 at 19:46, Eddie Drapkin wrote: > > I don't know how

[PHP-DEV] PHP-FPM

2009-06-02 Thread Eddie Drapkin
I don't know how popular, or well known, this little tool is, but I was wondering if there was ever any consideration for it to be merged into the main CVS tree and distributed with part of PHP, instead of a 3rd party patch. Link: http://php-fpm.anight.org/ I'm pretty sure this is the right list,

Re: [PHP-DEV] PHP scalability problem

2009-05-26 Thread Eddie Drapkin
sing nodes is simple. Php nodes are just worker bees. They're > great for shared-nothing processing engines. > > I can't think of a good metaphor right now other than that. > > On May 26, 2009, at 7:55 PM, Eddie Drapkin wrote: > > 1) PHP is Rarely The Bottleneck: >

Re: [PHP-DEV] PHP scalability problem

2009-05-26 Thread Eddie Drapkin
1) PHP is Rarely The Bottleneck: http://talks.php.net/show/drupal08/ 2) Invest in an opcode cache 3) DB I/O is always the most restrictive part of your application, read the mysql performance blog (a lot applies for postgres too) 4) If you're serious about scal

Re: [PHP-DEV] APM

2009-05-25 Thread Eddie Drapkin
Wheels were made to be reinvented! On Mon, May 25, 2009 at 7:07 PM, Olivier B. wrote: > Hi, > > why not use reporting thought syslog ? It's standard and "central > aggregation" is already available (thought TCP or databases). > > Olivier > > Patrick ALLAERT a écrit : > > Hi list, >> >> First, I