Skip to content

Bootstrap: ext/igbinary module skeleton — register igbinary_serialize/unserialize before handlers (phase 0 of #6573) #7033

Description

@PurHur

Category

bootstrap | stdlib

Problem

#6573 tracks igbinary serialize/unserialize. Phase 0: add ext/igbinary/Module.php skeleton so compiled scripts see registered function names and extension metadata (same pattern as #6937 hash, msgpack skeleton this run).

Verified 2026-06-06: function_exists('igbinary_serialize') → false on bin/vm.php.

php-src reference

Repro

./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && php bin/vm.php -r "var_export(function_exists(\"igbinary_serialize\")); echo PHP_EOL; var_export(extension_loaded(\"igbinary\"));"'
# bool(false) bool(false)

Scope (phase 0)

Path Work
ext/igbinary/Module.php Register igbinary_serialize, igbinary_unserialize, optional igbinary_pack/igbinary_unpack names
Stub handlers PHP call() throws consistent Error until #6573 implementation
Runtime load Wire module in bootstrap spine
Tests test/unit/IgbinaryModuleSkeletonTest.php

Done when

  • function_exists('igbinary_serialize') true on VM
  • extension_loaded('igbinary') true
  • ./script/ci-fast.sh --filter IgbinaryModuleSkeleton green
  • Inventory check includes ext/igbinary module row

Verification

./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && vendor/bin/phpunit --filter IgbinaryModuleSkeleton'

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:vmVirtual machineenhancementNew feature or requestimplementation-readySpec complete: repro, php-src ref, done-when — safe for workers to claimphase-0:FoundationPhase 0 – foundation & DevExphase-4:stdlibPhase 4 – stdlib for web apps

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions