Re: [PHP-DEV] Unable to unit test code containing *_uploaded_file()

2008-04-23 Thread Alexey Zakhlestin
to separate logical part of your code, from the part, which interacts with file-uploading and unit-test the logical part -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: macos-x, php-5.3, configure.in, problem with sed

2008-04-15 Thread Alexey Zakhlestin
bumping up this one is still not applied in 5.3 On 3/31/08, Alexey Zakhlestin [EMAIL PROTECTED] wrote: There is a patch by gwynne, which introduces platform-specific hack for darwin/macos-x. http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.11r2

[PHP-DEV] spl documentation

2008-04-11 Thread Alexey Zakhlestin
I noticed, that http://www.php.net/~helly/php/ext/spl/ was updated almost a year ago. Is the newer version available anywhere? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] The jump operator

2008-04-04 Thread Alexey Zakhlestin
keep polite language? Details of this construct were known for quite a long time, and it was available in PHP6 for ages it is a limited goto, just as advertised. you can get out of blocks with it, but you can't go into blocks -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals

Re: [PHP-DEV] PHP 5.3 the slowest PHP of all times ?!?

2008-03-31 Thread Alexey Zakhlestin
- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Inconsistencies when accessing protected members

2008-03-26 Thread Alexey Zakhlestin
On 3/26/08, Richard Quadling [EMAIL PROTECTED] wrote: Shouldn't the instance be the limiting factor? it shouldn't public/protected/private are related to classes, not to objects. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] Inconsistencies when accessing protected members

2008-03-26 Thread Alexey Zakhlestin
case for protected is similiar, but relates to cases when you have hierarchy of classes, which still have some common functionality, which might be usable for multi-instance operations -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List

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

2008-03-24 Thread Alexey Zakhlestin
, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] Comparison: ('*' == 0) ... True or false

2008-03-11 Thread Alexey Zakhlestin
case: ?php var_dump('*' == 0); ? Shows boolean(true). I was unable to find any documentation as to why this would be the case. try ?php echo intval(*); ? that should explain the situation ;) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Re: 5.3 Release Planning

2008-03-07 Thread Alexey Zakhlestin
from pecl, important ones should be included in distribution -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] profiling followup on addition of streams to include_path - it's *faster*

2008-03-07 Thread Alexey Zakhlestin
. This improvement proabbly results from removing an include_path search in plain_wrapper. what about including(_once) by absolute path? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Multi-threading

2008-02-21 Thread Alexey Zakhlestin
, -- Felipe Ribeiro [EMAIL PROTECTED] http://feliperibeiro.com 83 9979-3161 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Multi-threading

2008-02-21 Thread Alexey Zakhlestin
communicate, but still has their own sets of local resources -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Multi-threading

2008-02-21 Thread Alexey Zakhlestin
communication would be beneficial. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP

2008-01-22 Thread Alexey Zakhlestin
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Set default namespace

2008-01-10 Thread Alexey Zakhlestin
Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RE: Optional scalar type hinting

2008-01-03 Thread Alexey Zakhlestin
(); } // … } it looks too long and (what is even worse) it hides actual business-logic behing checks. I prefer the following code: public function someMethod(integer $var1) { // … } -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] Question regarding linking PHP Parser library into my private Http server

2007-12-31 Thread Alexey Zakhlestin
. Talya Nevo [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] spl_autoload vs __autoload

2007-12-28 Thread Alexey Zakhlestin
On 12/28/07, Andrew Mason [EMAIL PROTECTED] wrote: Can anyone shed some light on the advantages of the spl_autoload over the standard __autoload ? is there any ? sure. spl_autoload allows you to have many independent autoloaders -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP

Re: [PHP-DEV] PHP - C++ 6.0 DLL

2007-12-24 Thread Alexey Zakhlestin
and very important!!! If build the dll how can to use in php?? if by dll you mean custom extension, then you will need to put it in your extensions folder and add a string to php.ini -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] faster public domain MD5 implementation

