- PHP substr() not working when 3rd parem is string like 0xe84?
- substr($file, $a[2], $a[1]); //not working...
- substr($file, $a[2], 0xe84); //works fine - when entering the match directly as an integer
- substr($file, $a[2], hexdec($a[1]));
- substr($file, $a[2], intval($a[1],16));