+/* ====================
+ * Thierry - Jan. 30 2013
+ * patch for php - issues first triggered on f18 with php-5.4
+ * https://bugs.php.net/bug.php?id=60016
+ * https://bugs.php.net/bug.php?id=60016
+ */
+#if ZEND_MODULE_API_NO >= 20100525
+// No more defined with PHP 5.4
+#define function_entry zend_function_entry
+#define pval zval
+#endif
+/* ==================== end patch */
+
+/* ====================
+ * Thierry - Jan. 2 2015
+ * patch for php - issues first triggered on f21 with php-5.6
+ * somebody somehow seems to have undefined
+ * the IS_CONSTANT_ARRAY constant
+ *
+ * however I'd rather not change the code that runs
+ * on older releases, so see for the ugly ifdef below
+ *
+/* ==================== end patch */
+
+