2007-12-21 Thread Alexey Zakhlestin
anyone knows if using a nickname for authorship is considered legally valid? I believe it might be valid, think about writers that use such pseudonyms, but I'm not sure... -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-20 Thread Alexey Zakhlestin
On 12/20/07, Antony Dovgal [EMAIL PROTECTED] wrote: On 20.12.2007 09:57, Alexey Zakhlestin wrote: being able to do the following (and not to worry about runtime compilation) is a good reason on it's own: array_filter($my_data, function($test){ return 3 === ($test % 4) }); Oh, my

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-20 Thread Alexey Zakhlestin
you cannot use if you need to support older PHP versions (and you can't check for it in runtime, since this is a compile time thingie). yes 3) 10 people happy because they got a new toy. thousands is a closer number -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-20 Thread Alexey Zakhlestin
On 12/20/07, Antony Dovgal [EMAIL PROTECTED] wrote: On 20.12.2007 12:41, Alexey Zakhlestin wrote: it doesn't make sense to put some of these functions in libraries, because they are really once-used. It makes perfect sense to keep all your functions in one place instead of spreading them

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-20 Thread Alexey Zakhlestin
On 12/20/07, Antony Dovgal [EMAIL PROTECTED] wrote: No problem, one email more, one email less.. =) I don't know what else I can add, so I can only repeat myself: http://daylessday.org/archives/12-Lets-add-this,-lets-add-that.html a major difference: this time there is a patch -- Alexey

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-20 Thread Alexey Zakhlestin
optimization (in case of array_filter, array_map and similiar the construction can be converted to the loop) 3) as the result of (1) and (2) it can be used for fast currying of other functions -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Garbage collector patch

2007-12-19 Thread Alexey Zakhlestin
: *** [sapi/cli/php] Error 1 OS: MacOS-X 10.4.11, intel -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Garbage collector patch

2007-12-19 Thread Alexey Zakhlestin
On 12/19/07, Dmitry Stogov [EMAIL PROTECTED] wrote: updated patch. Great! I managed to compile it. Works for me. The problem mentioned here is gone: http://blog.milkfarmsoft.com/?p=52 It is now possible to continue my appserver implementation ;) -- Alexey Zakhlestin http

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-19 Thread Alexey Zakhlestin
don't know what a closure is, could Direction like what? being able to do the following (and not to worry about runtime compilation) is a good reason on it's own: array_filter($my_data, function($test){ return 3 === ($test % 4) }); -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP

Re: [PHP-DEV] Garbage collector patch

2007-12-18 Thread Alexey Zakhlestin
a chance -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-17 Thread Alexey Zakhlestin
, documentation can include the following written using large font: Warning: This is not a closure. PHP doesn't have native means for nested contexts. This construct is just another way of creating usual function during compile-time. (for creating functions in run-time see create_function) -- Alexey

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-16 Thread Alexey Zakhlestin
] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Thoughts on Feature Request - Arithmetic

2007-12-07 Thread Alexey Zakhlestin
Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] constant folding optimization

2007-12-06 Thread Alexey Zakhlestin
-- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Proposed feature for json_encode()

2007-12-04 Thread Alexey Zakhlestin
is using comments… http://www.webdevout.net/articles/escaping-style-and-script-data I still can't figure out any other usecase -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] Garbage collector patch

2007-12-04 Thread Alexey Zakhlestin
Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] array functions next, current, prev applied to objects in php 5.3.

2007-12-04 Thread Alexey Zakhlestin
to 5.2. It seems likely to me that there will be at least one application out there that needs to be fixed to take this into account. My question: Is there a list being kept of things you might need to fix in your application in order to move to 5.3 and should this be added? -- Alexey

Re: [PHP-DEV] Proposed feature for json_encode()

2007-12-02 Thread Alexey Zakhlestin
://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Unicode#Unicode_escape_sequences -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Proposed feature for json_encode()

2007-12-01 Thread Alexey Zakhlestin
Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Proposed feature for json_encode()

