Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-23 Thread Lester Caine
Lukas Kahwe Smith wrote: Lester Caine wrote: PDO simply changes the ground rules without solving any particular problem as has been said all along. Now you may well convince people that all the native drivers should be dropped from PHP and only PDO supplied but I hope that does not happen and

Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-23 Thread Marcus Boerger
Hello Wez, one is doing this: stream->orig_path = estrdup(opened_path); the other something else: stream->open_filename = __zend_orig_filename ? __zend_orig_filename : __zend_filename; stream->open_lineno = __zend_orig_lineno ? __zend_orig_lineno : __zend_lineno; best regards marcus

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Richard Quadling
On 23/05/07, Johannes Schlüter <[EMAIL PROTECTED]> wrote: Hi Rangel, for PHP 6 the basic string type ist "unicode string" and most functions will accept these as primary type. But there are a few exceptions where unicode, for different reason, makes no sense. There you have to pass a binary stri

Re: [PHP-DEV] PHP 6 Preview

2007-05-23 Thread Pierre
Hi Wez, On 5/23/07, Wez Furlong <[EMAIL PROTECTED]> wrote: On 5/21/07, Antony Dovgal <[EMAIL PROTECTED]> wrote: > There is EXTENSIONS file (in the sources root dir) which lists extensions along with their maintainers. PECL has its own way to indicate the maintainers too (checkout the package.x

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Richard Quadling
On 23/05/07, Steph Fox <[EMAIL PROTECTED]> wrote: Nice article in the May edition of php|arch. Which _might_ make it online today if we're lucky..! Excellent! As a subscriber I'll be reading it avidly. Is PHP6 in a state able to be used? For Windows XP that is? -- - Richard Quadling Zend

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Alexey Zakhlestin
On 5/23/07, Richard Quadling <[EMAIL PROTECTED]> wrote: Is PHP6 in a state able to be used? For Windows XP that is? in a "state to be tested" would be more correct :) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vi

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Richard Quadling
Ah! So with this article in php|Architect and PHP6, we should be able to see how things work! Looking forward to it. On 23/05/07, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote: On 5/23/07, Richard Quadling <[EMAIL PROTECTED]> wrote: > > Is PHP6 in a state able to be used? For Windows XP that is?

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Rangel Reale
Yes, I understand why urlencode does not work with unicode, but the problem is, when unicode is turned on, 100% of the times I need to use it, I need to use the (binary) typecast (as normally I create my params as variables), or create the variables as binary, all of which requires me to write PHP

Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-23 Thread Wez Furlong
The point you're missing is that those features all belong in the firebird driver, not in PDO itself. --Wez. On 5/23/07, Lester Caine <[EMAIL PROTECTED]> wrote: Wez Furlong wrote: > On 5/7/07, Lester Caine <[EMAIL PROTECTED]> wrote: >> No one has time to work on the >> Firebird PDO driver becau

Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-23 Thread Wez Furlong
I'd modify that to say that no one with the C skills is interested in taking it over, and there is almost no incentive to do this because "no one" uses it. --Wez. On 5/23/07, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote: But anyways, the problem is of course not that we are uninterested in Fireb

Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-23 Thread Lester Caine
Wez Furlong wrote: I'd modify that to say that no one with the C skills is interested in taking it over, and there is almost no incentive to do this because "no one" uses it. I would not say that on the firebird-php list Wez - one hell of a lot of people rely on it for their livelyhood. I know

Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-23 Thread Lukas Kahwe Smith
Lester Caine wrote: Wez Furlong wrote: I'd modify that to say that no one with the C skills is interested in taking it over, and there is almost no incentive to do this because "no one" uses it. I would not say that on the firebird-php list Wez - one hell of a lot of people rely on it for the

[PHP-DEV] mbstring: missing support for hex numeric entities &xHHHH;

2007-05-23 Thread Umberto Salsi
mbstring does not support numeric entities in HTML code. For example: echo urlencode( mb_convert_encoding("Е", "UTF-8", "HTML-ENTITIES") ); displays %F2%AF%B8%9F rather than the expected %D0%95. This bug was detected by Nick Wedd <[EMAIL PROTECTED]> and reported in the newsgroup comp.lang.php, Me

Re: [PHP-DEV] unexpected behaviour in SimpleXML (php 5.2.2)

