{"id":16915841,"url":"https://github.com/tysonandre/igbinary-hhvm","last_synced_at":"2025-03-20T20:54:26.536Z","repository":{"id":75022480,"uuid":"63561397","full_name":"TysonAndre/igbinary-hhvm","owner":"TysonAndre","description":"Work in Progress: Writing a native HHVM igbinary extension","archived":false,"fork":false,"pushed_at":"2017-10-20T06:05:47.000Z","size":135,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T18:31:12.438Z","etag":null,"topics":["igbinary"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TysonAndre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-18T01:36:57.000Z","updated_at":"2019-02-05T01:57:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"9501dcb9-cc5e-49b9-bd36-267a069cdd19","html_url":"https://github.com/TysonAndre/igbinary-hhvm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TysonAndre%2Figbinary-hhvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TysonAndre%2Figbinary-hhvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TysonAndre%2Figbinary-hhvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TysonAndre%2Figbinary-hhvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TysonAndre","download_url":"https://codeload.github.com/TysonAndre/igbinary-hhvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244688659,"owners_count":20493856,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["igbinary"],"created_at":"2024-10-13T19:23:01.892Z","updated_at":"2025-03-20T20:54:26.513Z","avatar_url":"https://github.com/TysonAndre.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"igbinary-hhvm\n============\n\nRequirements: HHVM \u003e= 3.22 (May support earlier versions in future commits)\n\n[![Build Status](https://travis-ci.org/TysonAndre/igbinary-hhvm.svg?branch=master)](https://travis-ci.org/TysonAndre/igbinary-hhvm)\n\n(Around 52 tests passing, 7 tests failing)\n\nNative igbinary for HHVM. Mostly working, with some edge cases\n\n# Functionality\n\nSo far, the following work:\n\n- Scalars(Strings, Booleans, numbers)\n- Arrays of scalars\n- Objects\n- Arrays/Objects containing duplicate values\n- Integration with libraries using igbinary\n- Objects with magic methods (`serialize`,`unserialize`,`__sleep`,`__wakeup`)\n\nThe following need more work:\n\n- Cyclic data structures (May just be how `var_dump` represents it, need to investigate)\n- Objects with magic methods (`__wakeup`, `__destruct`)\n- References are still unsupported.\n  Haven't decided when/if igbinary should throw, convert to a regular value, etc.\n\n\nExternal integration, such as with APCu, Memcached, Redis, session serializers, etc. won't work.\n(without their sources being patched)\n\n# Incompatibilities\n\nReferences to PHP objects (as in `is_object`) are now intended to be treated as non-references to objects when serializing,\nto match what the HHVM serializer does in php compatibility mode.\n\nTODO: Check what the current compatibility mode is.\n\n# Installation\n\n```bash\n$ git clone https://github.com/TysonAndre/igbinary-hhvm\n$ cd igbinary-hhvm\n$ hphpize \u0026\u0026 cmake . \u0026\u0026 make\n$ cp igbinary.so /path/to/your/hhvm/ext/dir\n```\n\n`hhvm-dev` must be installed for hphpize to work.\n\n# Testing\n\n```bash\n$ make test\n```\n\nTo add ini options for a specific test (e.g. 042.php), add 042.php.ini?\nGlobal test ini options are in [test/config.ini](test/config.ini)\n\nTo port test 00x.phpt to HHVM's test framework, split it up into 00x.php, 00x.php.skipif, 00x.php.expect (or 00x.php.expectf).\nIf there are any ini settings specific to that test, those go in 00x.php.ini?\n\n# Authors\n\n- Tyson Andre \u003ctysonandre775@hotmail.com\u003e\n\nBased on https://www.github.com/igbinary/igbinary\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftysonandre%2Figbinary-hhvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftysonandre%2Figbinary-hhvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftysonandre%2Figbinary-hhvm/lists"}