hand merge of speed tweaks

This commit is contained in:
Shish
2012-01-31 13:20:43 +00:00
21 changed files with 254 additions and 220 deletions

View File

@@ -56,7 +56,8 @@ class FlashFileHandler extends DataHandlerExtension {
private function str_to_binarray($string) {
$binary = array();
for($j=0; $j<strlen($string); $j++) {
$length = strlen($string);
for($j=0; $j<$length; $j++) {
$c = ord($string[$j]);
for($i=7; $i>=0; $i--) {
$binary[] = ($c >> $i) & 0x01;