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] 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-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-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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] [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] 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] 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] 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

[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

[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

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

Re: [PHP-DEV] OS X, enable embed problem, patch

2008-04-30 Thread Alexey Zakhlestin
=\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0644 $SAPI_DYLIB \$(INSTALL_ROOT)\$(prefix)/lib + ;; *) PHP_EMBED_TYPE=no ;; -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Alexey

Re: [PHP-DEV] Removal of unicode_semantics

2008-05-04 Thread Alexey Zakhlestin
for unicode_semantics=off, other for unicode_semantics=on). On the other hand, 1 year from now it would be safe to require 5.2.1 as a minimal supported version of php, which will allow you to mark all the strings as binary, which will lead to eaier migration to php-6 -- Alexey Zakhlestin http

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_compile.c /tests ns_063.phpt

2008-05-05 Thread Alexey Zakhlestin
for the rest of the php's life but... I am with Pierre here. Cleanup is good, and 5.3 is a good chance to mark old syntax with E_DEPRECATED -- 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] Proposal for a PHP-BASED Make facility

2008-05-15 Thread Alexey Zakhlestin
/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] Proposal for a PHP-BASED Make facility

2008-05-15 Thread Alexey Zakhlestin
/?l=php-internalsm=120600893618730w=4 -- 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: allow_call_pass_by_reference

2008-05-22 Thread Alexey Zakhlestin
to write: $null = null; foo($null); what stops you from declaring: function someFunc($param = null) { } it works just fine Deleting it isn't a good idea, it should become a normal (not deprecated) language feature. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP

Re: [PHP-DEV] RFC: allow_call_pass_by_reference

2008-05-22 Thread Alexey Zakhlestin
On Thu, May 22, 2008 at 2:51 PM, LEW21 [EMAIL PROTECTED] wrote: 2008/5/22, Alexey Zakhlestin [EMAIL PROTECTED]: On Wed, May 21, 2008 at 10:46 PM, LEW21 [EMAIL PROTECTED] wrote: Sometimes call time pass by reference is useful, for example when you want to make it possible to omit an param

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-23 Thread Alexey Zakhlestin
On Fri, May 23, 2008 at 12:59 PM, Pierre Joye [EMAIL PROTECTED] wrote: For the record here, +1. +1 (for informational purposes, do not have karma to actually vote) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

[PHP-DEV] CVS Account Request: indeyets

2008-06-09 Thread Alexey Zakhlestin
maintaining pecl-packages (will request karma separately) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CVS Account Request: indeyets

2008-06-09 Thread Alexey Zakhlestin
ready) overall, I want to get involved with the project more :) -- 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] Calling original function from an overloaded function

2008-06-09 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] FastArray, great addition

2008-06-16 Thread Alexey Zakhlestin
) and… well… it is fast ;) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] FastArray, great addition

2008-06-16 Thread Alexey Zakhlestin
be just Array, but that name is already occupied by hash I don't like how CArray refers to C, because similiar constructs exist in many languages. maybe FixedArray? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] [PATCH] [RFC] Closures and lambda functions in PHP

2008-06-16 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] [PATCH] [RFC] Closures and lambda functions in PHP

2008-06-17 Thread Alexey Zakhlestin
opinion is that we better take some time with it and not tie it to 5.3. although I really want to have this functionality right now, I agree with Stas. 5.3 has a lot of new things already. this should go to HEAD, and, hopefully, it will attract more people to actually try php-6 -- Alexey

Re: [PHP-DEV] FastArray, great addition

2008-06-18 Thread Alexey Zakhlestin
be perfect ;) -- 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] FastArray, great addition

2008-06-18 Thread Alexey Zakhlestin
to do, just don't forget to throw an exception on string key. I will give it a try -- 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] [RFC] Closures and lambda functions in PHP

