OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/
-#include "php_psi_stdinc.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#else
+# include "php_config.h"
+#endif
#include "data.h"
#include <Zend/zend_smart_str.h>
}
}
-void psi_impl_var_dump(int fd, struct psi_impl_var *var, bool vararg)
+void psi_impl_var_dump(struct psi_dump *dump, struct psi_impl_var *var, bool vararg)
{
- dprintf(fd, "%s%s%s",
+ PSI_DUMP(dump, "%s%s%s",
var->reference ? "&" : "",
vararg ? "..." : "",
var->name->val);