]> granicus.if.org Git - php/commitdiff
- Added SKIPIF
authorFelipe Pena <felipe@php.net>
Tue, 14 Oct 2008 17:46:28 +0000 (17:46 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 14 Oct 2008 17:46:28 +0000 (17:46 +0000)
ext/pdo_mysql/tests/bug46292.phpt

index e959baefc4d74162bc4f8bde0eb015998c3752da..183708f0a6f9db4efa3c8c5a743b3c14cb925549 100644 (file)
@@ -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