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:
parent
b2ce432910
commit
3608f58e74
3 changed files with 38 additions and 0 deletions
12
scripts/tests/ion
Executable file
12
scripts/tests/ion
Executable 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;
|
Loading…
Add table
Add a link
Reference in a new issue