[PHP-DEV] Fwd: [PHP-CVS] cvs: php-src /ext/gd gd.c gd_ctx.c /ext/ircg ircg.c /ext/mbstring php_mbregex.c /ext/msql php_msql.c /ext/mssql php_mssql.c /ext/mysql php_mysql.c /ext/mysqli mysqli_api.c /ext/oci8 oci8.c /ext/odbc php_odbc.c /ext/pcre ph

2004-07-19 Thread Andi Gutmans
Just a short clarification. Code which requires "" should use just that, e.g.: add_property_string(return_value, "table",(msql_field->table?msql_field->table:""), 1); You can see that it's being duplicated anyway. Code which really requires an emalloc'ed empty string should use STR_EMPTY

Re: [PHP-DEV] Info needed

2004-07-19 Thread Kamesh Jayachandran
Hi Derick, Did you apply my patches? With regards Kamesh Jayachandran On Thu, 15 Jul 2004 08:12:49 -0700, "Kamesh Jayachandran" <[EMAIL PROTECTED]> said: > Hi Derick, > Following are my patches. > http://puggy.symonds.net/~kameshj/sapi.tar.gz > http://puggy.symonds.net/~kameshj/ext.tar.gz > http

Re: [PHP-DEV] Fwd: [PHP-CVS] cvs: php-src /ext/gd gd.c gd_ctx.c /ext/ircg ircg.c /ext/mbstring php_mbregex.c /ext/msql php_msql.c /ext/mssql php_mssql.c /ext/mysql php_mysql.c /ext/mysqli mysqli_api.c /ext/oci8 oci8.c /ext/odbc php_odbc.c /ext/pcre p

2004-07-19 Thread Wez Furlong
Please bump the API number for this, as PECL extensions need to check it and still build with 5.0 and with HEAD. --Wez. On Mon, 19 Jul 2004 00:27:10 -0700, Andi Gutmans <[EMAIL PROTECTED]> wrote: > Just a short clarification. Code which requires "" should use just that, e.g.: > add_prope

[PHP-DEV] handle member in zend_module_entry is not getting populated(New issue)(Posted second time)

