fix(php/traditional): toBytes function