summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-06-07 13:54:29 +0200
committerRemi Collet <remi@remirepo.net>2019-06-07 13:54:29 +0200
commit2809da7279e7a0c144a471f6b8c9d6f98f70f703 (patch)
tree514906e638b4cbefb0da6e2e581b1a036bded79b
parentea237a40ade4baa12c684d5a539c9def07ca644e (diff)
- update to 3.0.0RC1
- extension renamed from runkit to runkit7
-rw-r--r--PHPINFO6
-rw-r--r--REFLECTION74
-rw-r--r--php-pecl-runkit7.spec16
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 [ <persistent> extension #142 runkit version 2.1.0 ] {
+Extension [ <persistent> extension #142 runkit7 version 3.0.0RC1 ] {
- INI {
Entry [ runkit.superglobal <PERDIR,SYSTEM> ]
@@ -9,7 +9,7 @@ Extension [ <persistent> 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 [ <persistent> 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 [ <persistent> extension #142 runkit version 2.1.0 ] {
}
- Functions {
- Function [ <internal:runkit> function runkit7_zval_inspect ] {
+ Function [ <internal:runkit7> function runkit7_zval_inspect ] {
- Parameters [1] {
Parameter #0 [ <required> $value ]
}
}
- Function [ <internal:runkit> function runkit_zval_inspect ] {
+ Function [ <internal:runkit7> function runkit_zval_inspect ] {
- Parameters [1] {
Parameter #0 [ <required> $value ]
}
}
- Function [ <internal:runkit> function runkit7_object_id ] {
+ Function [ <internal:runkit7> function runkit7_object_id ] {
- Parameters [1] {
Parameter #0 [ <required> $obj ]
}
}
- Function [ <internal:runkit> function runkit_object_id ] {
+ Function [ <internal:runkit7> function runkit_object_id ] {
- Parameters [1] {
Parameter #0 [ <required> $obj ]
}
}
- Function [ <internal:runkit> function runkit7_superglobals ] {
+ Function [ <internal:runkit7> function runkit7_superglobals ] {
- Parameters [0] {
}
}
- Function [ <internal:runkit> function runkit_superglobals ] {
+ Function [ <internal:runkit7> function runkit_superglobals ] {
- Parameters [0] {
}
}
- Function [ <internal:runkit> function runkit7_import ] {
+ Function [ <internal:runkit7> function runkit7_import ] {
- Parameters [2] {
Parameter #0 [ <required> $filename ]
Parameter #1 [ <optional> $flags ]
}
}
- Function [ <internal:runkit> function runkit_import ] {
+ Function [ <internal:runkit7> function runkit_import ] {
- Parameters [2] {
Parameter #0 [ <required> $filename ]
Parameter #1 [ <optional> $flags ]
}
}
- Function [ <internal:runkit> function runkit7_function_add ] {
+ Function [ <internal:runkit7> function runkit7_function_add ] {
- Parameters [7] {
Parameter #0 [ <required> $funcname ]
@@ -107,7 +105,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #6 [ <optional> $is_strict ]
}
}
- Function [ <internal:runkit> function runkit_function_add ] {
+ Function [ <internal:runkit7> function runkit_function_add ] {
- Parameters [7] {
Parameter #0 [ <required> $funcname ]
@@ -119,33 +117,33 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #6 [ <optional> $is_strict ]
}
}
- Function [ <internal:runkit> function runkit7_function_remove ] {
+ Function [ <internal:runkit7> function runkit7_function_remove ] {
- Parameters [1] {
Parameter #0 [ <required> $funcname ]
}
}
- Function [ <internal:runkit> function runkit_function_remove ] {
+ Function [ <internal:runkit7> function runkit_function_remove ] {
- Parameters [1] {
Parameter #0 [ <required> $funcname ]
}
}
- Function [ <internal:runkit> function runkit7_function_rename ] {
+ Function [ <internal:runkit7> function runkit7_function_rename ] {
- Parameters [2] {
Parameter #0 [ <required> $funcname ]
Parameter #1 [ <required> $newname ]
}
}
- Function [ <internal:runkit> function runkit_function_rename ] {
+ Function [ <internal:runkit7> function runkit_function_rename ] {
- Parameters [2] {
Parameter #0 [ <required> $funcname ]
Parameter #1 [ <required> $newname ]
}
}
- Function [ <internal:runkit> function runkit7_function_redefine ] {
+ Function [ <internal:runkit7> function runkit7_function_redefine ] {
- Parameters [7] {
Parameter #0 [ <required> $funcname ]
@@ -157,7 +155,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #6 [ <optional> $is_strict ]
}
}
- Function [ <internal:runkit> function runkit_function_redefine ] {
+ Function [ <internal:runkit7> function runkit_function_redefine ] {
- Parameters [7] {
Parameter #0 [ <required> $funcname ]
@@ -169,21 +167,21 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #6 [ <optional> $is_strict ]
}
}
- Function [ <internal:runkit> function runkit7_function_copy ] {
+ Function [ <internal:runkit7> function runkit7_function_copy ] {
- Parameters [2] {
Parameter #0 [ <required> $funcname ]
Parameter #1 [ <required> $targetname ]
}
}
- Function [ <internal:runkit> function runkit_function_copy ] {
+ Function [ <internal:runkit7> function runkit_function_copy ] {
- Parameters [2] {
Parameter #0 [ <required> $funcname ]
Parameter #1 [ <required> $targetname ]
}
}
- Function [ <internal:runkit> function runkit7_method_add ] {
+ Function [ <internal:runkit7> function runkit7_method_add ] {
- Parameters [8] {
Parameter #0 [ <required> $classname ]
@@ -196,7 +194,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #7 [ <optional> $is_strict ]
}
}
- Function [ <internal:runkit> function runkit_method_add ] {
+ Function [ <internal:runkit7> function runkit_method_add ] {
- Parameters [8] {
Parameter #0 [ <required> $classname ]
@@ -209,7 +207,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #7 [ <optional> $is_strict ]
}
}
- Function [ <internal:runkit> function runkit7_method_redefine ] {
+ Function [ <internal:runkit7> function runkit7_method_redefine ] {
- Parameters [8] {
Parameter #0 [ <required> $classname ]
@@ -222,7 +220,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #7 [ <optional> $is_strict ]
}
}
- Function [ <internal:runkit> function runkit_method_redefine ] {
+ Function [ <internal:runkit7> function runkit_method_redefine ] {
- Parameters [8] {
Parameter #0 [ <required> $classname ]
@@ -235,21 +233,21 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #7 [ <optional> $is_strict ]
}
}
- Function [ <internal:runkit> function runkit7_method_remove ] {
+ Function [ <internal:runkit7> function runkit7_method_remove ] {
- Parameters [2] {
Parameter #0 [ <required> $classname ]
Parameter #1 [ <required> $methodname ]
}
}
- Function [ <internal:runkit> function runkit_method_remove ] {
+ Function [ <internal:runkit7> function runkit_method_remove ] {
- Parameters [2] {
Parameter #0 [ <required> $classname ]
Parameter #1 [ <required> $methodname ]
}
}
- Function [ <internal:runkit> function runkit7_method_rename ] {
+ Function [ <internal:runkit7> function runkit7_method_rename ] {
- Parameters [3] {
Parameter #0 [ <required> $classname ]
@@ -257,7 +255,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #2 [ <required> $newname ]
}
}
- Function [ <internal:runkit> function runkit_method_rename ] {
+ Function [ <internal:runkit7> function runkit_method_rename ] {
- Parameters [3] {
Parameter #0 [ <required> $classname ]
@@ -265,7 +263,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #2 [ <required> $newname ]
}
}
- Function [ <internal:runkit> function runkit7_method_copy ] {
+ Function [ <internal:runkit7> function runkit7_method_copy ] {
- Parameters [4] {
Parameter #0 [ <required> $dClass ]
@@ -274,7 +272,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #3 [ <optional> $sMethod ]
}
}
- Function [ <internal:runkit> function runkit_method_copy ] {
+ Function [ <internal:runkit7> function runkit_method_copy ] {
- Parameters [4] {
Parameter #0 [ <required> $dClass ]
@@ -283,7 +281,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #3 [ <optional> $sMethod ]
}
}
- Function [ <internal:runkit> function runkit7_constant_redefine ] {
+ Function [ <internal:runkit7> function runkit7_constant_redefine ] {
- Parameters [3] {
Parameter #0 [ <required> $constname ]
@@ -291,7 +289,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #2 [ <optional> $newVisibility ]
}
}
- Function [ <internal:runkit> function runkit_constant_redefine ] {
+ Function [ <internal:runkit7> function runkit_constant_redefine ] {
- Parameters [3] {
Parameter #0 [ <required> $constname ]
@@ -299,19 +297,19 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #2 [ <optional> $newVisibility ]
}
}
- Function [ <internal:runkit> function runkit7_constant_remove ] {
+ Function [ <internal:runkit7> function runkit7_constant_remove ] {
- Parameters [1] {
Parameter #0 [ <required> $constname ]
}
}
- Function [ <internal:runkit> function runkit_constant_remove ] {
+ Function [ <internal:runkit7> function runkit_constant_remove ] {
- Parameters [1] {
Parameter #0 [ <required> $constname ]
}
}
- Function [ <internal:runkit> function runkit7_constant_add ] {
+ Function [ <internal:runkit7> function runkit7_constant_add ] {
- Parameters [3] {
Parameter #0 [ <required> $constname ]
@@ -319,7 +317,7 @@ Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
Parameter #2 [ <optional> $newVisibility ]
}
}
- Function [ <internal:runkit> function runkit_constant_add ] {
+ Function [ <internal:runkit7> function runkit_constant_add ] {
- Parameters [3] {
Parameter #0 [ <required> $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 <remi@remirepo.net> - 3.0.0~RC1-1
+- update to 3.0.0RC1
+- extension renamed from runkit to runkit7
+
* Wed May 29 2019 Remi Collet <remi@remirepo.net> - 2.1.0-1
- update to 2.1.0