2007-11-29 Thread Alexey Zakhlestin
); /* * Return as binary string, since the result is 99% likely to be just -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] [PATCH] Clean up struct initalizations

2007-11-27 Thread Alexey Zakhlestin
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Clean up struct initalizations

2007-11-27 Thread Alexey Zakhlestin
MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] [PATCH] late binding for parent (and other options) - Was Re: [PHP-DEV] late static binding php6

2007-11-26 Thread Alexey Zakhlestin
changes to the called_scope (effectively) I believe this first patch is the proper way to go. It feels natural, intuitive, etc. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] late binding for parent (and other options) - Was Re: [PHP-DEV] late static binding php6

2007-11-26 Thread Alexey Zakhlestin
. A can be completely unrelated class parent::foo() means inheritance and inheritance means extending and keeping context. So, parent::foo() means call method of parent-class, but remember, that we extended that class, so keep context -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP

Re: [PHP-DEV] Re: Quick question before submitting a feature request...

2007-11-23 Thread Alexey Zakhlestin
On 11/23/07, Edward Z. Yang [EMAIL PROTECTED] wrote: I understand this solution won't work if application Exceptions don't have a common parent class, but this is already recommended as a good practice. In PHP all exceptions have Exception as a parent-class -- Alexey Zakhlestin http

Re: [PHP-DEV] web applications architectures comparison

2007-11-21 Thread Alexey Zakhlestin
P.S.: Sorry for the off-topic, but I didn't find a better place to ask this. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Quick question before submitting a feature request...

2007-11-21 Thread Alexey Zakhlestin
was probably what it was: something resembling white marble. -- Douglas Adams, The Hitchhikers Guide to the Galaxy -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Optional scalar type hinting

2007-11-19 Thread Alexey Zakhlestin
hinting would help me enforce this and reduce errors in the long run (code goes from me to other developers who only glance at the dox) I like this idea but E_STRICT seems to fit better :) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] late static binding php6

2007-11-19 Thread Alexey Zakhlestin
On 11/19/07, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: I think the point of Stas reply was to use self:: instead of parent::. how would self help? that would mean calling this exact method, not the method of parent-class -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals

Re: [PHP-DEV] late static binding php6

2007-11-19 Thread Alexey Zakhlestin
On 11/19/07, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: On 19.11.2007, at 14:05, Alexey Zakhlestin wrote: On 11/19/07, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: I think the point of Stas reply was to use self:: instead of parent::. how would self help? that would mean calling

Re: [PHP-DEV] Bug 42773 - WSDL error causes HTTP 500 Response

2007-11-19 Thread Alexey Zakhlestin
Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] Restore output buffer in case of exceptions

2007-11-17 Thread Alexey Zakhlestin
it this way :) On the other hand, implementing output-buffer the way it is proposed can actually be possible and it can be really useful edge-cases are not obvious, though -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] RFC Making compiler info accessible

2007-11-16 Thread Alexey Zakhlestin
for BC workarounds, among other things. Elizabeth, if you're reading this please be aware that it needs a little investigation. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com

Re: [PHP-DEV] PDO performance

2007-11-14 Thread Alexey Zakhlestin
. many thanks Andrew -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Making parallel database queries from PHP

2007-11-10 Thread Alexey Zakhlestin
one approach or another? Please keep in mind that I'm hoping for a solution which will be both stable and minimizes overhead. Thanks, Arend. -- Arend van Beelen jr. If you want my address, it's number one at the end of the bar. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP

Re: [PHP-DEV] Safe mode being removed in PHP6?

2007-11-05 Thread Alexey Zakhlestin
. Run php using fastcgi/suexec (every user will have his own PHP running using his uid). That's how textdrive/joyent do this and they are more than happy with this approach. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

Re: [PHP-DEV] Safe mode being removed in PHP6?

2007-11-05 Thread Alexey Zakhlestin
Did you just ignore the part about fastcgi? On 11/5/07, Mark Krenz [EMAIL PROTECTED] wrote: On Mon, Nov 05, 2007 at 06:35:50PM GMT, Alexey Zakhlestin [EMAIL PROTECTED] said the following: That's how textdrive/joyent do this and they are more than happy with this approach. Oh really

Re: [PHP-DEV] [Patch] http_fopen_wrapper.c and allowing any response code w/o warning

2007-11-02 Thread Alexey Zakhlestin
). Streams have a nice api for notifications — that should be enough for error handling. No need to return false and give a warning (at least, when notifications are handled). -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] PHP 5.2.5RC2 Released for Testing

2007-11-02 Thread Alexey Zakhlestin
://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Undefined Constants behavior in PHP6

2007-10-21 Thread Alexey Zakhlestin
these in error-handler while debugging and fix the structure of code accordingly. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Undefined Constants behavior in PHP6

2007-10-19 Thread Alexey Zakhlestin
Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] T_IMPORT vs. T_USE

2007-10-18 Thread Alexey Zakhlestin
-aware I am definitely on less keywords is better side -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Object arithmetic

2007-10-17 Thread Alexey Zakhlestin
has nothing but strings. Then engine would be able to cast the value further to float (as the last example in bug shows) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Method overloading by method signature

2007-10-14 Thread Alexey Zakhlestin
* } */ var_dump($remainingParameters); } -Ursprüngliche Nachricht- Von: Alexey Zakhlestin [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 13. Oktober 2007 23:20 An: Hans Moog Cc: internals@lists.php.net Betreff: Re: [PHP-DEV] Method overloading by method signature can your patch handle

Re: [PHP-DEV] Method overloading by method signature

2007-10-13 Thread Alexey Zakhlestin
this would be a very big advantage and would help developers to write better code. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Method overloading by method signature

2007-10-13 Thread Alexey Zakhlestin
it is just syntactical sugar to checking the variable types manually and then dispatching to the right behaviour. -Ursprüngliche Nachricht- Von: Alexey Zakhlestin [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 13. Oktober 2007 22:22 An: Hans Moog Cc: internals@lists.php.net Betreff: Re

Re: [PHP-DEV] substr/array_slice in []

2007-10-09 Thread Alexey Zakhlestin
? :-/ then DOM is, probably, a mistake too… (it can be implemented in userland using SAX functions) I always thought, that simplexml was the reason xml became fun in php (and that was the reason which made a lot xml-programmers upgrade to php5) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] Reference cycle collector patch

2007-10-08 Thread Alexey Zakhlestin
be: there is no mechanism in zend_object_storage to free unused memory during script execution -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: RE : [PHP-DEV] [PATCH] in_class_exists() for detecting __autoload() called by class_exists() and interface_exists()

2007-10-06 Thread Alexey Zakhlestin
be done by extending spl_autoload_* family of functions and leaving autoload_register() as low-levelish as it is now -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] substr/array_slice in []

