Skip to content

Commit d456105

Browse files
author
Bulat Shakirzyanov
committed
require PHP 5.3.4 or later
1 parent 8cdeaec commit d456105

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Cassandra's native protocol. The current version works with:
6363

6464
* Apache Cassandra versions 1.2, 2.0 and partially 2.1
6565
* DataStax Enterprise 3.1, 3.2, 4.0 and 4.5
66-
* PHP 5.3+
66+
* PHP 5.3.4+
6767

6868
__NOTE__: Apache Cassandra 2.1 support is limited to the Cassandra 2.0 API, e.g. no user-defined types.
6969

ext/php_cassandra.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
#include <Zend/zend_exceptions.h>
2323
#include <Zend/zend_interfaces.h>
2424

25+
#if PHP_VERSION_ID < 50304
26+
# error PHP 5.3.4 or later is required in order to build the driver
27+
#endif
28+
2529
#if HAVE_SPL
2630
# include <ext/spl/spl_iterators.h>
2731
# include <ext/spl/spl_exceptions.h>

0 commit comments

Comments
 (0)