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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC