Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docs/extension-maintainers.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,20 @@ The descriptions of these items:
'PHP Extension Build' flags in `php -i`
* `ts|nts` - Thread-safe or non-thread safe.
* `arch` - for example `x86_64`.
* Windows: `Architecture` from `php -i`
* Windows: use a hint from `Architecture` from `php -i` (see below)
* non-Windows: check `PHP_INT_SIZE` - 4 for 32-bit, 8 for 64-bit.

Note the architecture name will likely need normalising, since different
platforms name architectures differently. PIE expects the following normalised
architectures:

* `x86_64` (normalised from `x64`, `x86_64`, `AMD64`)
* `arm64` (normalised from `arm64`)
* `x86` (any other value)

For the latest map (in case documentation is not up to date), check out
`\Php\Pie\Platform\Architecture::parseArchitecture`.

#### Contents of the Windows ZIP

The pre-built ZIP should contain at minimum a DLL named in the same way as the
Expand Down
Loading