hphp/runtime/base/packed-array.cpp
/*
 * Convert a packed array to mixed, without moving the elements out of
 * the old packed array.  This effectively performs a Copy at the same
 * time as converting to mixed.  The returned mixed array is
 * guaranteed not to be full.
 */
Convert a packed array to mixed, without moving the elements out of
the old packed array.  This effectively performs a Copy at the same
time as converting to mixed.  The returned mixed array is
guaranteed not to be full.
Convert a packed array to mixed without moving the elements out of the old packed array . This effectively performs a Copy at the same time as converting to mixed . The returned mixed array is guaranteed not to be full .
MixedArray* PackedArray::ToMixedCopy(const ArrayData* old) {
  assertx(checkInvariants(old));
  auto ad = PackedArray::ToMixedCopyReserve(old, old->m_size + 1);
  assertx(!ad->isFull());
  return ad;
}
MixedArray * PackedArray :: ToMixedCopy ( const ArrayData * old ) { assertx ( checkInvariants ( old ) ) ; auto ad = PackedArray :: ToMixedCopyReserve ( old , old -> m_size + 1 ) ; assertx ( ! ad -> isFull ( ) ) ; return ad ; }
Convert a packed array to mixed, without moving the elements out of
 the old packed array.
Convert a packed array to mixed without moving the elements out of the old packed array .