Re: [PHP-DEV] Re: Str enhancement, final run

2001-07-15 Thread André Langhorst
Yes, I think that for strings we should limit it to ranges like $foo{4..6}, and it would be neat if we for arrays could do $foo[4..6]. : might be just as well as ... It is more intuitive with .. I think, but I also kind of like having a single character. 4:6 is more of a soccer result than

[PHP-DEV] Str enhancement, final run

2001-07-10 Thread André Langhorst
As it were Andi's last words, is it the finial decison now just to implement $foo{x} to retrieve a single char? I'm asking this again, because it will be irreversible because it is not compatible with substr($foo,x) == $foo{x}!!! And as I still do not agree that substr($foo,4,6) should be

[PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread André Langhorst
I still think that people who need more complicated stuff can use substr(). But I know many don't agree with me so I prefer to wait a while with the discussion until we start advancing a bit in the Engine 2 nah, you know waiting turns developers into killer-machines ;) something more to

Re: [PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread André Langhorst
I think we should not allow this, use substr() if you need more functionality. Stick to very simple things with the {} stuff. ah hell, I think Andi not even thought at using substr() within {}. then my argumentation is something like void ;) these examples were meant perlish and will do harm

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread André Langhorst
are evil, who knows, but community is community and the behaviour of group members should be representative. andré ps. don't try to find a bias for one of both parties, I tried to remain as much neutral as possible. -- · André Langhorstt: +49 331 5811560 · · [EMAIL PROTECTED

Re: [PHP-DEV] mysql bug!!! :(

2001-04-28 Thread André Langhorst
-- · André Langhorstt: +49 331 5811560 · · [EMAIL PROTECTED] m: +49 173 9558736 · * PHP Quality Assurance http://qa.php.net * -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP-DEV] [PHP-QA] PHP-4.0.5-RC6

2001-04-04 Thread André Langhorst
... SKIP ... OO Bug Test (Bug #7515) (029.phpt) ... failed ... SKIP ... ignore it andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173 9558736 * PHP Quality Assurance http://qa.php.net * -- PHP Development Mailing

Re: [PHP-DEV] PHP 4.0 Bug #10100 Updated: php.php has wierd logo!!!!!! Have you been Hacked?

2001-04-01 Thread André Langhorst
breadsticks to be precise;-) some kind of hobby or mental stimulation? ;) andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173 9558736 * PHP Quality Assurance http://qa.php.net * -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] [Fwd: [PHP-QA] security patches against 4_0_5]

2001-03-28 Thread André Langhorst
Does anyone see a problem with this patch? -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173 9558736 * PHP Quality Assurance http://qa.php.net * Doessomeone see problems in merging the following patches in 4_0_5 They patch two serius problems in

[Fwd: [PHP-DEV] PHP 4.0 Bug #10000]

2001-03-26 Thread André Langhorst
bug pack time ;) andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173 9558736 * PHP Quality Assurance http://qa.php.net * snif, finally 1 bugs :( Derick Rethans - PHP:

[Fwd: [PHP-DEV] patch for bug #9272]

2001-03-26 Thread André Langhorst
FYI -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173 9558736 * PHP Quality Assurance http://qa.php.net * Attached patch solves bug 9272, warning issued on closing persistent odbc connection Cheerio, Marc. php_odbc.c.diff php_odbc.c.diff --

[PHP-DEV] dirname() bug, advice needed

2001-03-21 Thread André Langhorst
I would expect different results from dirname() on win32 and linux, I am pretty stuck with it, perhaps there is a RFC for this? should this function act differently on win32+linux what would make code unportable but working correctly? dirname() seems to be buggy, at least on win32, these are

[PHP-DEV] Re: [PHP-QA] 4.0.5RC1 crash...

2001-03-21 Thread André Langhorst
Dan Kalowsky wrote: Follow up on the earlier reporting of having memory issues to 4.0.5RC1. most probably not related, me too gets a crash running the standard tests on win32, I do not have exactly located the crash, I currently short on time andr -- Andr Langhorstt: +49 331

Re: [PHP-DEV] is_reference() ?

2001-03-21 Thread André Langhorst
Here it is in detail: http://www.php.net/bugs.php?id=8937 http://www.php.net/bugs.php?id=8972 The fact that people think having found a bug doesn't justify the introduction of a confusing, meaningless function IMHO after reading stas' reference docs you should have understood that unset()

Re: [PHP-DEV] is_reference() ?

2001-03-21 Thread André Langhorst
thus is_reference() never makes sense, you simply cannot spot the reference note: what *could* make sense for debugging is a function like are_identical($foo,$foo2) which compares if they both belong to the same zval_struct (you could even write this one is userland, by saving the original

[PHP-DEV] QA for mozilla

2001-03-19 Thread André Langhorst
Hi, Mozilla currently is in its QA phase for 0.8.1 and could benefit from the variety of systems and OSses php developers run, I guess. Anyone who already uses mozilla or wants to help an open-source project in a (close-to-)final stage, should check out one or more builds (daily snapshots)

Re: [PHP-DEV] Whither 4.0.5 RC2?

2001-03-19 Thread André Langhorst
Joey Smith wrote: Are we going to have a second RC? I was just about to ask the same, I did not thoroughly monitor, but I guess zeev did not commit the ob fixes yet andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173 9558736 * PHP Quality

Re: [PHP-DEV] Re: Memory corruption in Zend, should we allow this?

2001-03-15 Thread André Langhorst
This code is not related - it'll crash w/o it... So it's not a Zend bug, it's a bug in the new output buffering code. you're right perhaps, I just found it interesting that it (ob code) did not crash setting no strange reference and made assumptions memory to be corrupted andr -- Andr

Re: [PHP-DEV] Re: Memory corruption in Zend, should we allow this?

2001-03-15 Thread André Langhorst
Stanislav Malyshev wrote: AL $foobar-rfoo=$a; AL $foobar-r2foo=$foobar-rfoo; AL $foobar-rfoo=4; AL AL What are we assigning 4 here to? To all three of them, which are all reference-bound. hm, I got something very wrong - the var_dump() patch I am working on fooled me and displayed some

[PHP-DEV] Memory corruption in Zend, should we allow this?

2001-03-14 Thread André Langhorst
Hi have found an interesting behaviour, watch below... 1) $foobar-rfoo=$a; $foobar-r2foo=$foobar-rfoo; $foobar-rfoo=4; What are we assigning 4 here to? The first question is, should we allow this? I think no, references to non-existing variables should be disallowed (although Zend allows a

[PHP-DEV] Re: Chunked buffered output

2001-03-14 Thread André Langhorst
Joey Smith wrote: Can I get what you've been using to test chunked buffered output? sure you can, I just found out that chunked output *seems* to work for values from 2 to [?], it puts something out, I do not know how if it really was chunked... crash: ob_start('strlen',123); // crashes

Re: [PHP-DEV] Chunked output compression

2001-03-14 Thread André Langhorst
Read: You can now efficiently have your outgoing PHP/HTTP traffic compressed with good compression ratios without sacrificing memory. Comments extremely welcome - and if people can also test it and let me know whether it works for them, it'd be great. Taking your example...

Re: [PHP-DEV] Chunked output compression

2001-03-14 Thread André Langhorst
$x=str_repeat('t',6).'BR'; function strlens($string){ //return str_replace("\n",'br',$string); sleep(3); return $string; } ob_start('strlens',128); echo str_repeat($x,50); ob_end_flush(); in addition this code crashes ;) dealing with these amounts of crashes

[PHP-DEV] QA: chunked output buffering does not work on win32 + internal function output callbacks

2001-03-13 Thread André Langhorst
Hi Zeev, chunked output buffering seems to work on Linux. Unfortunately several things do not work (anymore) on win32 (tested CGI): 1) Using ob_start([internal_function]) eg. strlen(),nl2br()etc. yield in no-output, while using a simple user-land wrapper works. 2) this crashes: function

[PHP-DEV] php_ticks crash (+stack trace)

2001-03-11 Thread André Langhorst
Hi, maybe you have more success patching this one... andr ?php function tryy() {} register_tick_function('tryy'); declare (ticks=1) { ; } ? === Stack Dump of Process Apache.exe:2240; Thread 2080 php_tick_iterator( 0x01052EC8, 0x0138F9B0 ), php_ticks.c:64, 0xb675

Re: [PHP-DEV] PHP 4.0 Bug #8935 Updated: A reference to 'this' can not be used in the constructor method for a class.

2001-03-09 Thread André Langhorst
Jani Taskinen wrote: Uhm..I have always closed the duplicates after the original (which they refer to) was closed. Any opinions about this? As the current bug system doesn't have any support for 'multiple' closing, I think it's better to close bugs after they are fixed, be it a duplicate or

Re: [PHP-DEV] Re: static call bugs?

2001-03-09 Thread André Langhorst
There are no static functions in PHP. This syntax is used to call a method of the parent. It can be used to call other methods and thus have parent::foo(); If you remember, it has been implemented *after* [classname]::[functionname]() ... the wrong $this but I wouldn't document it.

Re: [PHP-DEV] static call bugs?

2001-03-09 Thread André Langhorst
Is that bad? Could come in useful, especially when calling parent classes. wow, what a quick response :) could you elaborate (I guess you do not have parent:: in your mind writing from parent classes)? andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m:

Re: [PHP-DEV] static call bugs?

2001-03-09 Thread André Langhorst
I don't understand the question. Can you rephrase? I simply wanted to know what you had in mind, where could it be useful... andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173 9558736 * PHP Quality Assurance http://qa.php.net * -- PHP Development

Re: [PHP-DEV] Re: static call bugs?

2001-03-09 Thread André Langhorst
I still don't understand what the problem is? What should be documented is the right way to use these calls. problem 1 : how do I call the "::" operator and how do I call what it does if it is no static call. problem 2 : the "bug" with incorrect $this I mentioned, it is at least

Re: [PHP-DEV] Re: static call bugs?

2001-03-09 Thread André Langhorst
Right, and they weren't static functions either (this feature was designed for calling parent/grandparent/etc methods). The way it's designed is completely intentional. ok. this makes sense now :) andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173

