# php_parallel **Repository Path**: statx/php_parallel ## Basic Information - **Project Name**: php_parallel - **Description**: A succinct parallel concurrency API for PHP 7. 用C写的一个PHP扩展 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-12-22 - **Last Updated**: 2025-02-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README parallel ======== [![Linux](https://github.com/krakjoe/parallel/actions/workflows/linux.yml/badge.svg)](https://github.com/krakjoe/parallel/actions/workflows/linux.yml) [![AddressSanitizer](https://github.com/krakjoe/parallel/actions/workflows/asan.yml/badge.svg)](https://github.com/krakjoe/parallel/actions/workflows/asan.yml) [![Windows](https://github.com/krakjoe/parallel/actions/workflows/windows.yml/badge.svg)](https://github.com/krakjoe/parallel/actions/workflows/windows.yml) [![Coverage Status](https://coveralls.io/repos/github/krakjoe/parallel/badge.svg?branch=develop)](https://coveralls.io/github/krakjoe/parallel) A succinct parallel concurrency API for PHP 8 [![GoFundMe](https://img.shields.io/badge/GoFundMe-00B964.svg?style=for-the-badge&logo=GoFundMe&logoColor=white)](https://gofund.me/c34f3dde) Documentation ============= Documentation can be found in the PHP manual: https://php.net/parallel Requirements and Installation ============================= See [INSTALL.md](INSTALL.md) Hello World =========== ```php run(function(){ for ($i = 0; $i < 500; $i++) echo "*"; return "easy"; }); for ($i = 0; $i < 500; $i++) { echo "."; } printf("\nUsing \\parallel\\Runtime is %s\n", $future->value()); ``` This may output something like (output abbreviated): ``` .*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.* Using \parallel\Runtime is easy ``` Development =========== See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on contribution and development (and debugging).