diff options
| author | Felipe Pena <felipe@php.net> | 2008-10-14 17:45:52 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-10-14 17:45:52 +0000 |
| commit | 42e3a93a8b54340822c96ea760c2f0f8aa118e10 (patch) | |
| tree | e3703cba342dd17429f5a918e980f9912f29ed91 /ext/pdo_mysql/tests | |
| parent | 84be2eb47b9512d257f9816dc5adef792e275294 (diff) | |
| download | php-git-42e3a93a8b54340822c96ea760c2f0f8aa118e10.tar.gz | |
- Added SKIPIF
Diffstat (limited to 'ext/pdo_mysql/tests')
| -rw-r--r-- | ext/pdo_mysql/tests/bug46292.phpt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/pdo_mysql/tests/bug46292.phpt b/ext/pdo_mysql/tests/bug46292.phpt index e959baefc4..183708f0a6 100644 --- a/ext/pdo_mysql/tests/bug46292.phpt +++ b/ext/pdo_mysql/tests/bug46292.phpt @@ -1,5 +1,13 @@ --TEST-- Bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE) +--SKIPIF-- +<?php +require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc'); +require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); +MySQLPDOTest::skip(); +if (version_compare(PHP_VERSION, '5.1.0', '<')) + die("skip Needs 5.1.0 and Interface Serializable"); +?> --FILE-- <?php |