2008-06-18 Thread Alexey Zakhlestin
. that would be seriously bad, because it will eliminate possibility of lambda-generating functions -- 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] [RFC] Closures and lambda functions in PHP

2008-06-20 Thread Alexey Zakhlestin
the same. just to clarify: php, currently, does not have nested functions but it is allowed to declare usual, global-scoped functions from inside other functions -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] LSB forward_static_call()

2008-06-21 Thread Alexey Zakhlestin
call-chain. if you just want to call method of some class, you call it by class's name. -- 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] cleaning up the functions - any volunteers?

2008-06-21 Thread Alexey Zakhlestin
PROTECTED] -- 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] cleaning up the functions - any volunteers?

2008-06-21 Thread Alexey Zakhlestin
On 6/22/08, David Coallier [EMAIL PROTECTED] wrote: 2008/6/21 Alexey Zakhlestin [EMAIL PROTECTED]: I did curl for 5.3 I don't have karma. did attachment come to the list? anyway, here is the file: http://filez.indeyets.pp.ru/curl.diff -- Alexey Zakhlestin http://blog.milkfarmsoft.com

Re: [PHP-DEV] cleaning up the functions - any volunteers?

2008-06-21 Thread Alexey Zakhlestin
On 6/22/08, Rasmus Lerdorf [EMAIL PROTECTED] wrote: You do now. thanks. checked in -- 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] LSB forward_static_call()

2008-06-23 Thread Alexey Zakhlestin
of them used for the same thing. I am just looking for consistency. I am expecting get_called_class() to work as a static analog of get_class(this) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] simple solution to another namespace conundrum?

2008-06-24 Thread Alexey Zakhlestin
down the road - wondering why the DateTime documentation on php.net doesn't match with what the class does. it won't be a serious 'wtf', as on the top of the file, there would be some kind of use MySuperLibrary::DateTime; -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP

[PHP-DEV] mac os x, test failure

2008-06-28 Thread Alexey Zakhlestin
to my error) in php_execute_script(), which leads me to the conclusion that the problem is deeper than highlight_file() I still do not feel myself comfortable during deep debugging. Any hints? p.s. http://news.php.net/php.qa.reports/8536 -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP

Re: [PHP-DEV] mac os x, test failure

2008-06-30 Thread Alexey Zakhlestin
On Mon, Jun 30, 2008 at 12:10 PM, Antony Dovgal [EMAIL PROTECTED] wrote: On 28.06.2008 20:17, Alexey Zakhlestin wrote: I noticed a failure of ext/standard/tests/strings/006.phpt on my machine. this is 5.3.0, debug-zts, mac os x 10.5.3, intel, 32-bit build This test, in my case, returns

Re: [PHP-DEV] mac os x, test failure

2008-06-30 Thread Alexey Zakhlestin
On Mon, Jun 30, 2008 at 12:27 PM, Antony Dovgal [EMAIL PROTECTED] wrote: On 30.06.2008 12:24, Alexey Zakhlestin wrote: It might also mean that the error message is different on Mac OS or the error code is different. I've seen that many times on different platforms. that's what I thought

Re: [PHP-DEV] mac os x, test failure

2008-07-02 Thread Alexey Zakhlestin
_php_stream_open_wrapper_ex(path, ...) calls php_stream_display_wrapper_errors() php_stream_display_wrapper_errors() checks errno-value I don't see how any function here might set errno to any value. How does this work on other operating-systems? On Mon, Jun 30, 2008 at 12:29 PM, Alexey Zakhlestin

Re: [PHP-DEV] mac os x, test failure

