Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Ilia A.
latest Apache 2, 2.0.44. I think it would be in everyone's best interest if apache2handler was introduced in 4.3.X series probably replace the current apache2filter all together. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Fix for wordwrap()

2003-03-06 Thread Ilia A.
ww www Seems like the expected behavior to me, you are hardcoding the 'break' as ' ', meaning that no other character is considered a space hence, \n are being treated as part of the string rather then a string separator. Ilia -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] [PATCH] imagesavealpha()

2003-03-05 Thread Ilia A.
as it fails like pre-2.0.11. I'll try and look at what might have been missed in the sync when I get some more time. For now, I've added it as a bug, http://bugs.php.net/22544 . The bundled gd in php 5.0 has been sycnched with gd 2.0.11, this was not done for version 4.3.2. Ilia -- PHP

Re: [PHP-DEV] #php.bugs invite only?

2003-02-28 Thread Ilia A.
On February 28, 2003 11:50 am, George Schlossnagle wrote: #php.bugs seems to be invite only now. How do I go about getting myself invited? It would appear someone had accidentaly set the channel to invite only, it is fixed now. Ilia -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/tokenizer tokenizer.c

2003-02-25 Thread Ilia A.
is HEAD. I have no idea what php4 is, except not-working. So you should checkout php5, not php4. PHP5 - co php5 PHP4 - co -rPHP_4_3 php4 Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] file_put_contents() / file_add_contents() ?

2003-02-21 Thread Ilia A.
: file_put_contents(file.txt, $foo, $bar, $baz); I do see the advantage of allowing an array to be passed to allow the function to work as a reverse version of file(), however I am not certain about the usefulness of allowing passage of unlimited number of variables containing the strings to write. Ilia

Re: [PHP-DEV] file_put_contents() / file_add_contents() ?

2003-02-21 Thread Ilia A.
faster since the wrapper is in C rather then in PHP. Given that we already have file_get_contents(), a wrapper to do the opposite only makes sense to have. The previous discussion on the usability and the need for such a function seems gathered a fair bit of positive feedback as well. Ilia -- PHP

Re: [PHP-DEV] file_put_contents() / file_add_contents() ?

2003-02-21 Thread Ilia A.
a function with opposing functionality. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] file_put_contents() / file_add_contents() ?

2003-02-20 Thread Ilia A.
functionality at http://bb.prohost.org/file2.txt. If there are no objections I'll commit this to the CVS tommorow. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CLI long options

2003-02-15 Thread Ilia A.
from me, although I'd prefer is there was left out from PHP 4.3.X and was introduced as a 5.0 feature only. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-10 Thread Ilia A.
On February 10, 2003 03:34 am, you wrote: On Sun, Feb 09, 2003 at 08:05:14PM -, Ilia Alshanetsky wrote : iliaa Sun Feb 9 15:05:14 2003 EDT Modified files: /php4/ext/standard file.c Log: Added feature request #14097 (option allowing file() command

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard file.c

2003-02-10 Thread Ilia A.
Attached is the proposed solution. Ilia Index: ext/standard/file.c === RCS file: /repository/php4/ext/standard/file.c,v retrieving revision 1.299 diff -u -3 -p -r1.299 file.c --- ext/standard/file.c 9 Feb 2003 20:43:05 -

Re: [PHP-DEV] [PATCH] Apache 2.0 Handler module

2003-02-10 Thread Ilia A.
include as many non-php files as you want without encountering this problem. Ilia -- 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 file.c

2003-02-10 Thread Ilia A.
Here is the final revision of the patch. Ilia Index: ext/standard/file.c === RCS file: /repository/php4/ext/standard/file.c,v retrieving revision 1.300 diff -u -3 -p -r1.300 file.c --- ext/standard/file.c 9 Feb 2003 23:11:23 -

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread Ilia A.
with a lot of disparate time zones into a single UTC version, but I thought it might merit further dissemination. Anyone interested? Certainly interesting functionality, however I think it would be better suited as a PECL extension or a PEAR class rather then being part of PHP's core. Ilia -- PHP

Re: [PHP-DEV] Feature Request #5919 case-insensitive version of str_replace()

