Problem
HashTable has packed-list fast paths; several methods throw for non-packed arrays (mergeCopy, sliceCopy, etc.). rehash throws Need to implement rehash in lib/VM/HashTable.php.
Web apps use string-keyed maps ($_GET, config arrays, JSON-decoded data).
Goal
Reliable associative arrays for VM and JIT hashtables.
Tasks
Acceptance criteria
$config = ['db' => 'localhost', 'port' => '3306']; operations work in VM+JIT without LogicException.
Problem
HashTablehas packed-list fast paths; several methods throw for non-packed arrays (mergeCopy,sliceCopy, etc.).rehashthrowsNeed to implement rehashinlib/VM/HashTable.php.Web apps use string-keyed maps (
$_GET, config arrays, JSON-decoded data).Goal
Reliable associative arrays for VM and JIT hashtables.
Tasks
__hashtable__(partially used for superglobals)array_merge,array_sliceon assoc arrays or document limitsAcceptance criteria
$config = ['db' => 'localhost', 'port' => '3306'];operations work in VM+JIT without LogicException.