php-pear-PHP_Fork - Horde alarm libraries

Property Value
Distribution Mageia 7
Repository Mageia Core i586
Package filename php-pear-PHP_Fork-0.3.2-10.mga7.noarch.rpm
Package name php-pear-PHP_Fork
Package version 0.3.2
Package release 10.mga7
Package architecture noarch
Package type rpm
Category Development/PHP
License PHP License
Maintainer -
Download size 20.86 KB
Installed size 52.28 KB
PHP_Fork class. Wrapper around the pcntl_fork() stuff
with a API set like Java language.
Practical usage is done by extending this class, and re-defining
the run() method.
[see basic example]
This way PHP developers can enclose logic into a class that extends
PHP_Fork, then execute the start() method that forks a child process.
Communications with the forked process is ensured by using a Shared Memory
Segment; by using a user-defined signal and this shared memory developers
can access to child process methods that returns a serializable variable.
The shared variable space can be accessed with the tho methods:
o void setVariable($name, $value)
o mixed getVariable($name)
$name must be a valid PHP variable name;
$value must be a variable or a serializable object.
Resources (db connections, streams, etc.) cannot be serialized and so
they're not correctly handled.
Requires PHP build with --enable-cli --with-pcntl --enable-shmop.
Only runs on *NIX systems, because Windows lacks of the pcntl ext.
@example browser_pool.php an interactive tool to perform multiple
cuncurrent request over an URL.
@example simple_controller.php shows how to attach a controller to started
@example exec_methods.php shows a workaround to execute methods into the
child process.
@example passing_vars.php shows variable exchange between the parent
process and started pseudo-threads.
@example basic.php a basic example, only two pseudo-threads that increment
a counter simultaneously.


Package Version Architecture Repository
php-pear-PHP_Fork-0.3.2-10.mga7.noarch.rpm 0.3.2 noarch Mageia Core
php-pear-PHP_Fork - - -


Name Value
php-pear -


Name Value
pear(PHP/Fork.php) -
php-pear-PHP_Fork = 0.3.2-10.mga7


Type URL
Binary Package php-pear-PHP_Fork-0.3.2-10.mga7.noarch.rpm
Source Package php-pear-PHP_Fork-0.3.2-10.mga7.src.rpm

Install Howto

  1. Enable the repository in Software Management
  2. Install php-pear-PHP_Fork rpm package:
    # dnf install php-pear-PHP_Fork




2018-09-19 - umeabot <umeabot> 0.3.2-10.mga7
(not released yet)
+ Revision: 1273766
- Mageia 7 Mass Rebuild
2016-02-08 - umeabot <umeabot> 0.3.2-9.mga6
+ Revision: 950481
- Mageia 6 Mass Rebuild

See Also

Package Description
php-pear-PHP_Invoker-1.1.3-6.mga7.noarch.rpm Utility class for invoking callables with a timeout
php-pear-PHP_LexerGenerator-0.4.0-10.mga7.noarch.rpm translate lexer files in lex2php format into a PHP 5 lexer
php-pear-PHP_Shell-0.3.2-8.mga7.noarch.rpm An interactive PHP Shell
php-pear-PHP_Timer-1.0.5-6.mga7.noarch.rpm Utility class for timing
php-pear-PHP_TokenStream-1.2.2-5.mga7.noarch.rpm PEAR: Wrapper around PHP's tokenizer extension
php-pear-Pager-2.5.1-2.mga7.noarch.rpm Data paging class
php-pear-Payment_Clieop-0.2.0-6.mga7.noarch.rpm Create clieop03 file to send to Dutch Bank
php-pear-Payment_DTA-1.4.3-9.mga7.noarch.rpm Creates and reads DTA and DTAZV files containing money transaction data (Germany)
php-pear-RDF-0.2.0-6.mga7.noarch.rpm Port of the core RAP API
php-pear-SOAP-0.14.0-1.mga7.noarch.rpm Client/Server for PHP
php-pear-Science_Chemistry-1.1.2-6.mga7.noarch.rpm Manipulate chemical objects: atoms, molecules, etc
php-pear-Search_Mnogosearch-0.1.1-19.mga7.noarch.rpm Wrapper classes for the mnoGoSearch extention
php-pear-Services_Trackback-0.7.1-7.mga7.noarch.rpm Trackback - A generic class for sending and receiving trackbacks
php-pear-Services_W3C_CSSValidator-0.2.3-7.mga7.noarch.rpm An Object Oriented Interface to the W3C CSS Validator service
php-pear-Spreadsheet_Excel_Writer-0.9.3-6.mga7.noarch.rpm Package for generating Excel spreadsheets