2003-01-30 Thread Ilia A.
() test sources that I've used. Ilia #include string.h #include stdio.h #define NED Dynamic_DBnested.sql #define STR cvs: pear /Tree/docs Dynamic_DBnested.php Dynamic_DBnested.sql Memory_DBnested.php Memory_DBsimple.php Memory_XML.php config.xml /Tree/docs/TreeEditor config.xml index.php

Re: [PHP-DEV] Re: str_ireplace vs. stri_replace

2003-01-30 Thread Ilia A.
have implemented them selves and we could end up breaking their code by introducing it. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: str_ireplace vs. stri_replace

2003-01-30 Thread Ilia A.
is that after they or their ISPs upgrade to new PHP their scripts will stop working. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Feature Request #5919 case-insensitive version of str_replace()

2003-01-29 Thread Ilia A.
it case insensitive. I have not benchmarked the stri_replace code but I imagine it would be in the same ballpark, meaning that we are adding a fairly large chunk of code for performance benefit of a 1 microsecond (1 millionth of a second) per instance. Ilia -- PHP Development Mailing List http

Re: [PHP-DEV] Feature Request #5919 case-insensitive version of str_replace()

2003-01-29 Thread Ilia A.
is most common usage of the function. Ilia ?php $input[] = array('hfdhffndfafjdfjasfjas;fjdas;fjdsafjas;fjas', 'das', '1234'); $input[] = array('Used the form above or our advanced search page to make sure nobody has reported the bug already.', 'or', 'OR'); $input

Re: [PHP-DEV] Error from last cvs (php4)

2003-01-27 Thread Ilia A.
The error occurs because you are trying to compile HEAD (which is php5, based on ZE2) with ZE1, hence certain defined constants are not avaliable. To checkout head use 'php5' tag, that will get you latest PHP sources + ZE2. Ilia -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in /main php_ini.c php_scandir.c php_scandir.h /win32 readdir.c readdir.h

2003-01-27 Thread Ilia A.
On January 27, 2003 04:12 pm, Sebastian Bergmann wrote: This broke the Win32 build. The attached patch works for me, but I'd like it reviewed before I commit. The header patch looks good, please commit it. Thanks. Ilia -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] Adding to the bundled GDlib

2003-01-25 Thread Ilia A.
future contributions to PHP's GD you can request a CVS account. Ilia -- 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/gd gd.c /ext/gd/libgd gd.c gd.h gd_gd2.c gd_jpeg.c

2003-01-17 Thread Ilia A.
this commit into the 4.3.1 release. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: #21659 [Com]: sprintf

2003-01-15 Thread Ilia A.
and is therefor bogus. By marking such a bug report NotaBug may lead to confusion. IMO bogus is a fairly accurate representation of what the 'bogus' bug reports are, it is no more or less friendly then other bug status and is only a problem (less 'friendly') if you choose to make it such. Ilia

Re: [PHP-DEV] Re: #21659 [Com]: sprintf

2003-01-15 Thread Ilia A.
not for the purpose of making users who don't do the necessary research before posting their bug reports feel better about themselves. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: #21659 [Com]: sprintf

2003-01-15 Thread Ilia A.
that was proposed, in my opinion, just as 'unfriendly' as bogus. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: php4 /ext/standard file.c formatted_print.c

2003-01-11 Thread Ilia A.
I imagine that strings greater then 2 billion characters are fairly rare, so I think it would be a good idea to revert the change as per Sascha's suggestion. This is a fairly old limitation and I think no one will miss this feature. Ilia -- PHP Development Mailing List http://www.php.net

[PHP-DEV] string functions

2003-01-05 Thread Ilia A.
point people will expect small behavioral changes. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Patch for #21309 - memory + php_error_docref.

2003-01-03 Thread Ilia A.
I've already sent Stefan a patch for this problems as well as other issues in the ftp extension. Ilia On January 2, 2003 08:29 pm, [EMAIL PROTECTED] wrote: Hello, Even if this bug was assigned to sesser, this is a patch that fix the memory managment and that removes perror

Re: [PHP-DEV] UNIX file command

2003-01-03 Thread Ilia A.
getimagesize() that will fetch information about number of commonly used file formats. There is also a mime_magic extension that uses the same database as the one used by UNIX file command to identify a variety of files. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe

[PHP-DEV] Re: [PHP-CVS] Merging into PHP_4_3