2008-07-02 Thread Alexey Zakhlestin
On Wed, Jul 2, 2008 at 10:19 AM, Alexey Zakhlestin [EMAIL PROTECTED] wrote: some more details. the return-chain in this case is following: virtual_file_ex(..., path, ...) - returns 1, because path_length = MAXPATHLEN expand_filepath(filepath, ...) - returns null _php_stream_fopen(filename

Re: [PHP-DEV] [RFC] Namespaces for internal classes

2008-07-04 Thread Alexey Zakhlestin
, everybody out there must have a hard time trying to figure out that there is no StringIterator because ArrayIterator exists? cu, Lars -- 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: parent:: forwarding

2008-07-08 Thread Alexey Zakhlestin
by Mike Lively, I adapted it and removed forward_static_call http://patches.colder.ch/Zend/lsb_parent_forwarding_53.patch?markup http://patches.colder.ch/Zend/lsb_parent_forwarding_HEAD.patch?markup They should merge without trouble. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Alexey Zakhlestin
, so you can't put it into block -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] Namespace problem?

2008-07-16 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] Namespace problem?

2008-07-17 Thread Alexey Zakhlestin
into PHP just because somebody might erroneously submit a bug report is worth doing. is it possible to add custom (more user-friendly) error-message in this case? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Namespace problem?

2008-07-17 Thread Alexey Zakhlestin
propose it, but then I guess other parser errors should get same treatment. well, looks like it is not an easy task for bison-parser. it is worth to look at this problem after switching to lemon (5.4?) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] mysql_set_charset

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

[PHP-DEV] open_basedir + sessions bug (or a feature?)

2008-08-27 Thread Alexey Zakhlestin
is returned by php_get_temporary_directory() call, but that sounds like a very bad idea. -- 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: open_basedir + sessions bug (or a feature?)

2008-08-27 Thread Alexey Zakhlestin
well, in case there are no objections I will remove special treatment of /tmp path in sessions code of 5.3 and 6.0 should 5.2 also be fixed? On Wed, Aug 27, 2008 at 12:30 PM, Alexey Zakhlestin [EMAIL PROTECTED] wrote: ext/sessions/mod_files.c:281 has a hardcoded openbasedir-check skipping

Re: [PHP-DEV] Is gmp_testbit going to be pushed out of CVS eventually?

2008-08-27 Thread Alexey Zakhlestin
but still unavailable. I'm using gmp_scan1 right now but my bloom filter would be much more efficient if I had gmp_testbit. it is available in 5.3 -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] open_basedir + sessions bug (or a feature?)

2008-08-28 Thread Alexey Zakhlestin
. It was introduced in 5.2.2, so it wasn't there forever -- 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] casting static property

2008-08-31 Thread Alexey Zakhlestin
by PrimeIT.pt -- 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] PHP snmp extension leaks memory

2008-09-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] PHP snmp extension leaks memory

2008-09-06 Thread Alexey Zakhlestin
On Sat, Sep 6, 2008 at 11:12 AM, Rodrigo Campos [EMAIL PROTECTED] wrote: On Sat, Sep 6, 2008 at 3:05 AM, Alexey Zakhlestin [EMAIL PROTECTED] wrote: Can you put final version of patch somewhere where we can download it? http://phpfi.com/ will be just fine Yes, here it is: http://phpfi.com

Re: [PHP-DEV] PHP snmp extension leaks memory

2008-09-06 Thread Alexey Zakhlestin
On Sat, Sep 6, 2008 at 12:02 PM, Alexey Zakhlestin [EMAIL PROTECTED] wrote: On Sat, Sep 6, 2008 at 11:12 AM, Rodrigo Campos [EMAIL PROTECTED] wrote: On Sat, Sep 6, 2008 at 3:05 AM, Alexey Zakhlestin [EMAIL PROTECTED] wrote: Can you put final version of patch somewhere where we can download

Re: [PHP-DEV] make fails due to ext/iconv/php_have_ibm_iconv.h missing (5.3 including alpha2)

2008-09-08 Thread Alexey Zakhlestin
is to use different prefix-paths for php default installation: ./configure --prefix=/usr/local some custom installation: ./configure --prefix=/opt/php53-test I am not sure how it relates with apache. would fastcgi work for you? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals

