Re: [PHP-DEV] Performance degradation

2003-02-23 Thread Stanislav Malyshev
big object, than freeing and allocation a number of small objects with the same size should generate less brk's then allocating small ones first and then large one). -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP

Re: [PHP-DEV] Why i believe we need final

2003-01-30 Thread Stanislav Malyshev
lasses and I know what OO is. I just don't see how 'final' can be really useful in PHP - not in OO-textbook theorteical way, but in practice. And I believe there are more people that do think so - otherwise I would have been enlightened already by someone who sees the practical us

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c

2003-01-29 Thread Stanislav Malyshev
x. EK>> EK>> ./configure --enable-debug && make && make install-pear EK>> EK>> Edin EK>> -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c

2003-01-29 Thread Stanislav Malyshev
EK>> That makes PEAR installer coredump with the following core: Doesn't happen to me. What were the arguments? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List <http://www.php.net/&g

Re: [PHP-DEV] Why i believe we need final

2003-01-29 Thread Stanislav Malyshev
s no for example no longer a fifo. Instead it uses a fifo. Implementation can be different and still be a fifo. That depends on overriding implementation. Again, I still have yet to see any example where the proposed 'final' plays substantial role and not just is there because '

Re: [PHP-DEV] Why i believe we need final

2003-01-27 Thread Stanislav Malyshev
t; as it allows to emulate static binding with MB>> dynamic binding. If you declare a function "final" it is invariant MB>> against inhertance starting from that point in the inhertance tree. In Could you explain what is "invariant against inhertance"? What should happen

Re: [PHP-DEV] Reducing the number of system calls for includes

2003-01-26 Thread Stanislav Malyshev
are still identifies (at least for the user) by filename, not by inode. I know that's little probability scenario, but still... -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List <http://www

Re: [PHP-DEV] ZendEngine2 / zend_object_handlers.c __get __set __call

2002-12-15 Thread Stanislav Malyshev
ions. Your scheme allows *only* total control at the cost of great class slowdown. LB>> What you propose is a way to select variables which will invoque the LB>> __get / __set. That's a good idea but moving them from the object to a LB>> private hashtable destructurate the c

Re: [PHP-DEV] ZendEngine2 / zend_object_handlers.c __get __set __call

2002-12-15 Thread Stanislav Malyshev
but a bit of trivia) I could answer it point by point. LB>> - when will "use()" be implemented (a package attempt i bet) ? What is "use()"? LB>> - get_class_methods() do not return methods array when used on a LB>> namespaced class Submit a bug report wit

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

2002-12-12 Thread Stanislav Malyshev
ve Here I do not see what do you mean by 'typecasting' or why we need one. MB>> In this C++ example dynamic_cast is used for "is_a". When MB>> dynamic_cast(p) returns NULL the variable p is not of type X or MB>> one of it's parent. Well, I think futh

Re: [PHP-DEV] Re: sapi/fastcgi

2002-12-04 Thread Stanislav Malyshev
HR>> as neither of them works you can remove both :) What do you mean neither works? I have Zeus/PHP/FastCGI install with PHP 4.2.3 running here, seems working. Am I missing something? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-61396

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stanislav Malyshev
PO>> It sounds like this is where the problem lives. As a reference, PO>> glob() was initially documented about six months ago and sha1() PO>> about six days. OK, I have updated the phpfunc to use new manual structure. The number of undocumented functions is down to 12% now

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stanislav Malyshev
sha1() PO>> about six days. Oh. Now I see. So each function now has one individual file? I guess that requires update to phpfunc module. I will check into this. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 --

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stanislav Malyshev
and phpfunc script no longer catch it - but not because it's not updated. Can you point to some function that is defined but listed as not defined? Did the manual structure change substantially? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +9

[PHP-DEV] apache_hooks

2002-11-19 Thread Stanislav Malyshev
What is apache_hooks SAPI module? It looks like it produces errors in my build... And no docs there. What's that? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List <http://www.php.

Re: [PHP-DEV] on the subject of overloading: __call()

2002-11-18 Thread Stanislav Malyshev
s not defined. I fear you lost me here. Is the "a_method" static method or not? If yes - why not pass $this? If not - why do you need $this? I will look into your examples later and respond what I think. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://w

