1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Add support for ion (#573)

This commit is contained in:
Michele Locati 2022-05-13 17:18:20 +02:00 committed by GitHub
parent b2ce432910
commit 3608f58e74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

12
scripts/tests/ion Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env php
<?php
$serialized = ion\serialize(ion\Symbol\PHP::asTable());
$unserialized = ion\unserialize($serialized);
if (!$unserialized instanceof ion\Symbol\Table) {
fwrite(STDERR, "ion doesn't seem to be working\n");
exit(1);
}
echo "ion is working.\n";
return 0;