2007-10-06 Thread Alexey Zakhlestin
functionality (more than one way to do it, yeah). But too perlish is much shorter. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP

[PHP-DEV] snaps.php.net, 5.3

2007-10-05 Thread Alexey Zakhlestin
snaps.php.net doesn't have 5.3 yet. will it appear there? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] substr/array_slice in []

2007-10-04 Thread Alexey Zakhlestin
arrays and strings becomes just a matter of consistent syntax. currently, array_slice doesn't work with ArrayAccess -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] substr/array_slice in []

2007-10-02 Thread Alexey Zakhlestin
interface can solve the problem. Ranges can be passed exactly the way they are passed to [] operator public function rangeGet($start, $length); public function rangeSet($start, $length, array $data); -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development

[PHP-DEV] substr/array_slice in []

2007-10-01 Thread Alexey Zakhlestin
Here http://www.php.net/~derick/meeting-notes.html#cleanup-for-vs is a phrase For both strings and arrays, the [] operator will support substr()/array_slice() functionality will it appear in php5.x (php 5.3)? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime

Re: [PHP-DEV] [patch] Late static bindings (LSB)

2007-09-24 Thread Alexey Zakhlestin
On 9/24/07, Michael Lively [EMAIL PROTECTED] wrote: The very phrase late static binding is an oxymoron of sorts :) that's because the term we use is not correct… :) it would be better to say late binding of static methods -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] PHP 5.3 Suggested Feature List (Summary)

2007-09-24 Thread Alexey Zakhlestin
. I will poke the relevant people at regular intervals, that any MySQL specific features in PDO will make it into the docs. Thanks, Lukas! That's a great news! -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] [patch] Late static bindings (LSB)

2007-09-19 Thread Alexey Zakhlestin
behavior? (I would prefer it. My previous patches worked in this way). Or may be both lines must return A? (like Etienne's patches do, and like my latest path does) Thanks. Dmitry. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] new ini parser, caching

2007-09-12 Thread Alexey Zakhlestin
but, as Stanislav mentioned, we should check how difficult it would be for the OS to send those notifications -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] new ini parser, caching

