]> git.mxchange.org Git - core.git/blobdiff - contrib/lfdb2/write.php
Continued:
[core.git] / contrib / lfdb2 / write.php
index 2b25a6a69aca426be843a4d6ffc77fc92ec78e52..9d1445c55d5aad7a9975cc42f74cf1ee2c4e8abf 100644 (file)
@@ -27,7 +27,7 @@ if (PHP_INT_SIZE === 8) {
        $__right  = constant('__RIGHT_64');
        $__format = constant('__FORMAT_WRITE_64');
        $__step   = constant('__STEP_64');
-} // END - if
+}
 
 $str = gzcompress(file_get_contents('test.data'), 9);
 
@@ -46,8 +46,8 @@ for ($idx = 0; $idx < strlen($str); $idx += $__step) {
                        $big += $add;
 
                        //print 'idx=' . $idx . ',i=' . $i . ',ord=' . $ord . ',factor=' . $factor . ',add=' . $add . ',big=' . $big . PHP_EOL;
-               } // END - if
-       } // END - for
+               }
+       }
 
        $l = ($big & $__left) >>$__factor;
        $r = $big & $__right;
@@ -56,7 +56,7 @@ for ($idx = 0; $idx < strlen($str); $idx += $__step) {
        //print 'big=' . $big . ',unpacked('.strlen($unpacked) . ')='.md5($unpacked).PHP_EOL;
 
        $encoded .= $unpacked;
-} // END - for
+}
 
 print 'Hash(' . strlen($encoded) . ')=' . md5($encoded) . PHP_EOL;
 print 'Encoded ' . strlen($str) . ' bytes into ' . strlen($encoded) . ' bytes ...' . PHP_EOL;