Re: [PHP-DEV] Perl extension

2004-03-01 Thread Piotr Klaban
On Tue, Mar 02, 2004 at 12:10:51AM +0200, Andi Gutmans wrote: > $x = new Perl("Test"); > $y = new PerlScalar($x); The above could generate mistakes. It is better to use perl_wantarray(something) or perl_wantarray(); something;. > Any ideas or suggestions? It would also be cool if people could mess

Re: [PHP-DEV] Snapshots not compiling (fwd)

2004-03-01 Thread Moriyoshi Koizumi
On 2004/03/02, at 15:25, Moriyoshi Koizumi wrote: #1 0x002fc284 in execute (op_array=0x139f950) at /Users/moriyoshi/Documents/Sources/php-src-5/Zend/zend_execute.c:1339 Additional info: (gdb) select-frame 1 (gdb) zbacktrace [0xbfffe970] PEAR_Config() /Users/moriyoshi/Documents/Sources/php-src-

Re: [PHP-DEV] Snapshots not compiling (fwd)

2004-03-01 Thread Moriyoshi Koizumi
On 2004/03/02, at 5:36, Derick Rethans wrote: On Tue, 2 Mar 2004, Moriyoshi Koizumi wrote: On 2004/03/02, at 2:56, Derick Rethans wrote: see message below, I also get the following errors: buildconf? cvs didn't pick up the -dP settings in ~/.cvsrc so I didn't get the "enc" directory. It's workin

[PHP-DEV] Perl extension

2004-03-01 Thread Andi Gutmans
Hey, As some of you might have noticed, Dmitry worked on a Perl extension which allows PHP to run Perl scripts as well as instantiate Perl objects in PHP and use them. The main problem with the extension is the fact that Perl functions behave differently according to their context (scalar/array

Re: [PHP-DEV] mysqli_multi_query function

2004-03-01 Thread Adam Maccabee Trachtenberg
On Mon, 1 Mar 2004, Juergen Mueller wrote: > today I test the mysqli extension and were very happy to see, that the > extension is still very stable (my current environment: linux/php5beta4 / mysql > 4.1.1alpha) . further I want to use the mysqli_multi_query function, which is > already documentat

Re: [PHP-DEV] Cleaning up the browscap mess

2004-03-01 Thread Uwe Schindler
But we can link it like tidy/soap into PHP5... I think a good fix would be Jays changes. +1 for commiting. I told him 3/4 of a year ago to put $ and ^ around the regexes (I tested that on my server) and so I think he can commit it. Uwe At 09:16 01.03.2004, you wrote: On Sun, 29 Feb 2004, Rasmu

Re: [PHP-DEV] Snapshots not compiling (fwd)

2004-03-01 Thread Derick Rethans
On Tue, 2 Mar 2004, Moriyoshi Koizumi wrote: > On 2004/03/02, at 2:56, Derick Rethans wrote: > > > see message below, I also get the following errors: > > buildconf? cvs didn't pick up the -dP settings in ~/.cvsrc so I didn't get the "enc" directory. It's working now except for: Installing PEAR

[PHP-DEV] mysqli_multi_query function

2004-03-01 Thread Juergen Mueller
hi, today I test the mysqli extension and were very happy to see, that the extension is still very stable (my current environment: linux/php5beta4 / mysql 4.1.1alpha) . further I want to use the mysqli_multi_query function, which is already documentated in the manual. after execution I got the mes

[PHP-DEV] Fw: [PHP-DOC] #27377 [NEW]: sqlite_query returns false on remark

2004-03-01 Thread Nuno Lopes
- Original Message - > From: [EMAIL PROTECTED] > Operating system: windows 2000 > PHP version: 4.3.5RC3 > PHP Bug Type: Documentation problem > Bug description: sqlite_query returns false on remark > > Description: > > on the sqlite_query() documentation

[PHP-DEV] Re: PEAR install segmentation fault

2004-03-01 Thread pierre
On 01 Mar 2004 17:09:17 +0100 [EMAIL PROTECTED] (Michel 'Ziobudda' Morelli) wrote: > From today cvs: > > make install: > Installing PHP CLI binary:/usr/local/php5-01032004//bin/ > Installing PHP CLI man page: > /usr/local/php5-01032004//man/man1/ Installing PEAR environment: >/

Re: [PHP-DEV] Snapshots not compiling

2004-03-01 Thread Guillaume Plessis
The same problem happens on Linux with the --enable-mbstring option since the upgrade of the bundled oniguruma regex library this saturday.

[PHP-DEV] Snapshots not compiling

2004-03-01 Thread Nuno Lopes
Just a note to tell that Win32 snapshots for PHP 5 aren't being built. Nuno -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PEAR install segmentation fault

2004-03-01 Thread michel 'ziobudda' morelli
>From today cvs: make install: Installing PHP CLI binary:/usr/local/php5-01032004//bin/ Installing PHP CLI man page: /usr/local/php5-01032004//man/man1/ Installing PEAR environment: /usr/local/php5-01032004//lib/php/ make[1]: *** [install-pear-installer] Segmentation fault make:

Re: [PHP-DEV] add tests/reflection

2004-03-01 Thread Derick Rethans
On Mon, 1 Mar 2004, pierre wrote: > Hello, > > Is it ok to add a reflect tests folder? > > Please find a first test case as attachment (segfault with invoke). > > If you agree I can commit it. Nothing is attached, but feel free to commit reflection related tests into their own directory. Derick

[PHP-DEV] add tests/reflection

2004-03-01 Thread pierre
Hello, Is it ok to add a reflect tests folder? Please find a first test case as attachment (segfault with invoke). If you agree I can commit it. hth pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] RE: Segfault in HEAD