2002-12-30 Thread Ilia A.
On December 30, 2002 02:04 pm, Andrei Zmievski wrote: I concur. Please remember to update NEWS on the branch. Could you please add a section for the branch (4.3.1?) in the news file. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] Merging into PHP_4_3

2002-12-30 Thread Ilia A.
On December 30, 2002 02:17 pm, Edin Kadribasic wrote: Could you please add a section for the branch (4.3.1?) in the news file. Isn't it already there? There is one for 4.4 (possibly to be renamed 5), but I don't see a 4.3.X section. Ilia -- PHP Development Mailing List http://www.php.net

[PHP-DEV] Proposed fix for bug #21149

2002-12-23 Thread Ilia A.
the GET/POST/COOKIES array. The proposed patch makes php_register_variable_ex aware that [ may not be terminated and adds handling for such conditions. The end result is that the code no longer leaks memory can support variable passed via GET/POST/COOKIES with '[' in their names. Ilia P.S

Re: [PHP-DEV] Re: #21060 [Opn-Bgs]: range() gives warning and returns false when low == high

2002-12-21 Thread Ilia A.
as strings and of course the handling for the high == low condition. Ilia On December 20, 2002 10:49 pm, Chandrashekhar Bhosle wrote: On Fri, 20 Dec 2002 09:44:49 -0500 Ilia A. [EMAIL PROTECTED] wrote: What would be an output then, array() ? range(2,4) gives array(2,3,4); range(2,3

[PHP-DEV] Re: #21060 [Opn-Bgs]: range() gives warning and returns false when low == high

2002-12-20 Thread Ilia A.
be an output then, array() ? Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: #21060 [Opn-Bgs]: range() gives warning and returns false when low == high

2002-12-20 Thread Ilia A.
On December 20, 2002 09:37 am, you wrote: On Fri, 20 Dec 2002, Ilia A. wrote: On December 20, 2002 06:35 am, you wrote: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual

Re: [PHP-DEV] Re: #20972 [Opn-Csd]: make fails during gd.c

2002-12-12 Thread Ilia A.
. The problem with free/gd_free is likely due to you having 2 sets of the GD library on your computer. This confuses the check, because the headers do not correspond with the library itself. Ilia On December 12, 2002 04:37 pm, electroteque wrote: i'm sorry this is not fixed , i have RC03 In file

Re: [PHP-DEV] Re: #20972 [Opn-Csd]: make fails during gd.c

2002-12-12 Thread Ilia A.
When I say CV,S I am referring to the latest version of the PHP_4_3 tree, you can download snapshots of that tree (generated every 2 hours) from http://snaps.php.net Ilia On December 12, 2002 04:55 pm, electroteque wrote: sure i do but i have prefixed where gd is so it shouldnt be confused

Re: [PHP-DEV] Re: #20972 [Opn-Csd]: make fails during gd.c

2002-12-12 Thread Ilia A.
On December 12, 2002 06:13 pm, Mike Robinson wrote: Ilia A. wrote: This is a different bug (xpm) caused by a bug in the external GD library, this particular bug has been solved in the CVS. Unless you've patched your GD with gif write support you have nothing to gain from not using

Re: [PHP-DEV] register_shutdown_function = register_offline_function

2002-12-05 Thread Ilia A.
Known issue, the original patch for this problem had to be reveted since it broke the handling of mulit-line CVS fields that are quoted. I am now working on a more permanent fix. Ilia On December 5, 2002 11:39 am, Brian Moon wrote: Ok, I reopened the bug. It fails with latest CVS. [root

Re: [PHP-DEV] New SNMP function names

2002-12-04 Thread Ilia A.
Consistency is always good and adding aliases for newly added functions seems like a recipe for bloat confusion. +1 on the proposed changes. Ilia On December 4, 2002 08:49 am, Derick Rethans wrote: Hello, while browsing the CVS I found that the following functions were added to the CVS

Re: [PHP-DEV] Bug #20308 (Feature Request)

2002-11-29 Thread Ilia A.
, if you REALLY think this is useful functionality we are better off adding a parse_email() function, who's job would be to break email addresses into parts. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Bug #20308 (Feature Request)

2002-11-29 Thread Ilia A.
or something similar, there is no need to pollute php_parse_url() with hacks for non-intended functionality. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-11-28 Thread Ilia A.
? Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Bug #20308 (Feature Request)

2002-11-27 Thread Ilia A.
I am not so sure that adding special cases for things like mailto: and so on is a good idea. The code works identically to how it worked in 4.2.3 and prior. Ilia On November 27, 2002 04:19 pm, Sara Pollita Golemon wrote: While waiting for opinions on Bug#20460 I went ahead and addressed

Re: [PHP-DEV] Bug #20308 (Feature Request)

2002-11-27 Thread Ilia A.
then? Yup, -1 from me. I am not so sure that adding special cases for things like mailto: and so on is a good idea. The code works identically to how it worked in 4.2.3 and prior. Ilia On November 27, 2002 04:19 pm, Sara Pollita Golemon wrote: While waiting for opinions on Bug

Re: [PHP-DEV] Bug #20308 (Feature Request)

2002-11-27 Thread Ilia A.
of valid URLs, take a look at the very extensive test for parse_url() function located here: ext/standard/tests/strings/url_t.phpt. Even the regular expression described in RFC 2396 does not recognize mailto: any differently the our very own parse_url(). Ilia -Sterling I am not so sure

Re: [PHP-DEV] Redirect on Error (not localisation)

2002-11-26 Thread Ilia A.
it to the CVS. Ilia John -Original Message- From: Ivan Ristic [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 2:50 PM To: [EMAIL PROTECTED] Cc: 'James Aylett'; 'PHP Developers Mailing List' Subject: [PHP-DEV] Redirect on Error (not localisation) Anyway... So what

Re: [PHP-DEV] Build of bundled GD broken on Win32

2002-11-25 Thread Ilia A.
Fixed. On November 25, 2002 06:06 am, Sebastian Bergmann wrote: gd.obj: error LNK2001: Unresolved external symbol: _gdImageCreateFromGd2Part gd.obj: error LNK2001: Unresolved external symbol: _gdImageCreateFromGd2PartCtx gd.obj: error LNK2001: Unresolved external symbol:

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

2002-11-25 Thread Ilia A.
version of the error reporting mechanism proposed by Stig Bakken). Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-11-25 Thread Ilia A.
locales. With such low translation level you are only going to introduce confusion, which is the exact opposite of what you are trying to do. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-11-25 Thread Ilia A.
://www.tpc.org/tpcc/results/tpcc_perf_results.asp) Microsoft SQL Server 2000 is faster and has lower cost per transaction. So claims about greatness of Oracle and greatly exaggerated. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-11-25 Thread Ilia A.
On November 25, 2002 08:24 pm, Maxim Maletsky wrote: On Mon, 25 Nov 2002 20:14:56 -0500 Ilia A. [EMAIL PROTECTED] wrote: On November 25, 2002 07:57 pm, Maxim Maletsky wrote: On Mon, 25 Nov 2002 15:21:06 -0500 Sterling Hughes [EMAIL PROTECTED] wrote: Educate users to speak the base

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

2002-11-25 Thread Ilia A.
that Oracle's status as most powerful database is in the eye of the beholder. Ilia On Monday, November 25, 2002, at 08:24 PM, Ilia A. wrote: On November 25, 2002 08:15 pm, Maxim Maletsky wrote: On Tue, 26 Nov 2002 00:30:55 +0200 (EET) Jani Taskinen [EMAIL PROTECTED] wrote: Just

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

2002-11-25 Thread Ilia A.
equivalent, like Perl? Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-11-25 Thread Ilia A.
developers are volunteers, making their life difficult certainly is not in the user's best interest. Again, having error codes gives and solves more than adds problems. [snip] I don't agree with you, Ilia. Errors are string, even a part of the documentation. They need to be also translated

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

2002-11-25 Thread Ilia A.
then decrease when compared to the actual source code bugs. By assigning more work to same number of people will lead to even less work being accomplished, so just from a logistical stand point i18n errors are not a good idea. Ilia P.S. Most if not all cvs only functions will be a part of 4.3.0

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

2002-11-25 Thread Ilia A.
On November 25, 2002 09:22 pm, Maxim Maletsky wrote: On Mon, 25 Nov 2002 21:11:37 -0500 Ilia A. [EMAIL PROTECTED] wrote: On November 25, 2002 08:53 pm, Maxim Maletsky wrote: Well, in this case you would just add locales like you do with dates, for example. Meaning that you

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

2002-11-25 Thread Ilia A.
increase will count. This will also make PHP shell scripting impractical due to the high start costs of a PHP binary. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread Ilia A.
on... meaning that there is already more for the developer to do. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-11-25 Thread Ilia A.
for localizations, is not thread safe, so we are looking at having to design a error localization mechanism with a thread safe disk database system. On Monday, November 25, 2002, at 10:27 PM, Ilia A. wrote: On November 25, 2002 09:59 pm, George Schlossnagle wrote: By the way, could you

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

2002-11-25 Thread Ilia A.
On November 25, 2002 10:59 pm, Sascha Schumann wrote: On Mon, 25 Nov 2002, Ilia A. wrote: On November 25, 2002 08:29 pm, Maxim Maletsky wrote: Who cares? I am an Oracle fun, but this is still not my point. My point is that oracle, as arguable as can be, thinks about marketing its

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

2002-11-25 Thread Ilia A.
On November 25, 2002 10:57 pm, George Schlossnagle wrote: On Monday, November 25, 2002, at 10:43 PM, Ilia A. wrote: On November 25, 2002 10:30 pm, George Schlossnagle wrote: There is no proposed patch to affect all these changes. There are fine ways to print errors that don't

Re: [PHP-DEV] GD segfault in 4.3.0RC1

2002-11-18 Thread Ilia A.
enough time to fully test this change in gd before 4.3.0 is out, so this will need to wait till the next release. We've used gd for many years without auditing it's memory, I am sure another half a year or so won't too much difference. Ilia -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] mime_magic segfaults

2002-11-15 Thread Ilia A.
Why was rb changed to rt? Ilia On November 15, 2002 06:58 am, Moriyoshi Koizumi wrote: Thanks, it works. Attacthed is a slightly modified version of Ilia's patch in consideration of win32 build. If there are no objections, I'll commit it. Moriyoshi Ilia A. [EMAIL PROTECTED] wrote

Re: [PHP-DEV] mime_magic segfaults

2002-11-14 Thread Ilia A.
Could you try the attached patch and see if it fixes the problem. Ilia On November 14, 2002 03:10 pm, Moriyoshi Koizumi wrote: Hi, I found a bug in mime_magic. If the module fails to read the magic file specified by mime_magic.magicfile during the module initialisation, it tries to put

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-13 Thread Ilia A.
lets enable part A because it is stable and disable part B and C, just does not work. It is either all or nothing. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-12 Thread Ilia A.
trace: #0 0x001528f8 in shutdown_memory_manager (silent=1, clean_cache=1) at php4/Zend/zend_alloc.c:461 #1 0x0011d944 in php_module_shutdown () at php4/main/main.c:1219 #2 0x0018d8d0 in main (argc=39, argv=0xffbffa74) at php4/sapi/cli/php_cli.c:761 Ilia -- PHP Development Mailing List http

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-12 Thread Ilia A.
was not found on the system. The function mail() on unix systems appears to be dependant on sendmail avaliablity or atleast something that would cause the HAVE_SENDMAIL flag to be set. Ilia Moriyoshi Ilia A. [EMAIL PROTECTED] wrote: On November 7, 2002 10:04 am, Andrei Zmievski wrote

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-12 Thread Ilia A.
of changes in the CVS to the extension, a lot of new functionality was added to the extension recently and has not been tested outside the pre process. Maybe by next PHP release is made, it will be better tested and more stable. Ilia -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-12 Thread Ilia A.
I've just tried the latest CVS, it still crashes, the backtrace is same as before. Ilia On November 12, 2002 05:21 pm, Moriyoshi Koizumi wrote: Oops, why didn't I notice such a trivial thing before asking a braindead question... Anyway I bet the problem should be gone by my patch

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-12 Thread Ilia A.
On November 12, 2002 09:42 pm, Marcus Börger wrote: At 23:56 12.11.2002, Ilia A. wrote: Since I've gotten involved in this conversation would like to add my opinion to the tally. I too believe that at least at this point, the mbstring extension should not be enabled by default

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-12 Thread Ilia A.
, as it is apparently a double-free bug. I'll look into the problem in more detail tommorow. Ilia Moriyoshi Ilia A. [EMAIL PROTECTED] wrote: I've just tried the latest CVS, it still crashes, the backtrace is same as before. Ilia On November 12, 2002 05:21 pm, Moriyoshi Koizumi wrote: Oops, why

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] PHP Snaps

2002-11-11 Thread Ilia A.
On November 11, 2002 05:07 pm, James Cox wrote: I can certainly set this up. any preference for timeformat? (bearing in mind we use unix date) date -R | sed -e 's/ /_/g' Would be the best format IMHO. Ilia -- james Is it possible to increase build time from 4 hours to 2 hours

Re: [PHP-DEV] PHP Snaps

2002-11-11 Thread Ilia A.
On November 11, 2002 05:16 pm, Edin Kadribasic wrote: On Monday 11 November 2002 23:14, Ilia A. wrote: On November 11, 2002 05:07 pm, James Cox wrote: I can certainly set this up. any preference for timeformat? (bearing in mind we use unix date) date -R | sed -e 's/ /_/g' Would

Re: [PHP-DEV] PHP Snaps

2002-11-11 Thread Ilia A.
the files. In this case it would be trivial to make the script sort the files by their creation date. Ilia On November 11, 2002 05:23 pm, Edin Kadribasic wrote: On Monday 11 November 2002 23:20, Ilia A. wrote: Nice format but it doesn't sort well in directory listings :) True, but we only

[PHP-DEV] Configuration Patches

2002-11-09 Thread Ilia A.
installer on Sun Os, does not support the -P flag needed by PHP and even though it passes existing configure checks, it fails when it comes to generating the .c files. Are there any objection to the integration of those 2 patches? Ilia Index: zend.h

Re: [PHP-DEV] Please help document headers_sent()

2002-11-06 Thread Ilia A.
, it works: The crash has been fixed in the CVS. PHP CLI cannot send any headers because it is not ment for a webserver enviroment. While CGI, is mostly geared towards web servers and by default will try to send headers. Ilia ?php print foo\n; headers_sent($file, $line); print $file

Re: [PHP-DEV] Win32 snaps ext/xslt

2002-11-05 Thread Ilia A.
It appears that the Sablotron needs to be upgraded as well, since xstl cannot be compiled due to 2 missing flags ('SAB_DISABLE_STRIPPING','SAB_IGNORE_DOC_NOT_FOUND'), which I am guessing are only defined in the newer library. Ilia On November 5, 2002 08:01 am, Edin Kadribasic wrote: Any

Re: [PHP-DEV] bug #19943

2002-11-05 Thread Ilia A.
creates a ZVAL that contains a 2 byte string value, number + \0. When $ragged[$count]['idx'] = 'ragged '.$count; is executed, the original zval containing a string is converted to an array. During this conversion the string value is not freed and the result is a memory leak. Ilia On November 5

Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-05 Thread Ilia A.
= array(); $ragged[0] = $z; $ragged[0][0] = array(1); var_dump($ragged); ? Ilia P.S. After your patch is applied the test script you've posted, results in the following error: --- Zend/zend_execute.c(376) : Block 0x084EC268 status: Beginning: Cached

Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-05 Thread Ilia A.
The new appears to work correctly and previously mentioned problem no longer occures. I've also ran the test suit after applying the patch and none of the tests have been adversly affected, so it does not appear to break any old functionality. Ilia On November 5, 2002 09:17 pm, Moriyoshi

Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-05 Thread Ilia A.
On November 5, 2002 09:44 pm, Moriyoshi Koizumi wrote: Ilia, thank you for double-checking. Since I have no access to Zend module, I'm waiting for that to be committed by someone for now... Does it need more review? It would probably be a good idea if more developers review this patch before

[PHP-DEV] Re: [PATCH] run-tests.php

2002-11-01 Thread Ilia A.
(not_reflecting_employers_views.txt); ? Looks fine to me, +1. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PATCH] run-tests.php

2002-11-01 Thread Ilia A.
) and made it a class (testHarness) from which to base the web-based testing from... What made you decide to go for the OO model of the run-tests script, there does not seem to be any advantage in adding this overhead (imho)? Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe

