summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION163
-rw-r--r--php-pecl-runkit7.spec11
3 files changed, 170 insertions, 6 deletions
diff --git a/PHPINFO b/PHPINFO
index fa7f2b7..7ce476e 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,7 @@
runkit
runkit support => enabled
-version => 2.0.3
+version => 2.1.0
Custom Superglobal support => enabled
Sandbox Support => disable or unavailable
Runtime Manipulation => enabled
diff --git a/REFLECTION b/REFLECTION
index 9a4ee68..993ed9a 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
+Extension [ <persistent> extension #142 runkit version 2.1.0 ] {
- INI {
Entry [ runkit.superglobal <PERDIR,SYSTEM> ]
@@ -9,44 +9,85 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
}
}
- - Constants [17] {
+ - Constants [34] {
Constant [ integer RUNKIT_IMPORT_FUNCTIONS ] { 1 }
+ Constant [ integer RUNKIT7_IMPORT_FUNCTIONS ] { 1 }
Constant [ integer RUNKIT_IMPORT_CLASS_METHODS ] { 2 }
+ Constant [ integer RUNKIT7_IMPORT_CLASS_METHODS ] { 2 }
Constant [ integer RUNKIT_IMPORT_CLASS_CONSTS ] { 4 }
+ Constant [ integer RUNKIT7_IMPORT_CLASS_CONSTS ] { 4 }
Constant [ integer RUNKIT_IMPORT_CLASS_PROPS ] { 8 }
+ Constant [ integer RUNKIT7_IMPORT_CLASS_PROPS ] { 8 }
Constant [ integer RUNKIT_IMPORT_CLASS_STATIC_PROPS ] { 16 }
+ Constant [ integer RUNKIT7_IMPORT_CLASS_STATIC_PROPS ] { 16 }
Constant [ integer RUNKIT_IMPORT_CLASSES ] { 30 }
+ Constant [ integer RUNKIT7_IMPORT_CLASSES ] { 30 }
Constant [ integer RUNKIT_IMPORT_OVERRIDE ] { 32 }
- Constant [ string RUNKIT_VERSION ] { 2.0.3 }
+ 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 }
+ Constant [ integer RUNKIT7_ACC_PUBLIC ] { 256 }
Constant [ integer RUNKIT_ACC_PROTECTED ] { 512 }
+ Constant [ integer RUNKIT7_ACC_PROTECTED ] { 512 }
Constant [ integer RUNKIT_ACC_PRIVATE ] { 1024 }
+ Constant [ integer RUNKIT7_ACC_PRIVATE ] { 1024 }
Constant [ integer RUNKIT_ACC_STATIC ] { 1 }
+ Constant [ integer RUNKIT7_ACC_STATIC ] { 1 }
Constant [ integer RUNKIT_OVERRIDE_OBJECTS ] { 32768 }
+ Constant [ integer RUNKIT7_OVERRIDE_OBJECTS ] { 32768 }
Constant [ integer RUNKIT_FEATURE_MANIPULATION ] { 1 }
+ Constant [ integer RUNKIT7_FEATURE_MANIPULATION ] { 1 }
Constant [ integer RUNKIT_FEATURE_SUPERGLOBALS ] { 1 }
+ Constant [ integer RUNKIT7_FEATURE_SUPERGLOBALS ] { 1 }
Constant [ integer RUNKIT_FEATURE_SANDBOX ] { 0 }
+ Constant [ integer RUNKIT7_FEATURE_SANDBOX ] { 0 }
}
- Functions {
+ Function [ <internal:runkit> function runkit7_zval_inspect ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
Function [ <internal:runkit> function runkit_zval_inspect ] {
- Parameters [1] {
Parameter #0 [ <required> $value ]
}
}
+ Function [ <internal:runkit> function runkit7_object_id ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $obj ]
+ }
+ }
Function [ <internal:runkit> function runkit_object_id ] {
- Parameters [1] {
Parameter #0 [ <required> $obj ]
}
}
+ Function [ <internal:runkit> function runkit7_superglobals ] {
+
+ - Parameters [0] {
+ }
+ }
Function [ <internal:runkit> function runkit_superglobals ] {
- Parameters [0] {
}
}
+ Function [ <internal:runkit> function runkit7_import ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $filename ]
+ Parameter #1 [ <optional> $flags ]
+ }
+ }
Function [ <internal:runkit> function runkit_import ] {
- Parameters [2] {
@@ -54,6 +95,18 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #1 [ <optional> $flags ]
}
}
+ Function [ <internal:runkit> function runkit7_function_add ] {
+
+ - Parameters [7] {
+ Parameter #0 [ <required> $funcname ]
+ Parameter #1 [ <required> $arglist_or_closure ]
+ Parameter #2 [ <optional> $code_or_doc_comment ]
+ Parameter #3 [ <optional> $return_by_reference ]
+ Parameter #4 [ <optional> $doc_comment ]
+ Parameter #5 [ <optional> $return_type ]
+ Parameter #6 [ <optional> $is_strict ]
+ }
+ }
Function [ <internal:runkit> function runkit_function_add ] {
- Parameters [7] {
@@ -66,12 +119,25 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #6 [ <optional> $is_strict ]
}
}
+ Function [ <internal:runkit> function runkit7_function_remove ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $funcname ]
+ }
+ }
Function [ <internal:runkit> function runkit_function_remove ] {
- Parameters [1] {
Parameter #0 [ <required> $funcname ]
}
}
+ Function [ <internal:runkit> function runkit7_function_rename ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $funcname ]
+ Parameter #1 [ <required> $newname ]
+ }
+ }
Function [ <internal:runkit> function runkit_function_rename ] {
- Parameters [2] {
@@ -79,6 +145,18 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #1 [ <required> $newname ]
}
}
+ Function [ <internal:runkit> function runkit7_function_redefine ] {
+
+ - Parameters [7] {
+ Parameter #0 [ <required> $funcname ]
+ Parameter #1 [ <required> $arglist_or_closure ]
+ Parameter #2 [ <required> $code_or_doc_comment ]
+ Parameter #3 [ <optional> $return_by_reference ]
+ Parameter #4 [ <optional> $doc_comment ]
+ Parameter #5 [ <optional> $return_type ]
+ Parameter #6 [ <optional> $is_strict ]
+ }
+ }
Function [ <internal:runkit> function runkit_function_redefine ] {
- Parameters [7] {
@@ -91,6 +169,13 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #6 [ <optional> $is_strict ]
}
}
+ Function [ <internal:runkit> function runkit7_function_copy ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $funcname ]
+ Parameter #1 [ <required> $targetname ]
+ }
+ }
Function [ <internal:runkit> function runkit_function_copy ] {
- Parameters [2] {
@@ -98,6 +183,19 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #1 [ <required> $targetname ]
}
}
+ Function [ <internal:runkit> function runkit7_method_add ] {
+
+ - Parameters [8] {
+ Parameter #0 [ <required> $classname ]
+ Parameter #1 [ <required> $methodname ]
+ Parameter #2 [ <required> $arglist_or_closure ]
+ Parameter #3 [ <optional> $code_or_flags ]
+ Parameter #4 [ <optional> $flags_or_doc_comment ]
+ Parameter #5 [ <optional> $doc_comment ]
+ Parameter #6 [ <optional> $return_type ]
+ Parameter #7 [ <optional> $is_strict ]
+ }
+ }
Function [ <internal:runkit> function runkit_method_add ] {
- Parameters [8] {
@@ -111,6 +209,19 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #7 [ <optional> $is_strict ]
}
}
+ Function [ <internal:runkit> function runkit7_method_redefine ] {
+
+ - Parameters [8] {
+ Parameter #0 [ <required> $classname ]
+ Parameter #1 [ <required> $methodname ]
+ Parameter #2 [ <required> $arglist_or_closure ]
+ Parameter #3 [ <optional> $code_or_flags ]
+ Parameter #4 [ <optional> $flags_or_doc_comment ]
+ Parameter #5 [ <optional> $doc_comment ]
+ Parameter #6 [ <optional> $return_type ]
+ Parameter #7 [ <optional> $is_strict ]
+ }
+ }
Function [ <internal:runkit> function runkit_method_redefine ] {
- Parameters [8] {
@@ -124,6 +235,13 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #7 [ <optional> $is_strict ]
}
}
+ Function [ <internal:runkit> function runkit7_method_remove ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $classname ]
+ Parameter #1 [ <required> $methodname ]
+ }
+ }
Function [ <internal:runkit> function runkit_method_remove ] {
- Parameters [2] {
@@ -131,6 +249,14 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #1 [ <required> $methodname ]
}
}
+ Function [ <internal:runkit> function runkit7_method_rename ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $classname ]
+ Parameter #1 [ <required> $methodname ]
+ Parameter #2 [ <required> $newname ]
+ }
+ }
Function [ <internal:runkit> function runkit_method_rename ] {
- Parameters [3] {
@@ -139,6 +265,15 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #2 [ <required> $newname ]
}
}
+ Function [ <internal:runkit> function runkit7_method_copy ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $dClass ]
+ Parameter #1 [ <required> $dMethod ]
+ Parameter #2 [ <required> $sClass ]
+ Parameter #3 [ <optional> $sMethod ]
+ }
+ }
Function [ <internal:runkit> function runkit_method_copy ] {
- Parameters [4] {
@@ -148,6 +283,14 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #3 [ <optional> $sMethod ]
}
}
+ Function [ <internal:runkit> function runkit7_constant_redefine ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $constname ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <optional> $newVisibility ]
+ }
+ }
Function [ <internal:runkit> function runkit_constant_redefine ] {
- Parameters [3] {
@@ -156,12 +299,26 @@ Extension [ <persistent> extension #142 runkit version 2.0.3 ] {
Parameter #2 [ <optional> $newVisibility ]
}
}
+ Function [ <internal:runkit> function runkit7_constant_remove ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $constname ]
+ }
+ }
Function [ <internal:runkit> function runkit_constant_remove ] {
- Parameters [1] {
Parameter #0 [ <required> $constname ]
}
}
+ Function [ <internal:runkit> function runkit7_constant_add ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $constname ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <optional> $newVisibility ]
+ }
+ }
Function [ <internal:runkit> function runkit_constant_add ] {
- Parameters [3] {
diff --git a/php-pecl-runkit7.spec b/php-pecl-runkit7.spec
index 1697594..2d5c3e1 100644
--- a/php-pecl-runkit7.spec
+++ b/php-pecl-runkit7.spec
@@ -20,7 +20,7 @@
%global ini_name 40-%{pecl_name}.ini
%global with_tests 0%{!?_without_tests:1}
-%global upstream_version 2.0.3
+%global upstream_version 2.1.0
#global upstream_prever RC1
Name: %{?sub_prefix}php-pecl-%{proj_name}
@@ -62,9 +62,13 @@ Obsoletes: php72u-pecl-%{proj_name} <= %{version}
Obsoletes: php72w-pecl-%{proj_name} <= %{version}
%endif
%if "%{php_version}" > "7.3"
-Obsoletes: php73u-pecl-%{proj_name} <= %{version}
+Obsoletes: php73-pecl-%{proj_name} <= %{version}
Obsoletes: php73w-pecl-%{proj_name} <= %{version}
%endif
+%if "%{php_version}" > "7.4"
+Obsoletes: php74-pecl-%{proj_name} <= %{version}
+Obsoletes: php74w-pecl-%{proj_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -231,6 +235,9 @@ fi
%endif
%changelog
+* Wed May 29 2019 Remi Collet <remi@remirepo.net> - 2.1.0-1
+- update to 2.1.0
+
* Fri Apr 19 2019 Remi Collet <remi@remirepo.net> - 2.0.3-1
- update to 2.0.3