Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Generate a unique ID
<?php uniqid(string $prefix = "", bool $more_entropy = false): string
<?php     public function testGenerateTableWithAutoincrement(): void

    {

        $columnName = strtoupper('id' . uniqid());

        $tableName  = strtoupper('table' . uniqid());

        $table      = new Table($tableName);

        $column     = $table->addColumn($columnName, 'integer');
<?php     public function testGenerateTableWithAutoincrement(): void

    {

        $columnName = strtoupper('id' . uniqid());

        $tableName  = strtoupper('table' . uniqid());

        $table      = new Table($tableName);

        $column     = $table->addColumn($columnName, 'integer');

        $column->setAutoincrement(true);