mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
- Fixed test
This commit is contained in:
parent
0f53b4e515
commit
0aa36e2d97
@ -17,7 +17,7 @@ echo "ATTR_CLIENT_VERSION: ";
|
||||
$cv = $dbh->getAttribute(PDO::ATTR_CLIENT_VERSION);
|
||||
var_dump($cv);
|
||||
|
||||
$s = split("\.", $cv);
|
||||
$s = explode(".", $cv);
|
||||
if ($s[0] >= 10 && count($s) > 1 && $s[1] >= 2) {
|
||||
if (count($s) != 5) {
|
||||
echo "Wrong number of values in array\nVersion was: ";
|
||||
|
Loading…
Reference in New Issue
Block a user