Calling versioning() on multiple files results in all of the files using the same version id.
This seems to be happening because the filemtime result is being cached in the private property $_buildId.
If you still want to cache lookups, you could use an associative array with the file names as keys instead.
Calling
versioning()on multiple files results in all of the files using the same version id.This seems to be happening because the filemtime result is being cached in the private property
$_buildId.If you still want to cache lookups, you could use an associative array with the file names as keys instead.