[PHP-DEV] Support for friend classes

2006-01-10 Thread Leon Matthews
Hi. I'm responsible for writing unit tests for our PHP projects at work. I would find C++ style friend classes really useful for getting at another class's private methods. Since we adopted PHP5 we have been using lots of private methods to clean our interfaces up. Great news for everyone

RE: [PHP-DEV] native arbitrary precision datatype for PHP?

2006-03-28 Thread Leon Matthews
PS: will a 64 bit INTEGER make it into PHP6? But they're already here in fives-ville... I recently had a regression test failure on our framework when testing on the new AMD64 test server. The 'failed' test was expecting to see an error when dealing with UNIX epoch timestamps after 2038. Of

RE: [PHP-DEV] messing with branch prediction

2006-06-19 Thread Leon Matthews
Andi Gutmans wrote: I think it's a nice idea but I doubt it's very useful at this point. It doesn't seem to significantly affect performance, which is ... snip I concur. Instead of guessing branch probabilities, why not measure them?