$time = $info['time'];
$counter = $info['offsetCounter'];
} else {
- $time = $info[0];
- $counter = $info[1];
+ list( $time, $counter ) = $info;
}
// Take the 46 LSBs of "milliseconds since epoch"
$id_bin = $this->millisecondsSinceEpochBinary( $time );
$counter = $info['offsetCounter'];
$clkSeq = $info['clkSeq'];
} else {
- $time = $info[0];
- $counter = $info[1];
- $clkSeq = $info[2];
+ list( $time, $counter, $clkSeq ) = $info;
}
// Take the 46 LSBs of "milliseconds since epoch"
$id_bin = $this->millisecondsSinceEpochBinary( $time );
$start = microtime( true );
do {
$ct = time();
- // https://secure.php.net/manual/en/language.operators.comparison.php
+ // https://www.php.net/manual/en/language.operators.comparison.php
if ( $ct >= $time ) {
// current time is higher than or equal to than $time
return $ct;