2004-07-19 Thread Kamesh Jayachandran
Hi, Now handle member of zend_module_entry is getting populated(see php_dl function inside the ext/standard/dl.c). But it will not help as it should be set before calling zend_register_module_ex.(As this function copies the whole zend_module_entry to module_registry which is later used when trying

[PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Jakub Vrana
File a.php is required twice with this code on Windows: Should I document this behavior or should patch similar to this be applied? Index: zend_execute.c === RCS file: /repository/Zend/Attic/zend_execute.c,v retrieving revision 1.31

[PHP-DEV] CVS Account Request: skettler

2004-07-19 Thread Sascha Kettler
Taking over maintainership of the crack extension (as proposed on the pecl-dev list) and try to merge my additional features. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Wez Furlong
Did you test require_once under PHP 5 yet? (without your patch) --Wez. On Mon, 19 Jul 2004 10:56:02 +0200, Jakub Vrana <[EMAIL PROTECTED]> wrote: > File a.php is required twice with this code on Windows: > require_once "a.php"; > require_once "A.php"; > ?> > > Should I document this behavior or

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Antony Dovgal
On Mon, 19 Jul 2004 11:12:58 +0100 Wez Furlong <[EMAIL PROTECTED]> wrote: > Did you test require_once under PHP 5 yet? > (without your patch) Yep. http://lists.php.net/php.doc/969361918 --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] || [EMAIL PROTECTED] -- PHP Internals - PHP Runtime De

Re: [PHP-DEV] Write a PHP function in C

2004-07-19 Thread Hartmut Holzgraefe
[EMAIL PROTECTED] wrote: I am looking for a little HowTo/Tutorial how am I able to add new features to PHP - perhaps as a module (dont know if it is possible) or as a lib or as something else.. .:) The usual shameless plug: you may also want to have a look at PECL_Gen Download => http://pecl.php

[PHP-DEV] empty_string -> STR_EMPTY_ALLOC() (Was: looong CVS subject)

2004-07-19 Thread Antony Dovgal
On Mon, 19 Jul 2004 10:08:15 +0100 Wez Furlong <[EMAIL PROTECTED]> wrote: > Please bump the API number for this, as PECL extensions need to check > it and still build with 5.0 and with HEAD. Btw, XDebug already doesn't compile with HEAD because of this change. --- WBR, Antony Dovgal aka tony2001

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Jakub Vrana
Wez Furlong wrote: > Did you test require_once under PHP 5 yet? > (without your patch) This behavior is PHP 4 specific. Antony Dovgal wrote: > http://lists.php.net/php.doc/969361918 The problem is not that the file isn't included at all. The problem is that the file is included twice. Jakub Vrana

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Antony Dovgal
On Mon, 19 Jul 2004 14:45:12 +0200 Jakub Vrana <[EMAIL PROTECTED]> wrote: > Wez Furlong wrote: > > Did you test require_once under PHP 5 yet? > > (without your patch) > This behavior is PHP 4 specific. > > Antony Dovgal wrote: > > http://lists.php.net/php.doc/969361918 > The problem is not that t

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Michele Locati
There's another thing you should note: under Windows it is possible to specify file names in two ways: in the expanded (normal) way, and in a short way (8.3 file naming compatible). For example: C:\Program Files\SomeFileName.ext could be specified also as C:\PROGRA~1\SOMEFI~1.EX

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Stanislav Malyshev
ML>>There's another thing you should note: under Windows it is possible to ML>>specify file names in two ways: in the expanded (normal) way, and in a ML>>short way (8.3 file naming compatible). I think there's a function in Win32 API which brings all these forms to common base. -- Stanislav Ma

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Wez Furlong
I think we're already using it in TSRM in PHP 5, which is why I asked for someone to confirm it there. --Wez. On Mon, 19 Jul 2004 15:55:58 +0300 (IDT), Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > ML>>There's another thing you should note: under Windows it is possible to > ML>>specify file nam

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Paul G
- Original Message - From: "Stanislav Malyshev" <[EMAIL PROTECTED]> To: "Michele Locati" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 19, 2004 8:55 AM Subject: Re: [PHP-DEV] Case sensitivity of require_once > ML>>There's another thing you should note: under Windows it

Re: [PHP-DEV] empty_string -> STR_EMPTY_ALLOC() (Was: looong CVS subject)

2004-07-19 Thread Andi Gutmans
Done. At 04:01 PM 7/19/2004 +0400, Antony Dovgal wrote: On Mon, 19 Jul 2004 10:08:15 +0100 Wez Furlong <[EMAIL PROTECTED]> wrote: > Please bump the API number for this, as PECL extensions need to check > it and still build with 5.0 and with HEAD. Btw, XDebug already doesn't compile with HEAD becaus

[PHP-DEV] RPM packages of PHP 4.3.8

2004-07-19 Thread Morten K. Poulsen
Hi, I have build RPMs of PHP 4.3.8 with a lot of modules, including a patched version of imlib. The packages are available for Red Hat Linux 7.3, SuSE Linux 9.0 and SuSE Linux Standard Server 8 (will probably work on other UnitedLinux based distributions). The packages can be downloaded from htt

Re: [PHP-DEV] Info needed

2004-07-19 Thread Derick Rethans
On Mon, 19 Jul 2004, Kamesh Jayachandran wrote: > Hi Derick, > Did you apply my patches? You'll have to wait until I get back from holiday, but don't worry I'll have a look at them. It's on my todo list. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] libtool errors when compiling php5.0.0 rpms for fedora core 2 (fc2)