Re: [PHP-DEV] Limitations of the ZendEngine2 Object Model?

2002-11-18 Thread Stanislav Malyshev
nested classes. PM>> extends P, defines D.n nested, yet D.n has no relation to P.n and is PM>> not allowed to extend it explicitly (wouldn't it be implicit, with You definitely can do it explicitly - by saying "extends Root::Nested" in Child::Nested. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] on the subject of overloading: __call()

2002-11-17 Thread Stanislav Malyshev
o stay true? Since __call is the method of the class, calling self::method can be achieved, I think. As for the second point - could you please explain furher what you mean, maybe with an example? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972

Re: [PHP-DEV] problem with EG(uninitialized_zval_ptr)

2002-10-28 Thread Stanislav Malyshev
TCA>> yep - but can we simply move init_executor a bit "up"? I fear it's as "up" as it can be - just the start of zend_activate(). The problem, as it seems, is that some code can be called before zend_activate() - like INI handlers. -- Stanislav Malyshev, Z

Re: [PHP-DEV] problem with EG(uninitialized_zval_ptr)

2002-10-28 Thread Stanislav Malyshev
games than just EG(uninitialized_zval_ptr). So I guess calling zval_ptr_dtor before init_executor is unwise indeed... -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List <http://www.php.net/> To

Re: [PHP-DEV] trying to understand zvals

2002-10-20 Thread Stanislav Malyshev
TDJ>> Could you go into a little more depth on the problem, just so I TDJ>> understand? The problem is that passing argument passes only zval *, i.e. pointer to variable itself. To make reference assignment, you need zval **, i.e. the place in the symbol table. -- Stanislav Ma

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Stanislav Malyshev
($foo, $foo) (it's not wise to do this, but this way it won't crash/produce garbage). -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Stanislav Malyshev
opcode in zend_execute.c for example (yes, it's a bit messy, I know). -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Stanislav Malyshev
TDJ>> Thanks for your response! While it does not cause a crash, your TDJ>> function doesn't do what I expected. Do you know where I went TDJ>> wrong? You are right, this doesn't work. I'll look a bit more into it... -- Stanislav Malyshev, Zend Products En

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Stanislav Malyshev
roblematic, due to the way PHP variables work. The best you can do is something like this: function ref_assign($a, $b) { $GLOBALS[$a] =& $GLOBALS[$b]; } ref_assign("bar", "foo"); That's assuming they are globals. If they are not, I cannot now think of a good way t

Re: [PHP-DEV] auto_prepend_file and auto_append_file

2002-10-08 Thread Stanislav Malyshev
to explain that to disable these options a user should IA>> use "" as their value. And break existing setups? Don't think it's any good... -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] zend_execute function

2002-09-12 Thread Stanislav Malyshev
.) before it can run. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard var_unserializer.re

2002-08-19 Thread Stanislav Malyshev
SB>> /usr/src/php4/ext/standard/var_unserializer.c:1: parse error before '<<' SB>> token I fear that has something to do with your CVS checkout... There's no <<'s in CVS version (and yes, it compiles just fine). -- Stanislav Malyshev, Zend

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard var_unserializer.re

2002-08-19 Thread Stanislav Malyshev
SB>> > /php4/ext/standard var_unserializer.re SB>> > Log: SB>> > ZE2 compatibility fix SB>> > ## In ZE2 the hash contains zend_class_entry *! SB>> SB>> Please commit an updated version of the re2c output as well. OK, did so. -- Stan

Re: [PHP-DEV] Let's fork GD!

2002-04-12 Thread Stanislav Malyshev
animated GIFs will be a relic very soon, I guess, as soon as Flash support gains more coverage (most of browser do support it), and there's also MNG format which supports animation, though I don't really know its support status. MNG pages says mozilla and konq support it. No info ab

Re: [PHP-DEV] Let's fork GD!

2002-04-12 Thread Stanislav Malyshev
res? If you mean digital cameras, they usually default to JPEG/MPEG. As for animated pictures - does GD support that anyway? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Re: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Stanislav Malyshev
RB>> Which client library are you using? The bundled one, I think... -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Re: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Stanislav Malyshev
ults in gethostname, but I strongly suspect the cause is elsewhere, because the code in question looks completely innocent. I didn't have time yet to investigate it further. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 withPHP 4.2.0

