4 PHP extension wrapping [amzn/ion-c](https://github.com/amzn/ion-c).
5 See the [Amazon ION specification](https://amzn.github.io/ion-docs/).
8 [BSD-2-Clause](https://github.com/awesomized/ext-ion/blob/master/LICENSE);
9 see [spdx.org](https://spdx.org/licenses/BSD-2-Clause.html).
19 * [amzn/ion-c](https://github.com/amzn/ion-c) (bundled as git submodule)
24 ./configure # --with-php-config=<path/to/php-config>
26 sudo make install # INSTALL=install
35 Watch out for [PECL replicates](https://replicator.pharext.org?ion)
36 and pharext packages attached to [releases](./releases).
40 docker build -t php-ion
41 docker run --rm php-ion -r 'echo ion\serialize(ion\Symbol\PHP::asTable());'
45 See [ion.stub.php](https://github.com/awesomized/ext-ion/blob/master/ion.stub.php).
48 Due to private internal state of ion-c's readers and writers,
49 instances of the following PHP classes cannot be cloned:
53 * ion\Unserializer\PHP