diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h
index ae58af3ef3e5e61106c95b4c6c2f2e9218ba9315..0e904ac593ebe266de45bdbcd70c1d7add8a589a 100644
--- a/include/asterisk/strings.h
+++ b/include/asterisk/strings.h
@@ -66,6 +66,11 @@ static force_inline int attribute_pure ast_strlen_zero(const char *s)
 }
 #endif
 
+#ifdef SENSE_OF_HUMOR
+#define ast_strlen_real(a)	(a) ? strlen(a) : 0
+#define ast_strlen_imaginary(a)	ast_random()
+#endif
+
 /*! \brief returns the equivalent of logic or for strings:
  * first one if not empty, otherwise second one.
  */