Re: [PHP-DEV] PHP_SHLIB_SUFFIX and OS X

2004-10-30 Thread Shane Caraveo
Not a real suggestion, but a comment on this... There is no reason to use dylib for libraries that will only be loaded by php. the php library itself should be .dylib, by php extensions *can* be .so. Python works this way. However, I'm not convinced it's the best thing, as it does lead to fur

Re: [PHP-DEV] Re: Negative string offset support: and arrays?

2004-10-30 Thread Markus Fischer
Ilia Alshanetsky wrote: I am well aware that at this point PHP has no separation between [] and {} as far as string offsets go. My initial suggestion was to add the support for negative offsets and not to limit it to a particular construct. Given that this is intended for strings only, I readily

Re: [PHP-DEV] Re: PHP 5.1 roadmap

2004-10-30 Thread Marcus Boerger
Hello Andi, i want typehinting with arrays and ifsetor in 5.1. Also i still think we should change the way objects work: The stored objects should know their classentry and have a pointer to the handlers. That should speed up everything related to objects. The only thing it won't allow is storin

[PHP-DEV] operator strange behaviour

2004-10-30 Thread Hodicska Gergely
Hi! I tried to get answer on the general list, but I didn't get. I have a little example, which generate strange output. $a = 0; $b = 1; if ($a = 1 && $b = 0) { echo 'true '; var_dump($a); var_dump($b); } else { echo 'false '; var_dump($a); var_dump($b); } Runing this we get

Re: [PHP-DEV] operator strange behaviour

2004-10-30 Thread Robert Cummings
On Sat, 2004-10-30 at 14:45, Hodicska Gergely wrote: > Hi! > > I tried to get answer on the general list, but I didn't get. > I have a little example, which generate strange output. > > $a = 0; > $b = 1; > if ($a = 1 && $b = 0) { > echo 'true '; > var_dump($a); > var_dump($b); > }

Re: [PHP-DEV] operator strange behaviour

2004-10-30 Thread Derick Rethans
On Sat, 30 Oct 2004, Hodicska Gergely wrote: > I tried to get answer on the general list, but I didn't get. > I have a little example, which generate strange output. This is the wrong list, see http://php.net/support Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdeb

Re: [PHP-DEV] operator strange behaviour

2004-10-30 Thread Derick Rethans
On Sat, 30 Oct 2004, Hodicska Gergely wrote: > > This is the wrong list, see http://php.net/support > Oke, which one do you suggest? I thought that the developer of the > language could answer this question. We can, but you still should ask on the [EMAIL PROTECTED] mailinglist. Derick -- Deric

Re: [PHP-DEV] operator strange behaviour

2004-10-30 Thread Hodicska Gergely
This is the wrong list, see http://php.net/support Oke, which one do you suggest? I thought that the developer of the language could answer this question. Felho -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Negative string offset support

2004-10-30 Thread Ilia Alshanetsky
Andrey Hristov wrote: Andy mentioned that he tried in the past to separate {} and [] but after some unsuccess he left the idea of separating. So, the patch definitely won't be 2-3 lines of code. I am well aware that at this point PHP has no separation between [] and {} as far as string offsets go.

[PHP-DEV] localeconv not working

2004-10-30 Thread Klaus Reimer
Hello, I just notices that localeconv is not working properly (at least in PHP 5.0.2 and 4.3.9), it does not return the correct thousands_sep and decimal_point (See my mail at php-general). Now I took a quick look in the source code and I found this in ext/standard/string.c (function setlocale)

Re: [PHP-DEV] curl_init() is bypassing safe_mode & open_basedir restrictions

2004-10-30 Thread Antony Dovgal
On Fri, 29 Oct 2004 16:26:08 + Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Antony Dovgal: > > On Fri, 29 Oct 2004 01:04:23 -0700 > > Sterling Hughes <[EMAIL PROTECTED]> wrote: > > > > > no curl does not need to respect php's safemode, adding such > > > checks at this level is w

Re: [PHP-DEV] Re: Negative string offset support

2004-10-30 Thread Andrey Hristov
Ilia Alshanetsky wrote: Derick Rethans wrote: How can you *need* this, you can use substr() just fine. Almost no peace of functionality in PHP in unique, some extensions duplicate core/standard functionality and vice versa. Usually the "core" offers a simpler access to a resource and full pledg