# add "scream" feature to core

- Thread: https://externals.io/message/43196
- Original archive: https://news-web.php.net/php.internals/43196
- Started by Pierre Joye on 2009-02-26T23:28:10+00:00
- Messages: 9
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #43196 — Pierre Joye — 2009-02-26T23:28:10+00:00

URL: https://externals.io/message/43196#43196

Hi,

What's about adding what screan (http://pecl.php.net/scream) to the
standard PHP? Everyone needs it and it should be possible to do that
without having to install an extension.

Comments/objections?

Cheers
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

---

## #43198 — Ilia Alshanetsky — 2009-02-26T23:36:25+00:00

URL: https://externals.io/message/43196#43198 · In reply to: #43196

While a very useful feature, I think people who need it definitely  
will have the ability to run 2-3 commands that it takes to install a  
PECL extension.

Ilia Alshanetsky




> Hi,
>
> What's about adding what screan (http://pecl.php.net/scream) to the
> standard PHP? Everyone needs it and it should be possible to do that
> without having to install an extension.
>
> Comments/objections?
>
> Cheers
> -- 
> Pierre
>
> http://blog.thepimp.net | http://www.libgd.org

---

## #43199 — Richard Quadling — 2009-02-26T23:40:25+00:00

URL: https://externals.io/message/43196#43199 · In reply to: #43198

2009/2/26 Ilia Alshanetsky <ilia@prohost.org>:
> While a very useful feature, I think people who need it definitely will have
> the ability to run 2-3 commands that it takes to install a PECL extension.
>
> Ilia Alshanetsky
>
>
> 
>
> > […]
>
>
> --
> 
> 
>
>

Ilia, but us poor, useless, can't compile a shopping list, windows
users need binaries. So making it core would be nice.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

---

## #43201 — Ilia Alshanetsky — 2009-02-27T00:16:27+00:00

URL: https://externals.io/message/43196#43201 · In reply to: #43199

Compile a shopping list? How frequently are you deploying PHP? ;-)  
Even if you need to compile 4-5 PECL extensions its probably something  
you do only every few months anyway.
We used to have PECL win32 binaries, I don't see them on  
windows.php.net, but perhaps they are else where.

Based on your argument we may as well drop PECL and put all extensions  
into core.

Ilia Alshanetsky





>
> Ilia, but us poor, useless, can't compile a shopping list, windows
> users need binaries. So making it core would be nice.
>
> -- 
> -----
> Richard Quadling
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> "Standing on the shoulders of some very clever giants!"

---

## #43202 — Pierre Joye — 2009-02-27T00:20:08+00:00

URL: https://externals.io/message/43196#43202 · In reply to: #43201

> Compile a shopping list? How frequently are you deploying PHP? ;-) Even if
> you need to compile 4-5 PECL extensions its probably something you do only
> every few months anyway.
> We used to have PECL win32 binaries, I don't see them on windows.php.net,
> but perhaps they are else where.
>
> Based on your argument we may as well drop PECL and put all extensions into
> core.

I can provide a bin for this one, that's no issue. As having this
feature in the core is a non issue as well (not as an extension but in
the engine).


-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

---

## #43203 — Richard Quadling — 2009-02-27T00:21:03+00:00

URL: https://externals.io/message/43196#43203 · In reply to: #43201

2009/2/27 Ilia Alshanetsky <ilia@prohost.org>:
> Compile a shopping list? How frequently are you deploying PHP? ;-) Even if
> you need to compile 4-5 PECL extensions its probably something you do only
> every few months anyway.
> We used to have PECL win32 binaries, I don't see them on windows.php.net,
> but perhaps they are else where.
>
> Based on your argument we may as well drop PECL and put all extensions into
> core.
>
> Ilia Alshanetsky
>
>

No, no, no. Ideally win32 pre-compiled PECL binaries would keep me
happy. Having http://pecl4win.php.net/ working would probably be best.

>
>
> 
> > […]
>
>



-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

---

## #43208 — Greg Beaver — 2009-02-27T03:21:03+00:00

URL: https://externals.io/message/43196#43208 · In reply to: #43196

Pierre Joye wrote:
> Hi,
> 
> What's about adding what screan (http://pecl.php.net/scream) to the
> standard PHP? Everyone needs it and it should be possible to do that
> without having to install an extension.
> 
> Comments/objections?

If it can be done easily and unobtrusively to existing code, this would
be useful to me for those hard-to-catch bugs in old code.  Of course, I
am one of the people Ilia is referring to who can do a 3-4 second "pecl
install" pretty easily, so I don't have a strong stake in the debate
either way :)

Greg

---

## #43209 — Ronald Chmara — 2009-02-27T03:57:42+00:00

URL: https://externals.io/message/43196#43209 · In reply to: #43208

> Pierre Joye wrote:
> > […]
> If it can be done easily and unobtrusively to existing code, this  
> would
> be useful to me for those hard-to-catch bugs in old code.  Of  
> course, I
> am one of the people Ilia is referring to who can do a 3-4 second  
> "pecl
> install" pretty easily, so I don't have a strong stake in the debate
> either way :)

I'd rather see this as part of E_ALL, or maybe E_NOSUPPRESS (or  
something that sounds better).

As far as the former, (E_ALL), I'd kind of actually hope that it gave  
me *ALL*, not just *ALL (...except suppressed errors)*. Actually,  
I've assumed it would.

That being said, I:
a) Don't mind typing a few lines to install something
b) Wonder why "ALL" would be a limited subset of errors, with @  
errors ignored.

-Bop

---

## #43210 — Edward Z. Yang — 2009-02-27T04:02:38+00:00

URL: https://externals.io/message/43196#43210 · In reply to: #43196

So, my understanding of the shut-up operator was that it temporarily set
error_reporting to zero, so you could define a custom error handler that
would do the equivalent simply by not honoring error_reporting = 0.

Something that would be more useful, and that I don't think is
implementable in PHP, would be a wrapper around all user error handlers,
since userland code can override the current error handler.

Cheers,
Edward
