/// <summary> /// Get the known PDO drivers /// </summary> /// <returns></returns> public static PhpArray pdo_drivers() { var phpNames = PDOEngine.GetDriverNames().Select(d => PhpValue.Create(d)).ToArray(); return(PhpArray.New(phpNames)); }
/// <summary> /// Get the known PDO drivers /// </summary> /// <returns></returns> public static PhpArray pdo_drivers() { return(PhpArray.New(PDOEngine.GetDriverNames())); }
/// <summary> /// Get the known PDO drivers /// </summary> /// <returns></returns> public static PhpArray pdo_drivers() => new PhpArray(PDOEngine.GetDriverNames());