diff --git a/Zend/zend.h b/Zend/zend.h
index 5918691c27..05a43d2779 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -20,7 +20,7 @@
#ifndef ZEND_H
#define ZEND_H
-#define ZEND_VERSION "3.4.0-dev"
+#define ZEND_VERSION "4.0.0-dev"
#define ZEND_ENGINE_3
diff --git a/configure.ac b/configure.ac
index 2da7776e53..1ed2839b0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,8 +109,8 @@ extern "C++" {
#endif /* PHP_CONFIG_H */
])
-PHP_MAJOR_VERSION=7
-PHP_MINOR_VERSION=4
+PHP_MAJOR_VERSION=8