Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Split a string by a string
explode(string $separatorstring $stringint $limit PHP_INT_MAX): array
$tables = [];



foreach (
$serverState['octaneConfig']['tables'] ?? [] as $name => $columns) {

    
$table = new Table(explode(':'$name)[1] ?? 1000);



    foreach (
$columns ?? [] as $columnName => $column) {

        
$table->column($columnName, match (explode(':'$column)[0] ?? 'string') {
    $table = new Table(explode(':'$name)[1] ?? 1000);



    foreach (
$columns ?? [] as $columnName => $column) {

        
$table->column($columnName, match (explode(':'$column)[0] ?? 'string') {

            
'string' => Table::TYPE_STRING,

            
'int' => Table::TYPE_INT,

            
'float' => Table::TYPE_FLOAT,
            'string' => Table::TYPE_STRING,

            
'int' => Table::TYPE_INT,

            
'float' => Table::TYPE_FLOAT,

        }, 
explode(':'$column)[1] ?? 1000);

    }



    
$table->create();
    $table->create();



    
$tables[explode(':'$name)[0]] = $table;

}



return 
$tables;
            );

        }



        
$version explode(' '$version)[2];



        if (
version_compare($version$this->requiredVersion'<')) {

            
$this->warn("Your RoadRunner binary version (<fg=red>$version</>) may be incompatible with Octane.");
                }



                if (
$debug['level'] == 'debug' && isset($debug['remote'])) {

                    [
$statusCode$method$url] = explode(' '$debug['msg']);



                    return 
$this->requestInfo([

                        
'method' => $method,
    private function pathAfterSymlink(string $publicPathstring $path)

    {

        
$directories explode('/'$path);



        while (
$directory array_shift($directories)) {

            
$publicPath .= '/'.$directory;