RE: [PHP-DEV] exceptions question

2003-07-09 Thread Andi Gutmans
Yes, it is expensive. Andi At 08:57 PM 9/7/2003 -0400, Juan C. Rivera wrote: You should not use exceptions for program logic. Exceptions are use to handle exceptional cases and the overhead of handling an exception may be quite expensive. At least on other languages. So, what is the overhead of t

[PHP-DEV] Re: this causes a segfault cvs: php-src(PHP_4_3) /ext/pcre config.m4php_pcre.c

2003-07-09 Thread Alan Knowles
@@ -420,7 +421,32 @@ size_offsets = num_subpats * 3; offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0); - /* Allocate match sets array and initialize the values */ + /* + * Build a mapping from subpattern numbers to their names. We will always + * allocate the table, even though

RE: [PHP-DEV] exceptions question

2003-07-09 Thread Juan C. Rivera
You should not use exceptions for program logic. Exceptions are use to handle exceptional cases and the overhead of handling an exception may be quite expensive. At least on other languages. So, what is the overhead of throwing exceptions in PHP? Is it as expensive as in .Net or C++? -Origina

Re: [PHP-DEV] HEAD won't compile on Linux

2003-07-09 Thread Pierre-Alain Joye
On Wed, 09 Jul 2003 19:27:05 +0200 Sebastian Bergmann <[EMAIL PROTECTED]> wrote: > /usr/src/php/php5/ext/gd/libgd/gd.c: In function `gdImageRotate': > /usr/src/php/php5/ext/gd/libgd/gd.c:2768: `clrBackR' undeclared (first > use in this function) > /usr/src/php/php5/ext/gd/libgd/gd.c:2768: (Each un

[PHP-DEV] HEAD won't compile on Linux

2003-07-09 Thread Sebastian Bergmann
/usr/src/php/php5/ext/gd/libgd/gd.c: In function `gdImageRotate': /usr/src/php/php5/ext/gd/libgd/gd.c:2768: `clrBackR' undeclared (first use in this function) /usr/src/php/php5/ext/gd/libgd/gd.c:2768: (Each undeclared identifier is reported only once /usr/src/php/php5/ext/gd/libgd/gd.c:2768: for ea

[PHP-DEV] sqlite_popen bug?

2003-07-09 Thread Marc Boeren
Hi, the following script doesn't work correctly: will produce $ ./php -f sqlitetest.php resource(1) of type (sqlite database (persistent)) resource(1) of type (Unknown) This also happens if I call sqlite_close($handle) between the popens... BTW, this is on the latest ext/sqlite copied to ex

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Jan Schneider
Zitat von Robin Ericsson <[EMAIL PROTECTED]>: > On Wed, 2003-07-09 at 14:46, Jan Schneider wrote: > > Zitat von Stanislav Malyshev <[EMAIL PROTECTED]>: > > > > > JS>> Click on "View branches" ;-) > > > > > > I'm sorry I see no view branches on http://cvs.php.net/cvs.php/Zend. > > > Could > > > you

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Robin Ericsson
On Wed, 2003-07-09 at 14:46, Jan Schneider wrote: > Zitat von Stanislav Malyshev <[EMAIL PROTECTED]>: > > > JS>> Click on "View branches" ;-) > > > > I'm sorry I see no view branches on http://cvs.php.net/cvs.php/Zend. > > Could > > you please help me with URL? > > You can only see branches in th

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Stanislav Malyshev
JS>> If you're just missing some files that still exist in one branch but JS>> were removed from HEAD, click on "Show deleted". Well, the whole problem is that we are missing _all_ ZE1 files from HEAD branch. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.c

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Jan Schneider
Zitat von Stanislav Malyshev <[EMAIL PROTECTED]>: > JS>> Click on "View branches" ;-) > > I'm sorry I see no view branches on http://cvs.php.net/cvs.php/Zend. > Could > you please help me with URL? You can only see branches in the file view, not in the directory view, because directories can't be

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Stanislav Malyshev
SM>> I'm sorry I see no view branches on http://cvs.php.net/cvs.php/Zend. SM>> Could you please help me with URL? Ah, found it. Should be "Show deleted files". Are there any plans to make working with ZE1 on http://cvs.php.net/ more convenient? -- Stanislav Malyshev, Zend Products Engineer [

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Stanislav Malyshev
JS>> Click on "View branches" ;-) I'm sorry I see no view branches on http://cvs.php.net/cvs.php/Zend. Could you please help me with URL? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Internals - PHP Runtime Developme

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Jan Schneider
Zitat von Edin Kadribasic <[EMAIL PROTECTED]>: > EK>> You need to check out -r PHP_4_3 as ze1 does not exist in head. > > >How do I "check out -r PHP_4_3" on cvs.php.net website? > > Sorry I didn't realise you were talking about web interface to the > cvs. > > I have no idea how to view branches i

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Edin Kadribasic
EK>> You need to check out -r PHP_4_3 as ze1 does not exist in head. >How do I "check out -r PHP_4_3" on cvs.php.net website? Sorry I didn't realise you were talking about web interface to the cvs. I have no idea how to view branches in Chora. Edin -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Stanislav Malyshev
EK>> You need to check out -r PHP_4_3 as ze1 does not exist in head. How do I "check out -r PHP_4_3" on cvs.php.net website? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Edin Kadribasic
You need to check out -r PHP_4_3 as ze1 does not exist in head. Edin - Original Message - From: "Stanislav Malyshev" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 2:10 PM Subject: [PHP-DEV] cvs.php.net Does anybody know how to get access to current ZE1 bran

[PHP-DEV] cvs.php.net

2003-07-09 Thread Stanislav Malyshev
Does anybody know how to get access to current ZE1 branch on cvs.php.net? Look like all the files are gone... -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Internals - PHP Runtime Development Mailing List To unsubscrib

[PHP-DEV] CVS Account Request: skumar2k15

2003-07-09 Thread k.santoshkumar
phpdoc -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] The PHP5 Reflection API

2003-07-09 Thread s0niX
Hi, Andrei Zmievski’s draft for the Reflection API is really good, but i had some ideas where this could be improved. I have made the following changes: - added method Klass::getSubclasses() - added method Klass::isSubclassOf($klass) - added method Klass::getSubclasses() - added function getFunct