mirror of
https://github.com/php/php-src.git
synced 2026-04-15 03:51:07 +02:00
test to function PDO_getAvaliableDrivers;
was add new function to PDO::getAvailableDrivers
This commit is contained in:
11
ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt
Normal file
11
ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt
Normal file
@@ -0,0 +1,11 @@
|
||||
--TEST--
|
||||
public static array PDO::getAvailableDrivers ( void );
|
||||
array pdo_drivers ( void );
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br> - #phparty7 - @phpsp - novatec/2015 - sao paulo - br
|
||||
--FILE--
|
||||
<?php
|
||||
print((is_array(PDO::getAvailableDrivers())) ? ("yes") : ("Test 'array stream_get_wrappers ( void );' has failed"));
|
||||
?>
|
||||
--EXPECT--
|
||||
yes
|
||||
Reference in New Issue
Block a user