[PHP-DEV] New Site Design

2001-03-08 Thread André Langhorst
A more clear design IMHO, quite fine BUT something still is very crappy, the "news" page itself. Our News are somewhat unordered, I think it should be divided up into some parts that always stay the same (eg. so, how much does it cost, usage stats) and into "release news (eg. php4.0.5

Re: [PHP-DEV] Re: What have you done to your website!!! ???

2001-03-08 Thread André Langhorst
Can you too look again? At least look at http://ca.php.net (which I can update instantly). minor issues: 1) with mozilla I get horizontal scrollbar with 800x600, it should be no problem to eleminate this one 2) usage stats should be in the navigation (downloads | documentation | support

[PHP-DEV] popen() spans 100 processes

2001-03-08 Thread André Langhorst
Encountered 100 spanned cmd.exe + php.exe using win32 CGI, this does not happen using apachemod, my task manager was open by accident, otherwise I would not have noticed this... ?php popen('php -v','r'); ? andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m:

[PHP-DEV] 4.0.5 Release Candidate

2001-03-07 Thread André Langhorst
Is there any reason to retard the 4.0.5 Release Candidate 1 ? We should branch anytime soon. Are there any outstanding commits (zeev mentioned zend sos guys want to commit sth)? If not we could start this weekend, maybe at the beginning of the next week...? Please shout if you still have open

