Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Tokenize string
<?php strtok(string $string, string $token): string|false
<?php         $tableColumn = array_change_key_case($tableColumn, CASE_LOWER);



        $dbType = strtolower($tableColumn['type']);

        $dbType = strtok($dbType, '(), ');

        assert(is_string($dbType));



        $length = $tableColumn['length'] ?? strtok('(), ');
<?php         $dbType = strtok($dbType, '(), ');

        assert(is_string($dbType));



        $length = $tableColumn['length'] ?? strtok('(), ');



        $fixed = null;
<?php     protected function _getPortableTableColumnDefinition($tableColumn)

    {

        $dbType = strtok($tableColumn['type'], '(), ');

        assert(is_string($dbType));



        $fixed   = null;