Re: [PHP-DEV] Re: [PATCH] run-tests.php

2002-11-01 Thread Ilia A.
of the testing 'engine', we do not need to add the OO layer of obfuscation. Now, I am not a big fan of OO, so my opinion on the matter maybe somewhat skewed in that regard, non Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] ereg to pcre conversion

2002-10-31 Thread Ilia A.
. This cleanup would mean we'd only need to maintain one set of regular expression code, which as far as code goes is pretty complex as well as give speed-up for people still using ereg. Perhaps, at some future point this would allow us to drop the ereg_* functions all together. Ilia Index

Re: [PHP-DEV] [PATCH] ereg to pcre conversion

2002-10-31 Thread Ilia A.
. Ilia -adam On Thu, 31 Oct 2002, Ilia A. wrote: Currently PHP ships with two regular expression libraries that are both installed by default, PCRE regex. The regex library that is responsible for ereg_* functions is fairly old and offers a very limited functionality compared

Re: [PHP-DEV] [PATCH] ereg to pcre conversion

2002-10-31 Thread Ilia A.
?s=threadid=71134 ) with some sample benchmark scripts. That test was flawed, preg_* style regular expressions became the leaders once the regex was fixed. After then according to people's reports it was 4+ times faster then eregi. Ilia Ori - Original Message - From: Ilia A. [EMAIL