Re: [PHP-DEV] make fails due to ext/iconv/php_have_ibm_iconv.h missing (5.3 including alpha2)

2008-09-08 Thread Alexey Zakhlestin
is created by configure-script if iconv is enabled. If it is not enabled, nothing should require it. If something does require it, while iconv is disabled — that IS a bug -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] Re: Critical bugs to fix before ANY release

2008-09-08 Thread Alexey Zakhlestin
EOF reached well, I guess there is no way to get filesize of piped data, because it is completely dynamic. at the lowest level, libc's read() returns 0 in case of EOF and -1 in case of error. that's the way to distinguish them. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals

[PHP-DEV] Opinion needed (bug #45928)

2008-09-09 Thread Alexey Zakhlestin
not sure how to proceed. -- 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: 5.3 Backwards Compatibility

2008-09-09 Thread Alexey Zakhlestin
are secure without internet access, simply downloading things via the installer does not work. This may simply be because libraries that included some of this stuff are now simply switching to PEAR instead. can you provide some example? -- Alexey Zakhlestin http://blog.milkfarmsoft.com

Re: [PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Alexey Zakhlestin
but reusing the same client connection that was previously suspended I think there is enough support in Apache 2 APR to make this possible. What do you guys think? Can you provide some scenario, when this is useful? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP

Re: [PHP-DEV] solving the namespace conflict issues between function/staticmethod class constant/ns constant

2008-09-22 Thread Alexey Zakhlestin
lets get the implementation done first and then worry about the syntax. I guess we are more or less at this point 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] Re: Subversion migration

2008-09-23 Thread Alexey Zakhlestin
thought we've had enough problems with viewvc.cgi, why not use something that's easier to tweak maintain (for us)? +1 we can use http://pecl.php.net/package/svn for this. It is marked as beta, but in my experience it is very solid. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP

Re: [PHP-DEV] [PATCH] Fix date() bug

2008-09-27 Thread Alexey Zakhlestin
for microseconds. I am including the headers and using the function with pre-processor safeguards as well. Take a look :) Wouldn't it be better, to make gettimeofday() call only in case of 'u'? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] alpha3

2008-09-27 Thread Alexey Zakhlestin
(with a promise to extend it later) would work for me, perfectly. -- 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] Fix date() bug

2008-09-27 Thread Alexey Zakhlestin
, 2008 at 1:40 AM, Alexey Zakhlestin [EMAIL PROTECTED] wrote: On Sat, Sep 27, 2008 at 11:04 AM, Ilia Cheishvili [EMAIL PROTECTED] wrote: Hi all, This patch addresses the issue with the date() function. When passing in a 'u', the date() function simply outputs six zeros. To fix this, I

Re: [PHP-DEV] [PATCH] Fix date() bug

2008-09-27 Thread Alexey Zakhlestin
)); #endif break; On Sat, Sep 27, 2008 at 1:40 AM, Alexey Zakhlestin [EMAIL PROTECTED] wrote: On Sat, Sep 27, 2008 at 11:04 AM, Ilia Cheishvili [EMAIL PROTECTED] wrote: Hi all, This patch addresses the issue with the date() function. When passing in a 'u', the date

Re: [PHP-DEV] [PATCH] Fix date() bug

2008-09-27 Thread Alexey Zakhlestin
-provided timestamps it, obviously, can not — that is true. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] Disable PHAR by default

2008-09-29 Thread Alexey Zakhlestin
on finding bugs and fixing those — that's what alpha is about. It's easier to do this, if phar is enabled. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

Re: [PHP-DEV] my last attempt at sanity with namespaces

2008-10-16 Thread Alexey Zakhlestin
On Thu, Oct 16, 2008 at 12:35 AM, Greg Beaver [EMAIL PROTECTED] wrote: Hi, http://wiki.php.net/rfc/namespaceissues solution #3: +1 change of resolving order: +1 -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

  1   2   3   4   >