php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #30853 Need new function
Submitted: 2004-11-21 02:28 UTC Modified: 2010-11-18 23:45 UTC
Votes:15
Avg. Score:4.9 ± 0.3
Reproduced:12 of 12 (100.0%)
Same Version:3 (25.0%)
Same OS:5 (41.7%)
From: sonny2 at gmx dot de Assigned:
Status: Wont fix Package: *General Issues
PHP Version: Irrelevant OS: *nix
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sonny2 at gmx dot de
New email:
PHP Version: OS:

 

 [2004-11-21 02:28 UTC] sonny2 at gmx dot de
Description:
------------
Hello,

I'd like to send here an Feature Request in case of this will of course helpfull for a lot of people who're working with PHP.

I missing a function - say it "timerun()".
The idea behind this is to have an control mechanism which kill the request of the function when an result or Error is not return in between 10 sed (for exp.).

Often I run in a Situation where such a kind of function would be great.

Example:
 - connect to an Database ( Oracle ) with PEAR or manual
 - connection established
 - send a query()
   - this does not return due propebly an too high load in a
     given time
 - here comes the timerun() in play - which will stop the query execution by given time.

Cheers
-Peter

Reproduce code:
---------------
not yet available ...

Expected result:
----------------
In the next release a function which cover this functionality.

Actual result:
--------------
does not exist

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-18 23:45 UTC] jani@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues
 [2010-11-18 23:45 UTC] jani@php.net
Not possible. Timeout needs to be done by each external processes themselves.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 15:00:01 2025 UTC