index.php
PHP source for FastArray (draft), 37 lines. Raw file
<?
final class StorageArrayDatabase
{
/**
* @return int
* @throws DatabaseException
*/
static function Create(): int
{
}
/**
* @param int $arrayId
* @param int $position
* @param int $valueId
* @return void
* @throws StorageOutOfBoundsException
*/
static function Insert( int $arrayId, int $position, int $valueId ): void
{
}
/**
* @param int $arrayId
* @param int $position
* @return void
* @throws StorageOutOfBoundsException
*/
static function Delete( int $arrayId, int $position ): void
{
}
}