nyx/tests/dynamic_fixtures/unauthorized_id/php/benign.php

11 lines
285 B
PHP
Raw Permalink Normal View History

2026-06-05 10:16:30 -05:00
<?php
// Phase 11 (Track J.9) — PHP UNAUTHORIZED_ID benign control fixture.
const CALLER_ID = "alice";
$STORE = ["alice" => "alice@x", "bob" => "bob@x"];
function run($ownerId) {
global $STORE;
if ($ownerId !== CALLER_ID) return null;
return $STORE[$ownerId] ?? null;
}