Zend Guard 5.1.0 EA does not correctly handle __DIR__ constant.
Simple script (encoded with ZG 5.1.0EA) yields incorrect output for __DIR__:
<?php
echo '<!-- ' .__DIR__ .' ' .__FILE__ .' -->';
die();
?>
When running encoded script on Linux server (script encoded on windows machine) the following output is generated:
<!-- C:\Users\Dmitry\Work\...\public_html /var/www/sites/.../public_html/index.php -->
__FILE__ constant is being handled correctly, but __DIR__ outputs the source directory, where file did reside on windows machine prior to encoding!

