Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ext/lexbor/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ PHP_LEXBOR_CFLAGS="-I@ext_srcdir@/"
LEXBOR_DIR="lexbor"

AC_DEFINE([HAVE_LEXBOR], [1], [Define to 1 if the PHP extension 'lexbor' is available.])
AC_DEFINE([LEXBOR_VERSION], ["2.5.0"], [Define the main Lexbor version])

PHP_NEW_EXTENSION([lexbor], m4_normalize([
php_lexbor.c
Expand Down
1 change: 0 additions & 1 deletion ext/lexbor/config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ ADD_SOURCES("ext/lexbor/lexbor/url", "url.c","lexbor");
ADD_FLAG("CFLAGS_LEXBOR", "/D LEXBOR_BUILDING /utf-8");

AC_DEFINE("HAVE_LEXBOR", 1, "Define to 1 if the PHP extension 'lexbor' is available.");
AC_DEFINE("LEXBOR_VERSION", "2.5.0", "Define the main Lexbor version")

PHP_INSTALL_HEADERS("ext/lexbor", "php_lexbor.h lexbor/");
3 changes: 2 additions & 1 deletion ext/lexbor/php_lexbor.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "php.h"
#include "zend_globals.h"
#include "ext/standard/info.h"
#include "lexbor/core/base.h"
#include "lexbor/core/types.h"
#include "lexbor/core/lexbor.h"

Expand Down Expand Up @@ -53,7 +54,7 @@ static PHP_MINFO_FUNCTION(lexbor)
{
php_info_print_table_start();
php_info_print_table_row(2, "Lexbor support", "active");
php_info_print_table_row(2, "Lexbor version", LEXBOR_VERSION);
php_info_print_table_row(2, "Lexbor version", LEXBOR_VERSION_STRING);
php_info_print_table_end();
}

Expand Down
Loading