You are here

function bbb_encode_int in BigBlueButton 6

Same name and namespace in other branches
  1. 7 bbb.module \bbb_encode_int()
1 call to bbb_encode_int()
bbb_create_meeting_id in ./bbb.module

File

./bbb.module, line 749
Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.

Code

function bbb_encode_int($string) {
  $ords = array();
  for ($i = 0; $i < strlen($string); $i++) {
    $ords[] = ord(substr($string, $i, 1));
  }
  return implode($ords);
}