[PHP-DEV] zend_ticks crash and question

2001-03-07 Thread André Langhorst
a) This code crashes with current releases on phpapache+win32 (not cgi), linux untested... ?php function test($foo) {} register_tick_function('test',$foo); declare(ticks=3) { ;; } ? b) I think I am still getting something wrong... ticks are _not_ for simulating "background processing"

Re: [PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-06 Thread André Langhorst
Overall I think this is very good. I have a few problems with it (all prefixed with a large IMHO :)... agreeing in anything sterling mentioned, except and in addition this: GETTEXT bindtextdomain dcgettext dgettext gettext textdomain is there any reason not to change them? IISFUNC

Re: [PHP-DEV] No same username

2001-02-25 Thread André Langhorst
Brandon Feldhahn wrote: how do i make somthing with my database that knows it the username entered is already a name in use? please do not cross-post!!! it is sufficient to post it to _one_ mailing list (php-general) thanks -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED]

[PHP-DEV] xml functions, Call-time pass-by-reference

2001-02-22 Thread André Langhorst
Just noticed that (PEAR actsdocumentation tells) as if set_object has to be called with pass-by-reference for the 2nd parameter, either documentaiton+PEAR or php-source is out of date...? andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173 9558736 * PHP

Re: [PHP-DEV] php_apache.c virtual() enlightment needed

2001-02-21 Thread André Langhorst
That's what I recalled too. I don't think that this can work today, so if this check got lost along the way, it should probably be restored. hehe, the PHP Mime type check is still there, but why do we shut down all buffers? what did it intentionally fix? I still do not get it... andr --

Re: [PHP-DEV] please patch for dbmaker

