@@ -88,19 +88,19 @@ While some variable types have the same memory representation between C/PHP and
8888This table summarizes what you need to know:
8989
9090| PHP type | Go type | Direct conversion | C to Go helper | Go to C helper | Class Methods Support |
91- | ------------------ | ----------------------------- | ----------------- | --------------------------------- | ---------------------------------- | --------------------- |
92- | ` int ` | ` int64 ` | β
| - | - | β
|
93- | ` ?int ` | ` *int64 ` | β
| - | - | β
|
94- | ` float ` | ` float64 ` | β
| - | - | β
|
95- | ` ?float ` | ` *float64 ` | β
| - | - | β
|
96- | ` bool ` | ` bool ` | β
| - | - | β
|
97- | ` ?bool ` | ` *bool ` | β
| - | - | β
|
98- | ` string ` /` ?string ` | ` *C.zend_string ` | β | ` frankenphp.GoString() ` | ` frankenphp.PHPString() ` | β
|
99- | ` array ` | ` frankenphp.AssociativeArray ` | β | ` frankenphp.GoAssociativeArray() ` | ` frankenphp.PHPAssociativeArray() ` | β
|
100- | ` array ` | ` map[string]any ` | β | ` frankenphp.GoMap() ` | ` frankenphp.PHPMap() ` | β
|
101- | ` array ` | ` []any ` | β | ` frankenphp.GoPackedArray() ` | ` frankenphp.PHPPackedArray() ` | β
|
102- | ` mixed ` | ` any ` | β | ` GoValue() ` | ` PHPValue() ` | β |
103- | ` object ` | ` struct ` | β | _ Not yet implemented_ | _ Not yet implemented_ | β |
91+ | -------------------- | ------------------------------- | ------------------- | ----------------------------------- | ------------------------------------ | ----------------------- |
92+ | ` int ` | ` int64 ` | β
| - | - | β
|
93+ | ` ?int ` | ` *int64 ` | β
| - | - | β
|
94+ | ` float ` | ` float64 ` | β
| - | - | β
|
95+ | ` ?float ` | ` *float64 ` | β
| - | - | β
|
96+ | ` bool ` | ` bool ` | β
| - | - | β
|
97+ | ` ?bool ` | ` *bool ` | β
| - | - | β
|
98+ | ` string ` /` ?string ` | ` *C.zend_string ` | β | ` frankenphp.GoString() ` | ` frankenphp.PHPString() ` | β
|
99+ | ` array ` | ` frankenphp.AssociativeArray ` | β | ` frankenphp.GoAssociativeArray() ` | ` frankenphp.PHPAssociativeArray() ` | β
|
100+ | ` array ` | ` map[string]any ` | β | ` frankenphp.GoMap() ` | ` frankenphp.PHPMap() ` | β
|
101+ | ` array ` | ` []any ` | β | ` frankenphp.GoPackedArray() ` | ` frankenphp.PHPPackedArray() ` | β
|
102+ | ` mixed ` | ` any ` | β | ` GoValue() ` | ` PHPValue() ` | β |
103+ | ` object ` | ` struct ` | β | _ Not yet implemented_ | _ Not yet implemented_ | β |
104104
105105> [ !NOTE]
106106>
0 commit comments