extract() makes variables appear from nowhere, and should really be cleaned up in most (all?) cases to be made explicit.
Although $var->extract( calls were also matched, here's a resultspage that may be useful to see visualy:
ViewVC links in the right column.
https://wiki.php.net/rfc/list_keys has been implemented in PHP 7.1
So instead of
$arr = unpack( 'a4magic/a4chunk/NchunkLength', $header ); $chunk = $arr['chunk']; $chunkLength = $arr['chunkLength'];
you should be able to write
[ 'chunk' => $chunk, 'chunkLength' => $chunkLength ] = unpack( 'a4magic/a4chunk/NchunkLength', $header );