wp-includes/class-wp-hook.php:493Retrieves a value at a specified offset.
$offsetmixedmixed #[ReturnTypeWillChange] public function offsetGet( $offset ) { return isset( $this->callbacks[ $offset ] ) ? $this->callbacks[ $offset ] : null; }Introduced in 4.7.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$offset retyped from mixed to int.verified against sourcemixed to array|null.verified against sourcesrc/wp-includes/class-wp-hook.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.