2007-09-11 Thread Alexey Zakhlestin
have different mechanisms for the same thing -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RE: Why not jar for phar? (was Re: [PHP-DEV] PHAR was PHP 5.3 Suggested Feature List)

2007-09-11 Thread Alexey Zakhlestin
. it means, that phar depends on spl and this dependency is not optional -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Snaps drivers show wrong build date

2007-09-07 Thread Alexey Zakhlestin
) (built: Sep 1 2007 10:05:06) Copyright (c) 1997-2007 The PHP Group Zend Engine v3.0.0-dev, Copyright (c) 1998-2007 Zend Technologies with Regards, Raghubansh -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] Namespace question

2007-08-17 Thread Alexey Zakhlestin
) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Issues with custom extension.

2007-08-16 Thread Alexey Zakhlestin
-END PGP SIGNATURE- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread Alexey Zakhlestin
-- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-22 Thread Alexey Zakhlestin
than loading everything at once -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] POSIX regex

2007-07-20 Thread Alexey Zakhlestin
their own php.ini for every application -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Source Code Help

2007-07-15 Thread Alexey Zakhlestin
of the debuggers available to step into it and see which function is called. Since PHP is called by apache and error happens right away, is there an easy way to invoke php under gdb ? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey

Re: [PHP-DEV] What is the use of unicode.semantics in PHP 6?

2007-07-10 Thread Alexey Zakhlestin
its advantages -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] What is the use of unicode.semantics in PHP 6?

2007-07-09 Thread Alexey Zakhlestin
people do not care about texts) and some intranet-sites. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] RIP PHP 4?

2007-07-09 Thread Alexey Zakhlestin
well -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] What is the use of unicode.semantics in PHP 6?

2007-06-29 Thread Alexey Zakhlestin
. Call to developers: Create new versions of your apps/libraries which use new features of language. Make your users interested in upgrading. If users want it, hosting-owners will consider upgrades faster. It's all about marketing ;) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] [RFC] SPL PCRE as always enabled in core

2007-06-25 Thread Alexey Zakhlestin
On 6/25/07, Antony Dovgal [EMAIL PROTECTED] wrote: The difference is that we do not ship ICU with PHP, but we do ship Oniguruma library. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] [PHP4] Logging native PHP function calls

2007-06-13 Thread Alexey Zakhlestin
Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] SPL PCRE as always enabled in core

2007-06-07 Thread Alexey Zakhlestin
that. mb_ereg (which is powered by oniguruma) seems to be way more interestingi (and it is faster too) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ Best regards, Marcus -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] [RFC] SPL PCRE as always enabled in core

2007-06-06 Thread Alexey Zakhlestin
On 6/6/07, Marcus Boerger [EMAIL PROTECTED] wrote: + other regex options suck I would argue that. mb_ereg (which is powered by oniguruma) seems to be way more interestingi (and it is faster too) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Alexey Zakhlestin
On 5/23/07, Richard Quadling [EMAIL PROTECTED] wrote: Is PHP6 in a state able to be used? For Windows XP that is? in a state to be tested would be more correct :) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] Dismantling the lies...

2007-05-21 Thread Alexey Zakhlestin
, that doesn't mean bugs shouldn't be fixed - just the fix shouldn't make the situation worse. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey

Re: [PHP-DEV] Trying to understand PHP6's unicode support

2007-05-03 Thread Alexey Zakhlestin
); then it works, but I would like to understand how this works, to make my program the right way from the start. Did I misundertood something? Thanks, Rangel -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http

Re: [PHP-DEV] PHP Summer of Code

2007-03-27 Thread Alexey Zakhlestin
Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] removed stuff fatals error in HEAD

2007-03-23 Thread Alexey Zakhlestin
Isn't it possible to change this phrase to something like in php's configuration? On 3/23/07, Antony Dovgal [EMAIL PROTECTED] wrote: On 03/23/2007 03:08 PM, Alexey Zakhlestin wrote: I believe, that it will be better to make better error-messages regarding place of options declarations

<    1   2   3   4   >