<?php
use Carbon\Carbon;
$now = Carbon::now()->format('d/m/Y');
printf("Today is %s\nCurrent PHP version: %s \n\n", $now, phpversion());
$query = "SHOW COLUMNS FROM test LIKE :col;";
// get DB version using PDO
$stmt = $pdo->prepare($query);
$stmt->execute(["col" => "id"]);
$row = $stmt->fetchAll(PDO::FETCH_ASSOC);
print_r($row);