2001-02-21 Thread André Langhorst
Jeffrey Lin wrote: Hey, there: We just added some patch to php CVS specifically for our database driver - DBMaker. Please file a bug (http://bugs.php.net) and copy your patch into it to ensure that it does not get overlooked. Thanks. -- Andr Langhorstt: +49 331 5811560

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread André Langhorst
How about using array_keys($array, $value) to find the key? obviously it is cheaper to let in_array return it and it is more php 4 stylish, we have booleans, why not use them? if ($key=in_array()) do_someting_with_key($key); is less expensive than if (in_array()) {

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread André Langhorst
I would welcome the win32 distributions packed with bzip2 as well. This algorithm is superior to anything else I know (well, at least in compression ratio), and is available to win32 users as well. Not only as a commandline tool, but as a plugin for the very popular wincmd32 too.

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread André Langhorst
Could be done. The way I'd do it is have one php_in_array() C function that gets parameters passed through from in_array() and array_find() as well as a flag indicating whether to just return true/false or the actual key. what about not touching the internal pointer? there in_array would

[PHP-DEV] php_apache.c virtual() enlightment needed

2001-02-19 Thread André Langhorst
I tried (and failed) to figure out why virtual() closes any output buffers, I think this is not very gentle, could anybody enlighten me? andr -- Andr Langhorstt: +49 331 5811560 [EMAIL PROTECTED] m: +49 173 9558736 * PHP Quality Assurance http://qa.php.net * ID: 8536

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread André Langhorst
I want to fix chunked output buffering for 4.0.5 (it doesn't work right at all in 4.0.4). I think it'll take me about 10 days (I'll probably not have time to work on it this week). glad to hear this, I think this is *definitely* worth waiting... :) andr -- Andr Langhorstt: +49

Re: [PHP-DEV] Changing implementation of get_meta_tags for 4.0.5

2001-02-13 Thread André Langhorst
This will break backwards compatibility, and I am not really in favor of adding a new param to get_meta_tags in order to include this new functionality, that will just obfuscate the code more than it needs to be. I think we should just change one implementation, to another, better one. I

Re: [PHP-DEV] a debugger for php

2001-02-07 Thread André Langhorst
Harald Radi wrote: http://dd.cron.ru/dbg/ great ! what about modifiying the php license to force all people to tell us about any interesting project ;) andr -- Andr Langhorstt: +49 571 3201801 [EMAIL PROTECTED]m: +49 173 9558736 PHP Quality Assurance http://qa.php.net

[PHP-DEV] Re: Dear Friends Future Millionaire:

2001-02-06 Thread André Langhorst
Couldn't some just go and kill those spammers? Is it possible to set rules (similar to those my mozilla takes) for the list? class a candidate would be 'SEEN'+'NATIONAL'+'TV' and the like andr Original Message Subject: [PHP-PEAR] Dear Friends Future Millionaire: Date: Tue,

Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread André Langhorst
why didn't you make it a Feature Request then? But I suppose you tried, and wasn't be able to do that. Jani, is this a bug in the bugsystem? I did! it was just put into a rhetorical question ;) andr -- Andr Langhorstt: +49 571 3201801 [EMAIL PROTECTED]m: +49 173 9558736 PHP

Re: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread André Langhorst
Perhaps, in order to maintain compatibility, we should re-document is_set, create the documentation for is_null, and look into creating a new function that will determine if something has "ever been inside the namespace", regardless of its current value, or absence of value. we should just

[PHP-DEV] Fwd: mysql compression

2001-01-20 Thread André Langhorst
://marc.theaimsgroup.com/?l=php-devm=97370854024082w=2) with mysql_options()? regards, andré -- · André Langhorst · t: +49 571 3201801 · · [EMAIL PROTECTED] · m: +49 173 9558736 · · PHP Quality Assurance · http://qa.php.net · -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail

[PHP-DEV] odbc

2001-01-17 Thread André Langhorst
Hi, thx to Andreas (module owner), he sent the URLs for this stuff: general odbc http://msdn.microsoft.com/library/default.asp?PP=/library/toc/psdk/data/data0-0-3-1-3-1.xmltocPath=data0-0-3-1-3-1URL=/library/psdk/dasdk/odch8yed.htm odbc_statistics()

Re: [PHP-DEV] odbc_statistics

2001-01-16 Thread André Langhorst
[EMAIL PROTECTED] wrote: This looks like it'd do what I need it to, but the docs are rather sketchy on the parameters. Can anyone clarify the params? Usage seems pretty straightforward. I remember having used this some day: to retrieve

Re: [PHP-DEV] odbc_statistics

2001-01-16 Thread André Langhorst
I don't see an odbc_columns() method in PHP...hmm... It is s in my current CVS (source) and it was there ca. 4-5 months ago and it is in my documentation... that should be enough evidence to convince a tribunal I guess, although I did not actually prove it by try :) andr -- Andr