2004-07-19 Thread Jeff Stern
hey marcus, On Sat, 17 Jul 2004, Marcus Boerger wrote: > try te attached script as a base for your needs and don't send > such long mails without any usefull information - instead > please try to strip down the mails to the parts containing > usefull information...:-) okay, thanks for the script

Re: Re: [PHP-DEV] Fwd: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_language_parser.y zend_language_scanner.l

2004-07-19 Thread Derick Rethans
On Fri, 16 Jul 2004, Sterling Hughes wrote: > not only that but those people who want this performance boost can use > apc. i'll give george a patch that solves this if no one else steps > up. Do that before we revert it then, ok? :) Derick -- PHP Internals - PHP Runtime Development Mailing L

Re: Re: Re: [PHP-DEV] Fwd: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_language_parser.y zend_language_scanner.l

2004-07-19 Thread Sterling Hughes
i'll do it sometime, but no, this patch should be reverted (.) the performance increase is neglible - its a *bad* optimization. -sterling On Mon, 19 Jul 2004 22:59:14 +0200 (CEST), Derick Rethans <[EMAIL PROTECTED]> wrote: > On Fri, 16 Jul 2004, Sterling Hughes wrote: > > > not only that but th

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Andi Gutmans
Very strange. We do a GetLongPathName() in virtual_file_ex() which opens the file. Can you see if it's reach that piece of code? Andi At 02:55 PM 7/19/2004 +0200, Michele Locati wrote: There's another thing you should note: under Windows it is possible to specify file names in two ways: in the e

Re: [PHP-DEV] libtool errors when compiling php5.0.0 rpms for fedora core 2 (fc2)

2004-07-19 Thread Joe Orton
On Mon, Jul 19, 2004 at 01:20:26PM -0700, Jeff Stern wrote: > libtool: link: `ext/libxml/libxml.lo' is not a valid libtool object > make: *** [sapi/cgi/php] Error 1 > error: Bad exit status from /var/tmp/rpm-tmp.29174 (%build) IIRC this is the error you get from trying to build PHP using libtool 1

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

2004-07-19 Thread Derick Rethans
On Fri, 16 Jul 2004, Andi Gutmans wrote: > Part of the changes I want to do for PHP 5.1 is integrating some of the > ideas from your patch and ideas I had in the past. The first one I want to > integrated is the opcode-threading which will come shortly. I'd also be very interested in backporting

Re: [PHP-DEV] libxml/libxslt on win32

2004-07-19 Thread Frank M. Kromann
I've been using these libraries for a while without problems. Can we split the iconv related exports from php_libxml.def to php_iconv.def. This will make it possible to build with iconv, but without libxml. - Frank > If possible can the libxml and libxslt libs get updated to newer versions? > Li

RE: [PHP-DEV] libxml/libxslt on win32

2004-07-19 Thread Steph
Won't this become a chicken-and-worm situation? The reason the iconv exports were put there in the first place was so that the libxml build could rely with confidence on there being built-in support for libxml's own built-in iconv functions through PHP, rather than having to lean on an external ic

RE: [PHP-DEV] libxml/libxslt on win32

2004-07-19 Thread Frank M. Kromann
Thats true, but php-gtk uses iconv too and I can see php with iconv build-in and libxml and php-gtk compiled as shared objects so you can use gtk without libxml and without iconv.dll. - Frank > Won't this become a chicken-and-worm situation? The reason the iconv > exports were put there in the f

[PHP-DEV] Chaining __set and __get in an expression

2004-07-19 Thread Curt Zirzow
Given the class definition: false); function __set($name, $value) { echo "setting\n"; $this->x[$name] = 'foo'; // intentially ignore value } function __get($name) { echo "getting\n"; return $this->x[$name]; } } $foo = new Caller(); $b = $foo->a = 'bar'; echo "b is " .

[PHP-DEV] No safe_pemalloc()?

2004-07-19 Thread Sara Golemon
Is there any reason there's no safe_pemalloc()? -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php