[PHP-DEV] safe_mode_include_dir option

2002-10-30 Thread Ilia A.
to 'unlock' a directory while in safe_mode, perhaps we should allow other filesystem functions to operate on files/directories specified inside safe_mode_include_dir ? Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RFC: run-tests.php errors/warnings

2002-10-29 Thread Ilia A.
messages then I would prefer using display_errors=1 instead of log_errors=1. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] I hope this is the last email about this :)

2002-10-28 Thread Ilia A.
+1 to keep PHP-CLI with implicit_flush. Ilia On October 27, 2002 09:05 pm, Zeev Suraski wrote: Thank you for the detailed explanation, I'm sure everybody understands it now. Let's go for the voting phase. I vote we keep PHP-CLI with implicit_flush on by default. You vote against. Can we

[PHP-DEV] Re: [PHP-CVS] cvs: php4 / run-tests.php

2002-10-27 Thread Ilia A.
to the error log is also 'variable', because it contains fluid data which different from system to system due to file paths, so we must do all kinds of hackery if we are to use it when confirming the output of a test. I for one, would like to see that setting go away. Ilia P.S. The recent change

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / run-tests.php

2002-10-25 Thread Ilia A.
as soon as the error occures. Ilia At 21:41 25.10.2002, Melvyn Sopacua wrote: At 21:27 25-10-2002, Marcus Börger wrote: It should not break any test...please send a list of those failed. ext/xslt/xslt-001.phpt (used to be 009.phpt). log_errors=1 on cli, is /dev/stderr. Ilia: Could you