2004-03-01 Thread kase
>This should be fixed now. Thanks for the short reproducing script. > >Andi I don't think, that it is fixed in latest cvs. Simply changing the script to this, the problem/bug still exists: foo = false; } public function start() { throw new Exception(); } }

Re: [PHP-DEV] Fix for #27291 (get_browser() problems)

2004-03-01 Thread Rasmus Lerdorf
On Mon, 1 Mar 2004, Jay Smith wrote: > Rasmus Lerdorf wrote: > > > Hey Jay, sorry, didn't notice this message until after sending out my > > previous request. How do you feel about taking over maintaining the > > browscap code and splitting it off into its own pecl extension so you are > > not re

Re: [PHP-DEV] Fix for #27291 (get_browser() problems)

2004-03-01 Thread Jay Smith
Rasmus Lerdorf wrote: > Hey Jay, sorry, didn't notice this message until after sending out my > previous request. How do you feel about taking over maintaining the > browscap code and splitting it off into its own pecl extension so you are > not restricted by PHP's release schedule? > > -Rasmus

Re: [PHP-DEV] Iterator Class/foreach Logic Flaw?

2004-03-01 Thread Andi Gutmans
As I said I'm indifferent. It would be nice to have Marcus in this discussion but he's on the PHP Cruise and I'm not sure how often he's checking is email. At 09:21 AM 3/1/2004 -0500, Hans Lellelid wrote: Hi - Andi Gutmans wrote: Well we don't have very much time anymore because I want to roll

Re: [PHP-DEV] Iterator Class/foreach Logic Flaw?

