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
@@ -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
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
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
/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
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
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
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
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
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
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
[
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
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
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
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
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
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
phpdoc
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Andrei Zmievskis 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
19 matches
Mail list logo