[PHP-DEV] Should we have some sort of isset()-like operator with default?

2012-08-04 Thread Andrew Faulds
Hi there, In the Implict isset in ternary operator thread, the idea of a special version of the ternary operator with an isset implied was proposed. I don't like this idea very much, but from that I want to suggest some sort of default operator. On IRC I had a little discussion about it

[PHP-DEV] php interactive shell without readline

2012-08-04 Thread Ferenc Kovacs
Hi, As most of you know, the current php interactive shell is pretty much useless without compiling php --with-readline, but for the most users this the first impression what they experience (eg. using the php interactive shell without readline support). There is an alternative readline

Re: [PHP-DEV] php interactive shell without readline

2012-08-04 Thread Andrew Faulds
Well, I saw it, and I say for a ~600 line library, why not? Heck, we could maybe reimplement the readline extension with it. On 04/08/12 20:49, Ferenc Kovacs wrote: Hi, As most of you know, the current php interactive shell is pretty much useless without compiling php --with-readline, but for

[PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Yahav Gindi Bar
Hi, After the last discussion I've started about runkit which some of you suggest to keep it in PECL - I thought about the extensions problem in PHP and wish to ask for your opinion. Many developers use shared hosting as PHP env which not allows them to install new extensions in PHP. In order to

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Nikita Popov
On Sat, Aug 4, 2012 at 9:57 PM, Yahav Gindi Bar g.b.ya...@gmail.com wrote: We had dl() until it was deprecated, and even when we got it I guess that administrators disabled the dl() method because of security reasons. However, PECL got limited extensions which, as long as I know, does not put

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Andrew Faulds
On 04/08/12 21:03, Nikita Popov wrote: On Sat, Aug 4, 2012 at 9:57 PM, Yahav Gindi Bar g.b.ya...@gmail.com wrote: We had dl() until it was deprecated, and even when we got it I guess that administrators disabled the dl() method because of security reasons. However, PECL got limited extensions

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Yahav Gindi Bar
On Sat, Aug 4, 2012 at 11:03 PM, Nikita Popov nikita@gmail.com wrote: On Sat, Aug 4, 2012 at 9:57 PM, Yahav Gindi Bar g.b.ya...@gmail.com wrote: We had dl() until it was deprecated, and even when we got it I guess that administrators disabled the dl() method because of security reasons.

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Ferenc Kovacs
On Sat, Aug 4, 2012 at 9:57 PM, Yahav Gindi Bar g.b.ya...@gmail.com wrote: Hi, After the last discussion I've started about runkit which some of you suggest to keep it in PECL - I thought about the extensions problem in PHP and wish to ask for your opinion. Many developers use shared

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Ferenc Kovacs
On Sat, Aug 4, 2012 at 10:05 PM, Andrew Faulds a...@ajf.me wrote: On 04/08/12 21:03, Nikita Popov wrote: On Sat, Aug 4, 2012 at 9:57 PM, Yahav Gindi Bar g.b.ya...@gmail.com wrote: We had dl() until it was deprecated, and even when we got it I guess that administrators disabled the dl()

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Stas Malyshev
Hi! Many developers use shared hosting as PHP env which not allows them to install new extensions in PHP. You do realize they do it not because they are evil people thriving on suffering of their clients, but because they need controlled environment they can maintain? If you need environment

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Yahav Gindi Bar
On Sat, Aug 4, 2012 at 11:12 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Sat, Aug 4, 2012 at 9:57 PM, Yahav Gindi Bar g.b.ya...@gmail.comwrote: Hi, After the last discussion I've started about runkit which some of you suggest to keep it in PECL - I thought about the extensions problem in

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Lester Caine
Yahav Gindi Bar wrote: Shared hosting is cheap for a reason, and trying to cheat shared hosters by changing PHP both wrong and pointless. My wish is not to cheat using PHP but to give the shared hosting users somehow the ability to enjoy from PECL packages without being restricted to their

Re: [PHP-DEV] Integrate PECL into PHP

2012-08-04 Thread Tom Boutell
There is already a safe and sensible way to do this in a shared hosting environment: the host installs pecl packages that everyone gets, and only after verifying that they don't reduce the security of the shared environment. Or, yes, just get a vps! Really, it's not expensive anymore (: On Sat,