X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fv0.0%2Fion.html;h=db3733bfef5140412efc5802bcc57d4f9b9beb41;hb=ff55d584097034aaea2db240f5b2b2717b2990f3;hp=d8059b47b34419e758547b165d3ec6e2b4d9be6f;hpb=b372aaf7f0eeabb9d0e73d142039d5c062ca59c7;p=awesomized%2Fext-ion
diff --git a/docs/v0.0/ion.html b/docs/v0.0/ion.html
index d8059b4..db3733b 100644
--- a/docs/v0.0/ion.html
+++ b/docs/v0.0/ion.html
@@ -7,13 +7,13 @@
mdref
-
PHP extension wrapping amzn/ion-c. -See the Amazon ION specification.
-BSD-2-Clause; -see spdx.org.
-PHP extension wrapping amzn/ion-c. +See the Amazon ION specification.
BSD-2-Clause; +see spdx.org.
+pecl install ion
+
Watch out for PECL replicates +and pharext packages attached to releases.
+git clone github.com:awesomized/ext-ion
cd ext-ion
/path/to/phpize
./configure --with-php-config=/path/to/php-config
make
sudo make install
+
phpize
-./configure
-make # -j$(nproc)
-sudo make install # INSTALL=install
-
-docker build -t php-ion
-docker run --rm php-ion -r 'echo ion\serialize(ion\Symbol\Table\PHP());'
-
-See ion.stub.php.
-Due to private internal state of ion-c's readers and writers, -instances of the following PHP classes cannot be cloned:
-This extension provides a stub file four your editor's auto-completion.
-
+phpize
./configure
make # -j$(nproc)
sudo make install # INSTALL=install
+
+docker build -t php-ion
docker run --rm php-ion -r 'echo ion\serialize(ion\Symbol\PHP::asTable());'
+
See ion.stub.php.
Due to private internal state of ion-c's readers and writers, +instances of the following PHP classes cannot be cloned:
This extension provides a stub file four your editor's auto-completion.
Download the Stub file:
-Serialize a PHP value as ION data.
-string ion\serialize(mixed $data, [?ion\Serializer $serializer = NULL])
+string
ion\serialize(mixed
$data, [?ion\Serializer $serializer = NULL
])
Unserialize ION data (stream) as PHP value(s).
-mixed ion\unserialize(string|resource $data, [?ion\Unserializer $unserializer = NULL])
+mixed
ion\unserialize(string
|resource
$data, [?ion\Unserializer $unserializer = NULL
])
The Catalog holds a collection of ion\Symbol\Table instances queried from ion\Reader and ion\Writer instances.
+The Catalog holds a collection of ion\Symbol\Table instances queried from ion\Reader and ion\Writer instances.
-class ion\Catalog implements Countable
+class ion\Catalog implements Countable
An arbitrary precision fixed point decimal.
-class ion\Decimal implements Stringable
+class ion\Decimal implements Stringable
Base exception for the ION extension.
-class ion\Exception extends Exception implements Stringable, Throwable
+class ion\Exception extends Exception
implements Throwable
A large object.
-class ion\LOB
+class ion\LOB
ION reader API.
-interface ion\Reader implements Iterator, RecursiveIterator, Traversable
+interface ion\Reader implements RecursiveIterator
Serializer interface, used to customize ion\serialize()'s behavior.
+Serializer interface, used to customize ion\serialize()'s behavior.
-interface ion\Serializer
+interface ion\Serializer
class ion\Symbol implements Stringable
+class ion\Symbol implements Stringable
An ION Timestamp.
-class ion\Timestamp extends DateTime implements DateTimeInterface, Stringable
+class ion\Timestamp extends DateTime
implements DateTimeInterface
, Stringable
ION data type.
-enum ion\Type implements BackedEnum, UnitEnum
+enum
ion\Type implements BackedEnum
Unserializer interface, used to customize ion\unserialize()'s behavior.
+Unserializer interface, used to customize ion\unserialize()'s behavior.
-interface ion\Unserializer
+interface ion\Unserializer
ION writer API.
-interface ion\Writer
+interface ion\Writer