Alexander Stecher
|
d540727369
|
feat:(extgen) make Go arrays more consistent with PHP arrays (#1800)
* Makes go arrays more consistent with PHP arrays.
* NewAssociativeArray.
* linting
* go linting
* Exposes all primitive types.
* Removes pointer alias
* linting
* Optimizes hash update.
* Fixes extgen tests.
* Moves file to tests.
* Fixes suggested by @dunglas.
* Replaces 'interface{}' with 'any'.
* Panics on wrong zval.
* interface improvements as suggested by @dunglas.
* Adjusts docs.
* Adjusts docs.
* Removes PackedArray alias and adjusts docs.
* Updates docs.
|
2025-08-25 16:24:15 +02:00 |
|
Alexandre Daubois
|
1d0169d321
|
fix(types): better zval handling to avoid leaks with arrays (#1780)
|
2025-08-04 19:00:13 +02:00 |
|
Alexandre Daubois
|
8df41236d9
|
feat(extgen): add support for arrays as parameters and return types (#1724)
* feat(extgen): add support for arrays as parameters and return types
* cs
---------
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
|
2025-07-16 12:05:29 +02:00 |
|
Kévin Dunglas
|
abfd893d88
|
feat: FrankenPHP extensions (#1651)
* feat: add helpers to create PHP extensions (#1644)
* feat: add helpers to create PHP extensions
* cs
* feat: GoString
* test
* add test for RegisterExtension
* cs
* optimize includes
* fix
* feat(extensions): add the PHP extension generator (#1649)
* feat(extensions): add the PHP extension generator
* unexport many types
* unexport more symbols
* cleanup some tests
* unexport more symbols
* fix
* revert types files
* revert
* add better validation and fix templates
* remove GoStringCopy
* small fixes
---------
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
* try to fix tests
* fix CS
* try some workarounds
* try some workarounds
* ingore TestRegisterExtension
* exclude cgo tests in Docker images
* fix
* workaround...
* race detector
* simplify tests and code
* make linter happy
* feat(gofile): use templates to generate the Go file (#1666)
---------
Co-authored-by: Alexandre Daubois <2144837+alexandre-daubois@users.noreply.github.com>
|
2025-06-25 10:18:22 +02:00 |
|