On Wed, 11 Feb 2004, Stanislav Malyshev wrote:

> PJ>> Well, php dl sucks? Why it sux for php and not for other langages?
> PJ>> (not kidding here :) ).
>
> Which languages are you talking about? The general answer is, obviously,
> "PHP is not <insert your favorite language here>", but let's go specific -
> what language and what do you mean by that?
>
> PJ>> If we have to deprecate dl, then we have to provide an alternative
> PJ>> (aka python import for instance).
>
> What alternative do you propose? What should it achieve that extension=
> doesn't?

1. dl() is nice in CGIs where you don't want to load all extensions for
   each request as that is slow (but CGI is slow anyway :)

2. for PHP GTK you usually don't want the extension=php_gtk.so line as
   it inteferes with normal operation.

I think that both points are not really relevant enough though to put in
any effort to fix dl() because you can still use it. (And dl() in those
cases is just fine too, as it's just one request per process and is very
unlikely to fuck up things).

Any idea why php -dextension=php_gtk.so doesn't work btw?

regards,
Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to