update
This commit is contained in:
parent
7b98857eff
commit
4502ffbedb
|
@ -9,15 +9,13 @@ This PHP extension provides a set of useful functional-style operations on PHP a
|
|||
|
||||
Method names and functionalities are inspired by [Kotlin.Collections](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/).
|
||||
|
||||
It may take me a really long time to fully implement this extension. Feel free to contribute.
|
||||
|
||||
## 2. Documentation
|
||||
|
||||
See [stubs](stubs/) directory for signature of all classes and methods of this extension, with PHPDoc.
|
||||
|
||||
## 3. Example
|
||||
|
||||
Here is a simple example.
|
||||
Here is a simple example for how to work with arrays gracefully using this extension.
|
||||
|
||||
```php
|
||||
$employees = [
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#endif
|
||||
|
||||
#include <php.h>
|
||||
#include <php_ini.h>
|
||||
#include <zend_interfaces.h>
|
||||
#include <ext/standard/info.h>
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
// @Author CismonX
|
||||
//
|
||||
|
||||
#ifndef PHP_COLLECTIONS_FE_H
|
||||
#define PHP_COLLECTIONS_FE_H
|
||||
#ifndef PHP_COLLECTIONS_ME_H
|
||||
#define PHP_COLLECTIONS_ME_H
|
||||
|
||||
PHP_METHOD(Collection, __construct);
|
||||
PHP_METHOD(Collection, addAll);
|
||||
|
@ -114,4 +114,4 @@ PHP_METHOD(Collection, values);
|
|||
|
||||
PHP_METHOD(Pair, __construct);
|
||||
|
||||
#endif // !PHP_COLLECTIONS_FE_H
|
||||
#endif // !PHP_COLLECTIONS_ME_H
|
||||
|
|
Reference in New Issue