]> granicus.if.org Git - php/commitdiff
- Keep the old arginfo for now
authorJohannes Schlüter <johannes@php.net>
Wed, 18 May 2011 10:21:28 +0000 (10:21 +0000)
committerJohannes Schlüter <johannes@php.net>
Wed, 18 May 2011 10:21:28 +0000 (10:21 +0000)
# This change we would E_RECOVERABLE instead of E_WARNING
# and needs some more review, as well fixing ~80 tests

ext/mysqli/mysqli_fe.c

index bbc1ff3982f443a243c62a9301e4e8d8edb8acc0..6d80c5507c75a49e3e7d4e9a69073f53fe3de9b5 100644 (file)
@@ -33,7 +33,7 @@
 #include "mysqli_fe.h"
 #include "mysqli_priv.h"
 
-#if PHP_VERSION_ID >= 50400
+#ifdef MYSQLI_USE_FULL_TYPED_ARGINFO_0
 #define MYSQLI_ZEND_ARG_OBJ_INFO_LINK() ZEND_ARG_OBJ_INFO(0, link, mysqli, 0)
 #define MYSQLI_ZEND_ARG_OBJ_INFO_RESULT() ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
 #define MYSQLI_ZEND_ARG_OBJ_INFO_STMT() ZEND_ARG_OBJ_INFO(0, stmt, mysqli_stmt, 0)