diff options
-rw-r--r-- | PHPINFO | 2 | ||||
-rw-r--r-- | REFLECTION | 9 | ||||
-rw-r--r-- | php-ast.spec | 19 |
3 files changed, 19 insertions, 11 deletions
@@ -2,3 +2,5 @@ ast ast support => enabled +extension version => 1.0.2 +AST version => Current version is 70. All versions (including experimental): {50, 60, 70} @@ -1,6 +1,6 @@ -Extension [ <persistent> extension #77 ast version 1.0.1 ] { +Extension [ <persistent> extension #76 ast version 1.0.2 ] { - - Constants [173] { + - Constants [174] { Constant [ integer ast\AST_ARG_LIST ] { 128 } Constant [ integer ast\AST_LIST ] { 255 } Constant [ integer ast\AST_ARRAY ] { 129 } @@ -24,6 +24,7 @@ Extension [ <persistent> extension #77 ast version 1.0.1 ] { Constant [ integer ast\AST_FUNC_DECL ] { 66 } Constant [ integer ast\AST_CLOSURE ] { 67 } Constant [ integer ast\AST_METHOD ] { 68 } + Constant [ integer ast\AST_ARROW_FUNC ] { 1535 } Constant [ integer ast\AST_CLASS ] { 69 } Constant [ integer ast\AST_MAGIC_CONST ] { 0 } Constant [ integer ast\AST_TYPE ] { 1 } @@ -181,14 +182,14 @@ Extension [ <persistent> extension #77 ast version 1.0.1 ] { - Parameters [2] { Parameter #0 [ <required> $filename ] - Parameter #1 [ <optional> $version ] + Parameter #1 [ <required> $version ] } } Function [ <internal:ast> function ast\parse_code ] { - Parameters [3] { Parameter #0 [ <required> $code ] - Parameter #1 [ <optional> $version ] + Parameter #1 [ <required> $version ] Parameter #2 [ <optional> $filename ] } } diff --git a/php-ast.spec b/php-ast.spec index 1dfe641..4abc723 100644 --- a/php-ast.spec +++ b/php-ast.spec @@ -20,7 +20,7 @@ Summary: Abstract Syntax Tree Name: %{?scl_prefix}php-ast -Version: 1.0.1 +Version: 1.0.2 %if 0%{?gh_date:1} Release: 0.5.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else @@ -55,10 +55,6 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -Obsoletes: php70u-%{pecl_name} <= %{version} -Obsoletes: php70u-pecl-%{pecl_name} <= %{version} -Obsoletes: php70w-%{pecl_name} <= %{version} -Obsoletes: php70w-pecl-%{pecl_name} <= %{version} %if "%{php_version}" > "7.1" Obsoletes: php71u-%{pecl_name} <= %{version} Obsoletes: php71u-pecl-%{pecl_name} <= %{version} @@ -72,11 +68,17 @@ Obsoletes: php72w-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.3" -Obsoletes: php73u-%{pecl_name} <= %{version} -Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73-%{pecl_name} <= %{version} +Obsoletes: php73-pecl-%{pecl_name} <= %{version} Obsoletes: php73w-%{pecl_name} <= %{version} Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.4" +Obsoletes: php74-%{pecl_name} <= %{version} +Obsoletes: php74-pecl-%{pecl_name} <= %{version} +Obsoletes: php74w-%{pecl_name} <= %{version} +Obsoletes: php74w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -236,6 +238,9 @@ fi %changelog +* Mon Jul 1 2019 Remi Collet <remi@remirepo.net> - 1.0.2-1 +- update to 1.0.2 + * Mon Feb 11 2019 Remi Collet <remi@remirepo.net> - 1.0.1-1 - update to 1.0.1 |