50] ); echo "Testing percentage rollout...\n"; $enabledCount = 0; for ($userId = 1; $userId <= 10; $userId++) { $context = (new FeatureFlagContext())->withUserId((string) $userId); $enabled = $flag->isEnabledForContext($context); echo "User ID {$userId}: " . ($enabled ? "ENABLED" : "DISABLED") . "\n"; if ($enabled) { $enabledCount++; } } echo "\nEnabled count: {$enabledCount} / 10\n"; echo "Expected approximately 5 (50%)\n";