• File: php_igbinary.h
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/cloudlinux/alt-php74/root/usr/include/php/ext/igbinary/php_igbinary.h
  • Date Modified: 11/04/2026 2:18 AM
  • File size: 788 bytes
  • MIME-type: text/x-c
  • Charset: utf-8
#ifndef PHPEXT_IGBINARY_BASE_PHP_IGBINARY_H
#define PHPEXT_IGBINARY_BASE_PHP_IGBINARY_H
#include "php_version.h"
#if PHP_MAJOR_VERSION == 7 || PHP_MAJOR_VERSION == 8
#include "ext/igbinary/src/php7/php_igbinary.h"
#else
#error "Unsupported php version for igbinary build"
#endif

/**
 * The below line is redundant
 * (and just mentioning phpext_ in a comment is sufficient).
 * This block is only here to make php-src/build/print_include.awk include this file,
 * when igbinary is placed in php-src/ext/igbinary/ (instead of compiled separately with `phpize; ...`)
 */
#ifndef phpext_igbinary_ptr
extern zend_module_entry igbinary_module_entry;
#define phpext_igbinary_ptr &igbinary_module_entry
#endif
/** End line needed for putting igbinary in php-src/ext/igbinary to work */

#endif