summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql
diff options
context:
space:
mode:
authorJulien Pauli <jpauli@php.net>2015-12-24 14:08:59 +0100
committerJulien Pauli <jpauli@php.net>2015-12-24 14:08:59 +0100
commit048fb4b00f2e26c0d7e5ce3161722d631bc393fd (patch)
tree769b451fd795bbe8983b999d84bfe4040fc0583a /ext/pdo_mysql
parent3f09d301b5e4b50825b4560f0dd6673dbe616fc5 (diff)
parentd73d9fecf6c7a4cf2a7443f1a3833c8fb6e30ea1 (diff)
downloadphp-git-048fb4b00f2e26c0d7e5ce3161722d631bc393fd.tar.gz
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6: Fixed and improved tests test to function socket_getopt(); test to function socket_clear_error();; test to function socket_shutdown(); test to function socket_send(); test to function gethostname ( void ); test to function DateTimeZone::getLocation(); test to function stream_get_transports(); test to function stream_get_wrappers(); test to function stream_socket_enable_crypto(); test to function stream_socket_get_name(); Create stream_socket_recvfrom.phpt test to stream function set_file_buffer.phpt(); test to function PDO_getAvaliableDrivers; test to misc. function connection_status(); test to function connection_aborted(); test to function memory_get_peak_usage();
Diffstat (limited to 'ext/pdo_mysql')
-rw-r--r--ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt b/ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt
new file mode 100644
index 0000000000..07ddca183a
--- /dev/null
+++ b/ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt
@@ -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 failed"));
+?>
+--EXPECT--
+yes