2007-05-23 Thread Vesselin Kenashkov
The attribute is not a child XML node. For walking through attributes SimpleXML has $node->attributes() method. And if($node->attributes()) check works as expected. So I think $node->children() must be just for child XML nodes, not for attributes (there is no sense to give back results for attribu

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Andrei Zmievski
It would help if you provided some context. Why do you need to create binary strings in your apps? -Andrei On May 23, 2007, at 5:09 AM, Rangel Reale wrote: Yes, I understand why urlencode does not work with unicode, but the problem is, when unicode is turned on, 100% of the times I need to

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Andrei Zmievski
No problem. I just can't use it. It does not pass even basic "must work on Debian Stable" test. Option creates parsing errors in older PHP versions and I can't wrap it with PHP6 check. Such code must be stored in separate libraries loaded only in PHP6 and issue affects way to many functions.

[PHP-DEV] Still having lstat trouble

2007-05-23 Thread Arnold Daniels
Hi, I've posted this problem some time ago, but never got a real answer and it is still bothering me a lot. My problem is that PHP does not recognize a symlink as a symlink. It seems to be dereferenced by functions like 'lstat', 'is_link' and 'filetype'. And that isn't supposed to happen.

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Rangel Reale
To pass as parameter to functions that do not accept unicode (like urlencode). Say I want to prepare a variable no create an url: This works fine on php <=5, but on 6 it gives a warning: "urlencode() expects parameter 1 to be strictly a binary string, Unicode string given". I need to make

Re: [PHP-DEV] Still having lstat trouble

2007-05-23 Thread Rasmus Lerdorf
So, would this be Ubuntu 7.04? I happen to have one of those boxes sitting here: 5:52pm ubuntu:~> mkdir /tmp/pear 5:52pm ubuntu:~> cat /etc/issue Ubuntu 7.04 \n \l 5:52pm ubuntu:~> uname -a Linux ubuntu 2.6.20-15-server #2 SMP Sun Apr 15 07:41:34 UTC 2007 i686 GNU/Linux 5:52pm ubuntu:~> php p l

Re: [PHP-DEV] Still having lstat trouble

2007-05-23 Thread Brian Moon
Rasmus Lerdorf wrote: 5:52pm ubuntu:~> php p I think he said "Also this problem only occurs in the Apache 2 SAPI, not in the CLI version." =) -- Brian Moon Senior Developer -- http://dealnews.com/ It's good to be cheap =) -- PHP Internals - PHP Runtime Developm

[PHP-DEV] PHP needs better function organization, naming and parameter specifications

2007-05-23 Thread Daevid Vincent
Hello guys/girls, I was told to send my suggestions to this list (and I'm offering my help/time too...) D. > -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 23, 2007 1:58 PM > To: Daevid Vincent; [EMAIL PROTECTED] > Subject: RE: [PHP] PHP needs b

Re: [PHP-DEV] Still having lstat trouble

2007-05-23 Thread Rasmus Lerdorf
Brian Moon wrote: > Rasmus Lerdorf wrote: >> 5:52pm ubuntu:~> php p > > I think he said "Also this problem only occurs in the Apache 2 SAPI, not > in the CLI version." Works fine under Apache1. I don't have Apache2 handy on this box. But I can't see this being affected by the SAPI in any way ot

[PHP-DEV] Re: Still having lstat trouble

2007-05-23 Thread Scott MacVicar
I'm getting similar results from a RHEL 4 box we have here, its running 5.2.3-dev. [EMAIL PROTECTED] [/tmp] # cat /etc/redhat-release Red Hat Enterprise Linux ES release 4 (Nahant Update 4) [EMAIL PROTECTED] [~] # uname -a Linux scarlet 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 18:00:32 EDT 2006 i6

Re: [PHP-DEV] Re: Still having lstat trouble

2007-05-23 Thread Rasmus Lerdorf
lstat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 lstat64("/tmp/link-test", 0xbff229ec) = -1 ENOENT (No such file or directory) lstat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 lstat64("/tmp/pear", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 symlink("

Re: [PHP-DEV] Re: Still having lstat trouble

2007-05-23 Thread Scott MacVicar
Miscopied, a full strace is: lstat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 lstat64("/tmp/pear", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/tmp/pear", F_OK) = 0 time(NULL) = 1179959483 lstat64("/tmp", {st_mode=S_IFDIR

Re: [PHP-DEV] Re: Still having lstat trouble

2007-05-23 Thread Brian Moon
Works as expected on my Mac (no strace on my Mac). On my Gentoo 64-bit server, I get the wrong data from Apache2 and CLI. On my 32-bit Gentoo server, without Apache 2, I get the correct answer from apache and cli. On my 32-bit Gentoo server with Apache 2 I get a wrong answer from Apache and

Re: [PHP-DEV] Re: Still having lstat trouble

2007-05-23 Thread Rasmus Lerdorf
Which filesystems is /tmp on on the various boxes? tmpfs related perhaps? -Rasmus Brian Moon wrote: > Works as expected on my Mac (no strace on my Mac). On my Gentoo 64-bit > server, I get the wrong data from Apache2 and CLI. On my 32-bit Gentoo > server, without Apache 2, I get the correct a

Re: [PHP-DEV] Re: Still having lstat trouble

2007-05-23 Thread Brian Moon
Rasmus Lerdorf wrote: Which filesystems is /tmp on on the various boxes? tmpfs related perhaps? On all my systems, /tmp is just part of / which is ReiserFS. -- Brian Moon Senior Developer -- http://dealnews.com/ It's good to be cheap =) -- PHP Internals - PHP Run

Re: [PHP-DEV] PHP needs better function organization, naming and parameter specifications

2007-05-23 Thread Vlad Bosinceanu
I really don't think that would work. There's far too many inconsistencies with php. Take haystack/needle order in string functions: creating aliases won't fix that; change the order and half the web is gonna break. Perhaps forking php is a good idea here. Think it through, fix what's there t

Re: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-23 Thread Tomas Kuliavas
>> No problem. I just can't use it. It does not pass even basic "must >> work on >> Debian Stable" test. Option creates parsing errors in older PHP >> versions >> and I can't wrap it with PHP6 check. Such code must be stored in >> separate >> libraries loaded only in PHP6 and issue affects way to m

[PHP-DEV] CVS Account Request: acidd15

2007-05-23 Thread Yu Ilho
Translating the documentation(phpdoc-kr) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php