From 2809da7279e7a0c144a471f6b8c9d6f98f70f703 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 7 Jun 2019 13:54:29 +0200 Subject: - update to 3.0.0RC1 - extension renamed from runkit to runkit7 --- PHPINFO | 6 ++--- REFLECTION | 74 +++++++++++++++++++++++++-------------------------- php-pecl-runkit7.spec | 16 ++++++----- 3 files changed, 49 insertions(+), 47 deletions(-) diff --git a/PHPINFO b/PHPINFO index 7ce476e..fb1a7c7 100644 --- a/PHPINFO +++ b/PHPINFO @@ -1,8 +1,8 @@ -runkit +runkit7 -runkit support => enabled -version => 2.1.0 +runkit7 support => enabled +version => 3.0.0RC1 Custom Superglobal support => enabled Sandbox Support => disable or unavailable Runtime Manipulation => enabled diff --git a/REFLECTION b/REFLECTION index 993ed9a..e3e423a 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #142 runkit version 2.1.0 ] { +Extension [ extension #142 runkit7 version 3.0.0RC1 ] { - INI { Entry [ runkit.superglobal ] @@ -9,7 +9,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { } } - - Constants [34] { + - Constants [32] { Constant [ integer RUNKIT_IMPORT_FUNCTIONS ] { 1 } Constant [ integer RUNKIT7_IMPORT_FUNCTIONS ] { 1 } Constant [ integer RUNKIT_IMPORT_CLASS_METHODS ] { 2 } @@ -24,8 +24,6 @@ Extension [ extension #142 runkit version 2.1.0 ] { Constant [ integer RUNKIT7_IMPORT_CLASSES ] { 30 } Constant [ integer RUNKIT_IMPORT_OVERRIDE ] { 32 } Constant [ integer RUNKIT7_IMPORT_OVERRIDE ] { 32 } - Constant [ string RUNKIT_VERSION ] { 2.1.0 } - Constant [ string RUNKIT7_VERSION ] { 2.1.0 } Constant [ integer RUNKIT_ACC_RETURN_REFERENCE ] { 67108864 } Constant [ integer RUNKIT7_ACC_RETURN_REFERENCE ] { 67108864 } Constant [ integer RUNKIT_ACC_PUBLIC ] { 256 } @@ -47,55 +45,55 @@ Extension [ extension #142 runkit version 2.1.0 ] { } - Functions { - Function [ function runkit7_zval_inspect ] { + Function [ function runkit7_zval_inspect ] { - Parameters [1] { Parameter #0 [ $value ] } } - Function [ function runkit_zval_inspect ] { + Function [ function runkit_zval_inspect ] { - Parameters [1] { Parameter #0 [ $value ] } } - Function [ function runkit7_object_id ] { + Function [ function runkit7_object_id ] { - Parameters [1] { Parameter #0 [ $obj ] } } - Function [ function runkit_object_id ] { + Function [ function runkit_object_id ] { - Parameters [1] { Parameter #0 [ $obj ] } } - Function [ function runkit7_superglobals ] { + Function [ function runkit7_superglobals ] { - Parameters [0] { } } - Function [ function runkit_superglobals ] { + Function [ function runkit_superglobals ] { - Parameters [0] { } } - Function [ function runkit7_import ] { + Function [ function runkit7_import ] { - Parameters [2] { Parameter #0 [ $filename ] Parameter #1 [ $flags ] } } - Function [ function runkit_import ] { + Function [ function runkit_import ] { - Parameters [2] { Parameter #0 [ $filename ] Parameter #1 [ $flags ] } } - Function [ function runkit7_function_add ] { + Function [ function runkit7_function_add ] { - Parameters [7] { Parameter #0 [ $funcname ] @@ -107,7 +105,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #6 [ $is_strict ] } } - Function [ function runkit_function_add ] { + Function [ function runkit_function_add ] { - Parameters [7] { Parameter #0 [ $funcname ] @@ -119,33 +117,33 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #6 [ $is_strict ] } } - Function [ function runkit7_function_remove ] { + Function [ function runkit7_function_remove ] { - Parameters [1] { Parameter #0 [ $funcname ] } } - Function [ function runkit_function_remove ] { + Function [ function runkit_function_remove ] { - Parameters [1] { Parameter #0 [ $funcname ] } } - Function [ function runkit7_function_rename ] { + Function [ function runkit7_function_rename ] { - Parameters [2] { Parameter #0 [ $funcname ] Parameter #1 [ $newname ] } } - Function [ function runkit_function_rename ] { + Function [ function runkit_function_rename ] { - Parameters [2] { Parameter #0 [ $funcname ] Parameter #1 [ $newname ] } } - Function [ function runkit7_function_redefine ] { + Function [ function runkit7_function_redefine ] { - Parameters [7] { Parameter #0 [ $funcname ] @@ -157,7 +155,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #6 [ $is_strict ] } } - Function [ function runkit_function_redefine ] { + Function [ function runkit_function_redefine ] { - Parameters [7] { Parameter #0 [ $funcname ] @@ -169,21 +167,21 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #6 [ $is_strict ] } } - Function [ function runkit7_function_copy ] { + Function [ function runkit7_function_copy ] { - Parameters [2] { Parameter #0 [ $funcname ] Parameter #1 [ $targetname ] } } - Function [ function runkit_function_copy ] { + Function [ function runkit_function_copy ] { - Parameters [2] { Parameter #0 [ $funcname ] Parameter #1 [ $targetname ] } } - Function [ function runkit7_method_add ] { + Function [ function runkit7_method_add ] { - Parameters [8] { Parameter #0 [ $classname ] @@ -196,7 +194,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #7 [ $is_strict ] } } - Function [ function runkit_method_add ] { + Function [ function runkit_method_add ] { - Parameters [8] { Parameter #0 [ $classname ] @@ -209,7 +207,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #7 [ $is_strict ] } } - Function [ function runkit7_method_redefine ] { + Function [ function runkit7_method_redefine ] { - Parameters [8] { Parameter #0 [ $classname ] @@ -222,7 +220,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #7 [ $is_strict ] } } - Function [ function runkit_method_redefine ] { + Function [ function runkit_method_redefine ] { - Parameters [8] { Parameter #0 [ $classname ] @@ -235,21 +233,21 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #7 [ $is_strict ] } } - Function [ function runkit7_method_remove ] { + Function [ function runkit7_method_remove ] { - Parameters [2] { Parameter #0 [ $classname ] Parameter #1 [ $methodname ] } } - Function [ function runkit_method_remove ] { + Function [ function runkit_method_remove ] { - Parameters [2] { Parameter #0 [ $classname ] Parameter #1 [ $methodname ] } } - Function [ function runkit7_method_rename ] { + Function [ function runkit7_method_rename ] { - Parameters [3] { Parameter #0 [ $classname ] @@ -257,7 +255,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #2 [ $newname ] } } - Function [ function runkit_method_rename ] { + Function [ function runkit_method_rename ] { - Parameters [3] { Parameter #0 [ $classname ] @@ -265,7 +263,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #2 [ $newname ] } } - Function [ function runkit7_method_copy ] { + Function [ function runkit7_method_copy ] { - Parameters [4] { Parameter #0 [ $dClass ] @@ -274,7 +272,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #3 [ $sMethod ] } } - Function [ function runkit_method_copy ] { + Function [ function runkit_method_copy ] { - Parameters [4] { Parameter #0 [ $dClass ] @@ -283,7 +281,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #3 [ $sMethod ] } } - Function [ function runkit7_constant_redefine ] { + Function [ function runkit7_constant_redefine ] { - Parameters [3] { Parameter #0 [ $constname ] @@ -291,7 +289,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #2 [ $newVisibility ] } } - Function [ function runkit_constant_redefine ] { + Function [ function runkit_constant_redefine ] { - Parameters [3] { Parameter #0 [ $constname ] @@ -299,19 +297,19 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #2 [ $newVisibility ] } } - Function [ function runkit7_constant_remove ] { + Function [ function runkit7_constant_remove ] { - Parameters [1] { Parameter #0 [ $constname ] } } - Function [ function runkit_constant_remove ] { + Function [ function runkit_constant_remove ] { - Parameters [1] { Parameter #0 [ $constname ] } } - Function [ function runkit7_constant_add ] { + Function [ function runkit7_constant_add ] { - Parameters [3] { Parameter #0 [ $constname ] @@ -319,7 +317,7 @@ Extension [ extension #142 runkit version 2.1.0 ] { Parameter #2 [ $newVisibility ] } } - Function [ function runkit_constant_add ] { + Function [ function runkit_constant_add ] { - Parameters [3] { Parameter #0 [ $constname ] diff --git a/php-pecl-runkit7.spec b/php-pecl-runkit7.spec index 2d5c3e1..f90c1a7 100644 --- a/php-pecl-runkit7.spec +++ b/php-pecl-runkit7.spec @@ -15,13 +15,13 @@ # The project is runkit7 but the extension is only runkit %global proj_name runkit7 -%global pecl_name runkit +%global pecl_name runkit7 %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini %global with_tests 0%{!?_without_tests:1} -%global upstream_version 2.1.0 -#global upstream_prever RC1 +%global upstream_version 3.0.0 +%global upstream_prever RC1 Name: %{?sub_prefix}php-pecl-%{proj_name} Summary: For all those things you... shouldn't have been doing anyway... but surely do! @@ -30,7 +30,7 @@ Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_ License: BSD URL: https://pecl.php.net/package/%{proj_name} -Source0: https://pecl.php.net/get/%{proj_name}-%{version}.tgz +Source0: https://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.1 @@ -95,7 +95,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -extver=$(sed -n '/#define PHP_RUNKIT_VERSION/{s/.*\t"//;s/".*$//;p}' runkit.h) +extver=$(sed -n '/#define PHP_RUNKIT7_VERSION/{s/.*\t"//;s/".*$//;p}' runkit.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:dev}"; then : Error: Upstream RUNKIT version is now ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:dev}. : Update the pdover macro and rebuild. @@ -124,7 +124,7 @@ cp -pr NTS ZTS peclconf() { %configure \ - --enable-runkit \ + --enable-runkit7 \ --with-libdir=%{_lib} \ --with-php-config=$1 } @@ -235,6 +235,10 @@ fi %endif %changelog +* Fri Jun 7 2019 Remi Collet - 3.0.0~RC1-1 +- update to 3.0.0RC1 +- extension renamed from runkit to runkit7 + * Wed May 29 2019 Remi Collet - 2.1.0-1 - update to 2.1.0 -- cgit