2004-03-01 Thread Hans Lellelid
Hi - Andi Gutmans wrote: Well we don't have very much time anymore because I want to roll RC1 ASAP (assuming that we get a couple of bugs fixed which need fixing). Personally I'm fine with either of these (I don't mind hasMore()) but a decision has to be reached quickly. From discussing with Ma

Re: [PHP-DEV] Segfault in Reflection

2004-03-01 Thread Andi Gutmans
At 02:22 PM 3/1/2004 +0100, Andrey Hristov wrote: Andi Gutmans wrote: Did this happen after my commit or is it a general problem? Andi At 02:03 PM 3/1/2004 +0100, Andrey Hristov wrote: Hi, this : php -r 'class a{function a(){}} $a=new Reflection_Class("a");$b=$a->getMethod("a"); $b->invoke(NULL);

Re: [PHP-DEV] Iterator Class/foreach Logic Flaw?

2004-03-01 Thread Andi Gutmans
Well we don't have very much time anymore because I want to roll RC1 ASAP (assuming that we get a couple of bugs fixed which need fixing). Personally I'm fine with either of these (I don't mind hasMore()) but a decision has to be reached quickly. From discussing with Marcus I don't think he feel

Re: [PHP-DEV] Segfault in Reflection

2004-03-01 Thread Andrey Hristov
Andi Gutmans wrote: Did this happen after my commit or is it a general problem? Andi At 02:03 PM 3/1/2004 +0100, Andrey Hristov wrote: Hi, this : php -r 'class a{function a(){}} $a=new Reflection_Class("a");$b=$a->getMethod("a"); $b->invoke(NULL);' segfaults on my machine and generates bus er

[PHP-DEV]Re : Segfault in Reflection

2004-03-01 Thread Andrey Hristov
Andi Gutmans wrote: Did this happen after my commit or is it a general problem? Andi At 02:03 PM 3/1/2004 +0100, Andrey Hristov wrote: Hi, this : php -r 'class a{function a(){}} $a=new Reflection_Class("a");$b=$a->getMethod("a"); $b->invoke(NULL);' segfaults on my machine and generates bus er

Re: [PHP-DEV] Iterator Class/foreach Logic Flaw?

2004-03-01 Thread Hans Lellelid
Hi Marcus, Andrei Zmievski wrote: On Thu, 26 Feb 2004, Philip Fletcher wrote: Looking at the documentation, the comments and method name (for hasMore()) do not have the same meaning - the comment is saying 'does the current element exist?' and the method name says 'are there any more elements?'.

Re: [PHP-DEV] Segfault in Reflection

2004-03-01 Thread Andi Gutmans
Did this happen after my commit or is it a general problem? Andi At 02:03 PM 3/1/2004 +0100, Andrey Hristov wrote: Hi, this : php -r 'class a{function a(){}} $a=new Reflection_Class("a");$b=$a->getMethod("a"); $b->invoke(NULL);' segfaults on my machine and generates bus error on Jan Lehnardt's

[PHP-DEV] Segfault in Reflection

2004-03-01 Thread Andrey Hristov
Hi, this : php -r 'class a{function a(){}} $a=new Reflection_Class("a");$b=$a->getMethod("a"); $b->invoke(NULL);' segfaults on my machine and generates bus error on Jan Lehnardt's machine. Andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/

Re: [PHP-DEV] Segfault in HEAD

2004-03-01 Thread Andi Gutmans
This should be fixed now. Thanks for the short reproducing script. Andi At 11:41 PM 2/26/2004 +0100, Stefan Walk wrote: Hi, after a cvs update i get a segfault with this script: foo = false; } public function start() { throw new Exception(); } } $test = new test(); $test->start(); ?

Re: [PHP-DEV] Improved NetWare diff - 2.

2004-03-01 Thread Ananth Kesari
Hi, I sent you, a few days back, the improved NetWare diff for PHP 5.0 after incorporating all the comments given to me earlier. I am sure you are busy with PHP 5.0 development and releases. Just to remind you that I still haven't received any communication from you about whether the latest diff i

Re: [PHP-DEV] Cleaning up the browscap mess

2004-03-01 Thread Rasmus Lerdorf
On Mon, 1 Mar 2004, Derick Rethans wrote: > On Sun, 29 Feb 2004, Rasmus Lerdorf wrote: > > > I would suggest as a first step to pull it out of ext/standard and create > > a pecl extension for it and second to go through and figure out if we can > > continue to use the ini parser for this, which I a

[PHP-DEV] PHP problems (GJK) (fwd)

2004-03-01 Thread Derick Rethans
Hey, Just wanted to share this nice bit of information. Date: Sun, 29 Feb 2004 16:57:01 -0500 From: Gary J. Keith <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: PHP problems (GJK) Derick, If you want an alternative link to a browscap.ini file direct your users to the one offered by Cyscape

Re: [PHP-DEV] Cleaning up the browscap mess

2004-03-01 Thread Derick Rethans
On Sun, 29 Feb 2004, Rasmus Lerdorf wrote: > I would suggest as a first step to pull it out of ext/standard and create > a pecl extension for it and second to go through and figure out if we can > continue to use the ini parser for this, which I am guessing we can't, so > the third task is likely