without this you get segfaults running phpinfo(). this is the same problem fixed by ports/lang/php/5.3/patches/patch-ext_tidy_tidy_c and ports/lang/php/5.4/patches/patch-ext_tidy_tidy_c
Index: patch-ext_tidy_tidy_c =================================================================== RCS file: /cvs/ports/lang/php/5.5/patches/patch-ext_tidy_tidy_c,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-ext_tidy_tidy_c --- patch-ext_tidy_tidy_c 7 Aug 2013 16:46:55 -0000 1.1.1.1 +++ patch-ext_tidy_tidy_c 4 Jun 2015 01:28:54 -0000 @@ -1,12 +1,15 @@ $OpenBSD: patch-ext_tidy_tidy_c,v 1.1.1.1 2013/08/07 16:46:55 robert Exp $ --- ext/tidy/tidy.c.orig.port Wed Jul 3 08:10:53 2013 +++ ext/tidy/tidy.c Sat Jul 27 18:39:50 2013 -@@ -30,7 +30,7 @@ +@@ -30,7 +30,8 @@ #include "php_ini.h" #include "ext/standard/info.h" -#include "tidy.h" +#include "tidyp.h" ++#define tidyReleaseDate() tidyVersion() + #include "buffio.h" + #include "buffio.h" /* compatibility with older versions of libtidy */