[PHP-DEV] Regex Libraries

2002-10-21 Thread Ilia A.
who still use ereg functions, we could create wrappers that would implement their functionality using PECL and possibly add an E_NOTICE indicating that using PECL function preg_* would be a better approach. Ilia -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http

Re: [PHP-DEV] Re: [4.3] Current critical bugs

2002-10-18 Thread Ilia A.
http://bugs.php.net/bug.php?id=17098 This is serious problem for serious sites. (Serious sites shouldn't use Apache2, though) This looks like an Apache 2 bug, rather then aPHP one. I am guessing the fix they made did not work properly. Ilia -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] parse_url still broken!

2002-10-18 Thread Ilia A.
Also fixed. Ilia On October 18, 2002 06:37 am, Thies C. Arntzen wrote: url: file:/bla/test 4.2.x output: array(2) { [scheme]= string(4) file [path]= string(9) /bla/test } HEAD: array(3) { [scheme]= string(4) file [host]= string(3) bla [path]= string

Re: [PHP-DEV] short_open_tag

2002-10-16 Thread Ilia A.
to come up in the future yet again. The solution I would like to offer, is a patch that adds special handling for ?xml. Thus preventing the language parser from attempting to parse data inside ?xml as PHP source. Ilia Index: zend_language_scanner.l

Re: [PHP-DEV] short_open_tag

2002-10-16 Thread Ilia A.
On October 16, 2002 10:18 pm, Yasuo Ohgaki wrote: Ilia A. wrote: Since the general consensus by the developers is not to remove the short_tags or even disable them. Perhaps we should consider alternate solutions to this problem. Given the buzzword popularity of XML and its slowly growing

  1   2   >