Library/Compiler.php
private function checkKernelFile($src, $dst)
    {
        if (preg_match('#kernels/ZendEngine[2-9]/concat\.#', $src)) {
            return true;
        }

        if (!file_exists($dst)) {
            return false;
        }

        return md5_file($src) == md5_file($dst);
    }
private function checkKernelFile($src, $dst)
    {
        if (preg_match('#kernels/ZendEngine[2-9]/concat\.#', $src)) {
            return true;
        }

        if (!file_exists($dst)) {
            return false;
        }

        return md5_file($src) == md5_file($dst);
    }
private function checkKernelFile ( $ src , $ dst ) { if ( preg_match ( '#kernels/ZendEngine[2-9]/concat\.#' , $ src ) ) { return true ; } if ( ! file_exists ( $ dst ) ) { return false ; } return md5_file ( $ src ) == md5_file ( $ dst ) ; }
Checks if a file must be copied.

@param string $src
@param string $dst

@return bool
Checks if a file must be copied .