php-dextrin

DXNKeyword.php

Table of Contents

Classes

DXNKeyword
DXN `keyword` (`:foo` / `foo:` in key position) -- always wraps in this port, with no `trusted:`-driven alternate representation the way the Elixir (real atom) and JS (`Symbol.for`) ports have. PHP has nothing analogous to a BEAM atom table or `Symbol.for`'s global registry: every `DXNKeyword` is an ordinary heap-allocated, GC'd object, so there's no exhaustible interning table decoding untrusted input could ever threaten in the first place -- this is a deliberate omission, not a missing feature.
On this page

Search results