2002-04-09 Thread Stanislav Malyshev
JT>> Will you reply to all those bug reports then? Well, probably I personally not. But how it's related to anything? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://ww

Re: [PHP-DEV] RE: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Stanislav Malyshev
nsider stable and have it crashing due to the apache 2 stuff. Actually I personnaly don't think 'we cannot declare it stable' leads to 'we cannot release it'. Why just not say 'Apache 2 support is unstable, use it on your own risk and only if you know what you

[PHP-DEV] Re: [PHP-QA] Supporting Apache 2 with PHP 4.2.0

2002-04-09 Thread Stanislav Malyshev
rrectly. This is because Actually, I complied CVS apache2filter with 2.0.35, and it segfaults on some mysql functions. I don't know the reason yet, but what is clear that it's not in the 'working' stage as of now. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED]

Re: [PHP-DEV] new port

2002-04-07 Thread Stanislav Malyshev
e different size, and you get data loss here (unless you are 100% sure *p is fitting int, in which case it should be commented in the code). Can you point out some of the examples where this happens? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972

Re: [PHP-DEV] Current CVS doesn't build Java module

2002-03-31 Thread Stanislav Malyshev
JT>> This should be fixed now. works, thanks. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Current CVS doesn't build Java module

2002-03-31 Thread Stanislav Malyshev
. And configure line was: ../configure --enable-debug --with-java=/opt/IBMJava2-13 --with-config-file-path=/home/frodo/php4 --with-libedit Could someone from build persons please take a look on it? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3

Re: [PHP-DEV] ZendEngine 2

2002-03-31 Thread Stanislav Malyshev
code is completely OK. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Build changes - dynamic exports

2002-03-19 Thread Stanislav Malyshev
SS>> Should work fine now Does work fine. Thanks :) -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Build changes - dynamic exports

2002-03-19 Thread Stanislav Malyshev
, b) why it was done, was it intentional or just an omission and c) what is the most effective way to fix that? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsub

Re: [PHP-DEV] PHP audit

2002-03-14 Thread Stanislav Malyshev
JO>> It might be better to work on a separate tree, and later let PHP JO>> developpers merge what parts they want to. Why? Your patches then would bit-rot constantly and you would have to update it even that nothing changes, and risk introducing new bugs in transition. -

Re: [PHP-DEV] the dl() issue

2002-03-12 Thread Stanislav Malyshev
home directory, MK>> and calling dl("extension.bundle"); in their PHP scripts. Might the solution be in the form of some 'auto-load extension folder'? I.e., folder in which all extensions found there are loaded automatically? -- Stanislav Malyshev, Zend Products Engineer

Re: [PHP-DEV] php + cygwin - some more

2002-03-03 Thread Stanislav Malyshev
i think we can commit this to cvs anyone against? <<<< That's the same issue - timezone is a function in cygwin, and the thing that is meant here is _timezone. However, I don't know how to express this in ifdef-HAVE_THIS_AND_THAT terms. Anyone? -- Stanislav Malyshev, Zend Prod

[PHP-DEV] php + cygwin - some more

2002-03-03 Thread Stanislav Malyshev
if and how is possible to build .dll for apache with cygwin. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php + cygwin

2002-02-21 Thread Stanislav Malyshev
AG>> "Everything's possible" :) I just don't think anyone has done it. I see. Generally, the real question is more practical - why it looks for liconfig? Can any of autoconf/configure/libtool gurus give any pointers? -- Stanislav Malyshev, Zend Products Engineer

Re: [PHP-DEV] php + cygwin

2002-02-21 Thread Stanislav Malyshev
AG>> I don't think anyone has every compiled PHP with cygwin. But it should be possible? I.e., I don't see why wouldn't it be possible. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Developme

[PHP-DEV] php + cygwin

2002-02-21 Thread Stanislav Malyshev
s the procdure of building PHP DLL for Apache, if such thing is possible without Visual? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://

Re: [PHP-DEV] php 4.1.1 Darwin shared apache builds

