샘플
In ramsey/uuid 4.x, Uuid::fromString returns a LazyUuidFromString instance implementing UuidInterface rather than a Uuid class instance, while getHex returns a Hexadecimal value object that silently fails strict string equality checks
sha256:4b368ea99675717bf5154051b96c906c45dd5bf59de8bfe4b59a99a55140cac3
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- In ramsey/uuid 4.x, Uuid::fromString returns a LazyUuidFromString instance implementing UuidInterface rather than a Uuid class instance, while getHex returns a Hexadecimal value object that silently fails strict string equality checks HOW
- 패키지
- ramsey/uuid 4.9.3
- 환경
- php
- 생성일
- 2026-08-16T08:50:51Z
컨트랙트
- Uuid::fromString returns a LazyUuidFromString instance that implements UuidInterface but does NOT inherit from Uuid
- UuidInterface::getHex returns a Ramsey\Uuid\Type\Hexadecimal value object where is_string is false and strict comparison with a string returns false
- UuidInterface::getInteger returns a Ramsey\Uuid\Type\Integer value object rather than a string or integer primitive
- UuidInterface::getDateTime returns a DateTimeImmutable instance that implements DateTimeInterface but does not inherit from mutable DateTime
- Uuid::isValid rejects 32-character unhyphenated hexadecimal UUID strings even though Uuid::fromString successfully parses them
파일
- NOTES.md
- composer.json
- composer.lock
- csx.json
- test/contract.php
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- php 8 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · composer@1 · 2026-08-16 · ed25519:d91480838ac982c9