2002-02-18 Thread Stanislav Malyshev
essages. DK>> As far as the libtool parts go, I am still lost on it. I do know it DK>> needs to have the -flat_namespace define added to the compile DK>> options. Does 4.0.6 version have it? If so, the question is why it got removed. If not, te question is how 4.0.6 libtool w

[PHP-DEV] php 4.1.1 Darwin shared apache builds

2002-02-18 Thread Stanislav Malyshev
nd 4.1. Can anybody shed some light on the matter - what was done on libtool side from 4.0.6 till 4.1.1 and could it break Darwin and what is the most efficient way to fix it? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 --

Re: [PHP-DEV] C++ in extension?

2001-11-28 Thread Stanislav Malyshev
ould be used from PHP, since PHP is C program and doesn't know about C++ name mangling. I think wrapping all PHP macros, function defs, PHP includes, etc. in extern "C" would help. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139

[PHP-DEV] Content-Encoding vs. Transfer-Encoding in gzip

2001-11-25 Thread Stanislav Malyshev
See: http://bugzilla.mozilla.org/show_bug.cgi?id=51852 So, the question is: shouldn't PHP indeed use Transfer-Encoding instead of Content-Encoding? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing

Re: [PHP-DEV] [CVS] Memleak when assigning a class being propertyof another class the class

2001-11-14 Thread Stanislav Malyshev
ferences X or part of X). It's known to cause memory leaks. It's not dangerous since these leaks are auto-cleaned after each request. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <

Re: [PHP-DEV] Package extension proposal

2001-10-21 Thread Stanislav Malyshev
do not want to create dependency on any XML parser extension, and I do not want to rewrite the parser also. So I guess that this: AM>> 2.) the PEAR-Installer create a package file of the 'your' AM>> format from the XML package file maybe would be better. Let's see

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-21 Thread Stanislav Malyshev
game". DB>> function library from the user themselves. Why are you DB>> continuing this argument? Mostly because I have got tens of answers to this thread and only *one single answer* on my package proposal. So if this thread is the place where my voice is heard - I will

Re: [PHP-DEV] Package extension proposal

2001-10-21 Thread Stanislav Malyshev
>> PEAR has already a XML-based package file format, which is already used >> for installation and information retrieving. Is it documented somewhere? Also, I fear that XML would be too slow for time-critical operation like including files on runtime, but I might be mistaken. -

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-21 Thread Stanislav Malyshev
h you to use function. Please see my package extension proposal and if you disagree - please tell why. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-20 Thread Stanislav Malyshev
oper way to report the fire". -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact t

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-20 Thread Stanislav Malyshev
ver he needs it. See my package proposal. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[PHP-DEV] Package extension proposal

2001-10-19 Thread Stanislav Malyshev
text and executed, one by one. It is not recommended to put any global-scope code but definitions and variable definitions into these files. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Stanislav Malyshev
me small change as variables and should be handled more systematically. There still be the cases when you do need such hacks, in one way or another, but I think that a systematic approach to the problem will do better than a hackish 'patch there, fiddle here' approach. -- Stanis

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Stanislav Malyshev
responcibility of including a module onto the engine, and that is completely OK with me. I agree that it would be good to have more developed concept of a package and all the hoopla that is going with that - but until then, I see nothing wrong in include_once. DB>> including files and it'

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Stanislav Malyshev
way to solve the problem won't do any good in the long run, only bring more problems. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-18 Thread Stanislav Malyshev
hat didn't work then would work now with your patch. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-18 Thread Stanislav Malyshev
x27;ll leave ZE2 discussions about function ovverides alone for now). If there was a bug that allowed to do it, it's a logical thing to fix it, not to drag it through versions as if it should be so. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.c

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-18 Thread Stanislav Malyshev
BM>> See bug 13616. I see. I think you should really use include_once - I just do not see the reason why not to do it and why patch the code instead. Could you explain? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicatefunction problems

2001-10-18 Thread Stanislav Malyshev
file or line number. In either case, I must have missed something, I wasn't following the list last days - how this should be used? I guess this is so that duplicate include of the same file would work? Why is it a good thing? If this was already discussed, please feel free to refer me t

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity

2001-10-01 Thread Stanislav Malyshev
ding other meaning to it would have very high WTF factor for the developer. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [PHP-DEV] curl compiler failed

2001-09-25 Thread Stanislav Malyshev
PHP version one it supports what you want. Also, imagine this is a stand-alone extension - oops. You need to check version anyway, since it is not linked to any specific PHP release. Won't it be logical to just check what you want to know instead of trying to shave with an axe? -- Stanislav Malysh

Re: [PHP-DEV] curl compiler failed

2001-09-24 Thread Stanislav Malyshev
ugh three screens of gcc wailings each time and recompile it again just to discover yet another constant missing. (it would be also pretty much pain to have latest CVSes of 10+ packages just to be able to compile CVS PHP, but I talked about this already). -- Stanislav Malyshev, Zend Products

Re: [PHP-DEV] curl compiler failed

2001-09-24 Thread Stanislav Malyshev
pre-release possibly-buggy version and get into constant upgrade circle or stay with checked installed release of curl, I would certainly choose the latter. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailin

[PHP-DEV] cURL does not compile

2001-09-24 Thread Stanislav Malyshev
warn that installed cURL is not enough anymore? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: [PHP-DEV] Zend engine bug

2001-09-06 Thread Stanislav Malyshev
GS>> echo (2147483649 & 2147483649); GS>> GS>> echo (2147483649 % 5); If you want numbers longer than long, you should use GMP anyway (or should know what you are doing). That unsigned hack, IIRC, was made with the single purpose of enabling working with IPs, etc. -- St

Re: [PHP-DEV] Zend engine bug

2001-09-06 Thread Stanislav Malyshev
ot handle 32-bit values in no way in the long. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP-DEV] Bug #12841: ++, -- operators does not conert the typeof variable.

2001-09-04 Thread Stanislav Malyshev
e you on it or should I commit this patch? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 Index: zend_operators.c === RCS file: /repository/Zend/zend_operators.c,v r

Re: [PHP-DEV] Re: base_convert() broken

2001-09-04 Thread Stanislav Malyshev
SB>> Works fine now, thanks! Could you merge this into 4_0_7, SB>> please? OK. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EM

Re: [PHP-DEV] Re: base_convert() broken

2001-09-03 Thread Stanislav Malyshev
S, I've added a patch that should fix it. Note: the functions like decbin still don't use the zval-ed functions, so they work only on longs as of now. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Maili

Re: [PHP-DEV] Re: base_convert() broken

2001-09-02 Thread Stanislav Malyshev
e changes over the code, since now it's hardcoded to return long and should return zval instead. I'll try to find some time this week. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <

Re: [PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-29 Thread Stanislav Malyshev
omputer WF>> does not have enough virtual memory. It is not always a wise idea to use MAX_SIZE kind of constants to allocate memory. Some of them can indeed be huge. You should fix you code to not use such constants for memory allocation. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROT

Re: [PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-29 Thread Stanislav Malyshev
WF>> Changing emalloc to return NULLs does not modify the program WF>> behaviour: you (probably) receive a SIGSEGV from the emalloc WF>> caller and the execution terminate. I can't see a big Making such assumptions is a good way to security holes and obscure bugs. -- S

Re: [PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-28 Thread Stanislav Malyshev
7;s a lot of code in PHP that is based on the assumption that emalloc never fails. If emalloc can return NULLs, all this code should be rewritten. I do not see any point in it and agree with Jason. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard/tests/serialize 001.phpt

2001-08-20 Thread Stanislav Malyshev
>> Not to be picky, but the smallest number is -2147483648... I didn't want to get the smallest one, I just wanted to add regression test for the bug I've discovered. For it it's not really important. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http:/

[PHP-DEV] Serious bug in the serializer's smart_str_print_long

2001-08-20 Thread Stanislav Malyshev
for big numbers, e.g., 2147483647 is printed as 0(/)(0*.// - which is not exactly what would be expected. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-m

Re: [PHP-DEV] Chora and CVSWeb problems

2001-08-19 Thread Stanislav Malyshev
to guess file type from the content. I hope somebody will invent some worm that uses this misfeature so that they would finally fix it... -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http:

[PHP-DEV] Re: [PHP-QA] Re: PHP-4.0.7RC1

2001-08-17 Thread Stanislav Malyshev
see encouraging of ini_set to be wrong. There should be a better way to do it. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

[PHP-DEV] Re: [PHP-QA] Re: PHP-4.0.7RC1

2001-08-17 Thread Stanislav Malyshev
or other holes. That's overbroad statement which is just wrong. I can show you a lot of scripts generating a real lot of notices, but having no security hole. Also, note that fixing notice in the above code in the obvious way - changing simple if() to isset and stuff - will shut up your prec

[PHP-DEV] Re: [PHP-QA] Re: PHP-4.0.7RC1

2001-08-17 Thread Stanislav Malyshev
thing and the kitchen://sink. Or make some switch, etc. - configuration option doesn't seem to me fit here, it's not per-server but per-script property if you want URL fopens or not. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665

Re: [PHP-DEV] Please..

2001-08-16 Thread Stanislav Malyshev
w.trolltech.com/products/download/freelicense/annotated.html Actually, CVS branch fits rather nicely here, if one was talking about CVS. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net

Re: [PHP-DEV] Latest CVS Problem

2001-08-09 Thread Stanislav Malyshev
open some days ago. Should be fixed in current CVS. I can't check it since I didn't update to current CVS yet, but generally the patch that looks like it should fix it was committed some days ago :) -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/

Re: [PHP-DEV] Re: The new $_GET/POST/ENV

2001-08-09 Thread Stanislav Malyshev
JG>> How about $_COULDCONTAINSHELLCODE? Well, also $_BIGSECURITYHOLE, $_HACKMEHARDER and $_0WNM3P13453P13453... Let your imagination go wild. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List

Re: [PHP-DEV] Re: gmp_init with a base argument

2001-08-05 Thread Stanislav Malyshev
LONG. I have made a bit more general patch, see CVS of math.c -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: [PHP-DEV] Re: gmp_init with a base argument

2001-08-02 Thread Stanislav Malyshev
the decbin() function should bail out if you pass it a TA>> value which contains more bits than PHP is able to handle. - Perhaps TA>> with a hint about using GMP for large numbers. I'd say "give a warning" istead of "bail out", but that's a good idea, gene

[PHP-DEV] PHP dies on URL fopen

2001-07-31 Thread Stanislav Malyshev
rameter is passed to php_sock_fgets_internal, both readbuf and readpos are 0, and SEARCHCR does p = READPTR(sock), which makes p be 0 too, and then uses *p != '\n' as a condition. Could anybody who know the code look at this and check what has gone wrong? -- Stanislav Malyshev, Zend Prod

[PHP-DEV] Re: midgard, was RE: [PHP-DEV] Legal solution: RE: [PHP-DEV] Non-GPL readline

2001-07-30 Thread Stanislav Malyshev
SL>> If (a) is true then I could GPL my copy of PHP and then use and SL>> GPL-non-LGPL code I liked You can not GPL PHP code - that's not your code, you don't hold a copyright on it. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/

Re: [PHP-DEV] extension not shutting down on each request

2001-07-25 Thread Stanislav Malyshev
ic loadable modules are loaded only on page GK>> requests, the request shutdown function is immediately followed GK>> by a call to the module shutdown handler (both deinitialization GK>> events happen at the same time)... " I guess this is related to modules loaded with dl(

RE: [PHP-DEV] Am I still subscribed

2001-07-24 Thread Stanislav Malyshev
dentification for every address. Use other relay checkers. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_variable_referen ce?

2001-07-19 Thread Stanislav Malyshev
result hash, use the same zval * in both places (don't forget the right refcount), it should work. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail

Re: [PHP-DEV] Strange printf

2001-07-18 Thread Stanislav Malyshev
s I ask, would it be OK to remove it or anyone here uses this feature and objects to it? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PR

[PHP-DEV] more printf oddity

2001-07-18 Thread Stanislav Malyshev
I have also noticed that all values in functions php_sprintf_append*int are converted to int, though they were originally long. I know that on some systems (like Linux ix86) int == long, but I'm not sure we should mix those two types. Does anybody has an explanation for this? -- Stan

  1   2   >