summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION618
-rw-r--r--php-pecl-protobuf.spec165
3 files changed, 531 insertions, 254 deletions
diff --git a/PHPINFO b/PHPINFO
index 7974675..51c5c40 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -1,7 +1,7 @@
protobuf
-Version => 4.29.0RC1
+Version => 5.34.1
Directive => Local Value => Master Value
protobuf.keep_descriptor_pool_after_request => 0 => 0
diff --git a/REFLECTION b/REFLECTION
index 5d79409..af463e1 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
+Extension [ <persistent> extension #110 protobuf version 5.34.1 ] {
- Dependencies {
Dependency [ date (Optional) ]
@@ -10,7 +10,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- - Classes [56] {
+ - Classes [57] {
Class [ <internal:protobuf> final class Google\Protobuf\Internal\Arena ] {
- Constants [0] {
@@ -29,7 +29,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> <iterateable> final class Google\Protobuf\Internal\RepeatedField implements ArrayAccess, IteratorAggregate, Traversable, Countable ] {
+ Class [ <internal:protobuf> <iterateable> final class Google\Protobuf\RepeatedField implements ArrayAccess, IteratorAggregate, Traversable, Countable ] {
- Constants [0] {
}
@@ -169,7 +169,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Static properties [0] {
}
- - Static methods [13] {
+ - Static methods [14] {
Method [ <internal:protobuf> static public method checkInt32 ] {
- Parameters [1] {
@@ -268,6 +268,14 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Parameter #2 [ <optional> $class = <default> ]
}
}
+
+ Method [ <internal:protobuf> static public method compatibleInt64 ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $int_val ]
+ Parameter #1 [ <required> $str_val ]
+ }
+ }
}
- Properties [0] {
@@ -453,7 +461,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [9] {
+ - Methods [11] {
Method [ <internal:protobuf> public method getName ] {
- Parameters [0] {
@@ -466,7 +474,13 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Method [ <internal:protobuf> public method getLabel ] {
+ Method [ <internal:protobuf> public method isRequired ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method isRepeated ] {
- Parameters [0] {
}
@@ -502,6 +516,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasPresence ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getMessageType ] {
- Parameters [0] {
@@ -787,7 +807,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -977,7 +998,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1079,7 +1101,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [28] {
+ - Methods [31] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -1152,6 +1174,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasSourceContext ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getMixins ] {
- Parameters [0] {
@@ -1178,6 +1206,19 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method getEdition ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setEdition ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -1205,7 +1246,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1284,7 +1326,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [28] {
+ - Methods [30] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -1383,6 +1425,19 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method getEdition ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setEdition ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -1410,7 +1465,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1550,7 +1606,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1713,7 +1770,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1850,7 +1908,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2000,7 +2059,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2150,7 +2210,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2300,7 +2361,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2379,7 +2441,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [18] {
+ - Methods [19] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -2413,6 +2475,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasValue ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -2440,7 +2508,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2519,7 +2588,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [27] {
+ - Methods [33] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -2540,6 +2609,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasNullValue ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getNumberValue ] {
- Parameters [0] {
@@ -2553,6 +2628,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasNumberValue ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getStringValue ] {
- Parameters [0] {
@@ -2566,6 +2647,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasStringValue ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getBoolValue ] {
- Parameters [0] {
@@ -2579,6 +2666,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasBoolValue ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getStructValue ] {
- Parameters [0] {
@@ -2592,6 +2685,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasStructValue ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getListValue ] {
- Parameters [0] {
@@ -2605,6 +2704,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasListValue ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getKind ] {
- Parameters [0] {
@@ -2638,7 +2743,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2765,7 +2871,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2862,6 +2969,183 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Timestamp ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [1] {
+ Method [ <internal:protobuf> static public method initOnce ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:protobuf> final class Google\Protobuf\Timestamp extends Google\Protobuf\Internal\Message ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [20] {
+ Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $data = <default> ]
+ }
+ }
+
+ Method [ <internal:protobuf> public method getSeconds ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setSeconds ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:protobuf> public method getNanos ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setNanos ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:protobuf> public method fromDateTime ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $datetime ]
+ }
+ }
+
+ Method [ <internal:protobuf> public method toDateTime ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method discardUnknownFields ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToString ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFromString ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $data ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFromJsonString ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $data ]
+ Parameter #1 [ <optional> $arg = <default> ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFrom ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $data ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method readWrapperValue ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $field ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method writeWrapperValue ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $field ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method hasOneof ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $field ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method readOneof ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $field ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method writeOneof ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $field ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method whichOneof ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $field ]
+ }
+ }
+ }
+ }
+
Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Type ] {
- Constants [0] {
@@ -2899,7 +3183,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [26] {
+ - Methods [29] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -2972,6 +3256,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasSourceContext ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getSyntax ] {
- Parameters [0] {
@@ -2985,6 +3275,19 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method getEdition ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setEdition ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -3012,7 +3315,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3256,7 +3560,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3420,7 +3725,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [24] {
+ - Methods [27] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -3480,6 +3785,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasSourceContext ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getSyntax ] {
- Parameters [0] {
@@ -3493,6 +3804,19 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method getEdition ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setEdition ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -3520,7 +3844,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3673,7 +3998,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3752,7 +4078,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [18] {
+ - Methods [19] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -3786,6 +4112,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
+ Method [ <internal:protobuf> public method hasValue ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -3813,7 +4145,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3880,9 +4213,10 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Class [ <internal:protobuf> class Google\Protobuf\Syntax ] {
- - Constants [2] {
+ - Constants [3] {
Constant [ public int SYNTAX_PROTO2 ] { 0 }
Constant [ public int SYNTAX_PROTO3 ] { 1 }
+ Constant [ public int SYNTAX_EDITIONS ] { 2 }
}
- Static properties [0] {
@@ -3911,7 +4245,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Timestamp ] {
+ Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Wrappers ] {
- Constants [0] {
}
@@ -3934,7 +4268,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\Timestamp extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\DoubleValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -3948,7 +4282,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [20] {
+ - Methods [16] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -3956,45 +4290,19 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Method [ <internal:protobuf> public method getSeconds ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf> public method setSeconds ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $value ]
- }
- }
-
- Method [ <internal:protobuf> public method getNanos ] {
+ Method [ <internal:protobuf> public method getValue ] {
- Parameters [0] {
}
}
- Method [ <internal:protobuf> public method setNanos ] {
+ Method [ <internal:protobuf> public method setValue ] {
- Parameters [1] {
Parameter #0 [ <required> $value ]
}
}
- Method [ <internal:protobuf> public method fromDateTime ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $datetime ]
- }
- }
-
- Method [ <internal:protobuf> public method toDateTime ] {
-
- - Parameters [0] {
- }
- }
-
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -4022,7 +4330,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4087,30 +4396,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Wrappers ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [1] {
- Method [ <internal:protobuf> static public method initOnce ] {
-
- - Parameters [0] {
- }
- }
- }
-
- - Properties [0] {
- }
-
- - Methods [0] {
- }
- }
-
- Class [ <internal:protobuf> final class Google\Protobuf\DoubleValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\FloatValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4172,7 +4458,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4237,7 +4524,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\FloatValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\Int64Value extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4299,7 +4586,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4364,7 +4652,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\Int64Value extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\UInt64Value extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4426,7 +4714,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4491,7 +4780,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\UInt64Value extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\Int32Value extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4553,7 +4842,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4618,7 +4908,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\Int32Value extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\UInt32Value extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4680,7 +4970,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4745,7 +5036,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\UInt32Value extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\BoolValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4807,7 +5098,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4872,7 +5164,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\BoolValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\StringValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4934,7 +5226,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4999,7 +5292,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\StringValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\BytesValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -5061,7 +5354,8 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -5126,9 +5420,12 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\BytesValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> class Google\Protobuf\PrintOptions ] {
- - Constants [0] {
+ - Constants [3] {
+ Constant [ public int PRESERVE_PROTO_FIELD_NAMES ] { 1 }
+ Constant [ public int ALWAYS_PRINT_ENUMS_AS_INTS ] { 2 }
+ Constant [ public int EMIT_DEFAULTS ] { 4 }
}
- Static properties [0] {
@@ -5140,116 +5437,7 @@ Extension [ <persistent> extension #91 protobuf version 4.29.0RC1 ] {
- Properties [0] {
}
- - Methods [16] {
- Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $data = <default> ]
- }
- }
-
- Method [ <internal:protobuf> public method getValue ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf> public method setValue ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $value ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method discardUnknownFields ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToString ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFromString ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFromJsonString ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $arg = <default> ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFrom ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method readWrapperValue ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $field ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method writeWrapperValue ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $field ]
- Parameter #1 [ <required> $value ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method hasOneof ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $field ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method readOneof ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $field ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method writeOneof ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $field ]
- Parameter #1 [ <required> $value ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method whichOneof ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $field ]
- }
- }
+ - Methods [0] {
}
}
}
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec
index 00afc78..0d41eaa 100644
--- a/php-pecl-protobuf.spec
+++ b/php-pecl-protobuf.spec
@@ -1,8 +1,8 @@
# remirepo spec file for php-pecl-protobuf
#
-# Copyright (c) 2016-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2016-2026 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -12,33 +12,45 @@
%global pecl_name protobuf
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
-%global upstream_version 4.29.0
-%global upstream_prever RC1
-%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
+%global library_version 34.1
+%global upstream_version 5.%{library_version}
+#global upstream_prever RC1
+%global sources php/ext/google/protobuf
%global _configure ../%{sources}/configure
-Summary: Mechanism for serializing structured data
+# Github forge
+%global gh_vend protocolbuffers
+%global gh_proj protobuf
+%global forgeurl https://github.com/%{gh_vend}/%{gh_proj}
+%global tag v%{library_version}%{?upstream_prever}
+# for EL-8 to avoid TAG usage
+%global archivename %{gh_proj}-%{library_version}%{?upstream_prever}
+
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Summary: Mechanism for serializing structured data
# protobuf extension is BSD
# third_party/utf8_range is MIT
License: BSD-3-Clause and MIT
-URL: https://pecl.php.net/package/%{pecl_name}
-Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
+Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
+Release: 1%{?dist}
+%forgemeta
+URL: %{forgeurl}
+Source0: %{forgesource}
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel >= 8.1
-BuildRequires: %{?scl_prefix}php-pear
+BuildRequires: %{?scl_prefix}php-devel >= 8.2
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
+# Extension
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+# PECL
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+# No PIE for now
%description
@@ -51,23 +63,19 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%prep
-%setup -q -c
-# Don't install/register tests
-sed -e 's/role="test"/role="src"/' \
- -e '/utf8_range/s/role="doc"/role="src"/' \
- -e '/LICENSE/s/role="doc"/role="src"/' \
- -i package.xml
-
-cd %{sources}
+%forgesetup
cp third_party/utf8_range/LICENSE LICENSE.utf8_range
+pushd %{sources}
+ln -s ../../../../third_party
+
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_PROTOBUF_VERSION/{s/.* "//;s/".*$//;p}' protobuf.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
: Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}.
exit 1
fi
-cd ..
+popd
mkdir NTS
%if %{with_zts}
@@ -87,14 +95,16 @@ EOF
%build
%{?dtsenable}
-cd %{sources}
+pushd %{sources}
%{__phpize}
sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
+popd
-cd ../NTS
+cd NTS
%configure \
--enable-protobuf \
--with-php-config=%{__phpconfig}
+
%make_build
%if %{with_zts}
@@ -102,6 +112,7 @@ cd ../ZTS
%configure \
--enable-protobuf \
--with-php-config=%{__ztsphpconfig}
+
%make_build
%endif
@@ -119,18 +130,6 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
-# Install the package XML file
-install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
-
-# Test & Documentation
-cd %{sources}
-for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
-do install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
-done
-for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
-do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
-done
-
%check
: Minimal load test for NTS extension
@@ -148,8 +147,7 @@ done
%files
-%license %{sources}/LICENSE*
-%{pecl_xmldir}/%{name}.xml
+%license LICENSE*
%config(noreplace) %{php_inidir}/%{ini_name}
%{php_extdir}/%{pecl_name}.so
@@ -161,6 +159,97 @@ done
%changelog
+* Fri Mar 20 2026 Remi Collet <remi@remirepo.net> - 5.34.1-1
+- update to 5.34.1 (no change)
+- drop pear/pecl dependency
+- sources from github
+
+* Fri Feb 27 2026 Remi Collet <remi@remirepo.net> - 5.34.0-1
+- update to 5.34.0
+
+* Fri Jan 23 2026 Remi Collet <remi@remirepo.net> - 5.34.0~RC1-1
+- update to 5.34.0RC1
+- raise dependency on PHP 8.2
+
+* Tue Jan 13 2026 Remi Collet <remi@remirepo.net> - 4.33.4-1
+- update to 4.33.4 (no change)
+
+* Mon Jan 12 2026 Remi Collet <remi@remirepo.net> - 4.33.3-1
+- update to 4.33.3
+
+* Sat Dec 6 2025 Remi Collet <remi@remirepo.net> - 4.33.2-1
+- update to 4.33.2
+
+* Fri Nov 14 2025 Remi Collet <remi@remirepo.net> - 4.33.1-1
+- update to 4.33.1 (no change)
+
+* Thu Oct 16 2025 Remi Collet <remi@remirepo.net> - 4.33.0-1
+- update to 4.33.0
+
+* Fri Oct 10 2025 Remi Collet <remi@remirepo.net> - 4.33.0~RC2-1
+- update to 4.33.0RC2 (no change)
+
+* Thu Oct 2 2025 Remi Collet <remi@remirepo.net> - 4.33.0~RC1-1
+- update to 4.33.0RC1
+
+* Fri Sep 12 2025 Remi Collet <remi@remirepo.net> - 4.32.1-1
+- update to 4.32.1 (no change)
+
+* Sat Aug 16 2025 Remi Collet <remi@remirepo.net> - 4.32.0-1
+- update to 4.32.0
+
+* Wed Aug 6 2025 Remi Collet <remi@remirepo.net> - 4.32.0~RC2-1
+- update to 4.32.0RC2
+
+* Tue Jul 22 2025 Remi Collet <remi@remirepo.net> - 4.32.0~RC1-1
+- update to 4.32.0RC1
+
+* Thu May 29 2025 Remi Collet <remi@remirepo.net> - 4.31.1-1
+- update to 4.31.1 (no change)
+
+* Thu May 15 2025 Remi Collet <remi@remirepo.net> - 4.31.0-1
+- update to 4.31.0
+
+* Mon May 5 2025 Remi Collet <remi@remirepo.net> - 4.31.0~RC2-1
+- update to 4.31.0RC2
+
+* Tue Apr 22 2025 Remi Collet <remi@remirepo.net> - 4.31.0~RC1-1
+- update to 4.31.0RC1
+
+* Thu Mar 27 2025 Remi Collet <remi@remirepo.net> - 4.30.2-1
+- update to 4.30.2 (no change)
+
+* Fri Mar 14 2025 Remi Collet <remi@remirepo.net> - 4.30.1-1
+- update to 4.30.1 (no change)
+
+* Wed Mar 5 2025 Remi Collet <remi@remirepo.net> - 4.30.0-1
+- update to 4.30.0
+
+* Thu Feb 27 2025 Remi Collet <remi@remirepo.net> - 4.30.0~RC2-1
+- update to 4.30.0RC2
+
+* Wed Feb 5 2025 Remi Collet <remi@remirepo.net> - 4.30.0~RC1-1
+- update to 4.30.0RC1
+
+* Thu Jan 9 2025 Remi Collet <remi@remirepo.net> - 4.29.3-1
+- update to 4.29.3 (no change)
+
+* Wed Dec 18 2024 Remi Collet <remi@remirepo.net> - 4.29.2-1
+- update to 4.29.2 (no change)
+- re-license spec file to CECILL-2.1
+
+* Thu Dec 5 2024 Remi Collet <remi@remirepo.net> - 4.29.1-1
+- update to 4.29.1 (no change)
+
+* Thu Nov 28 2024 Remi Collet <remi@remirepo.net> - 4.29.0-1
+- update to 4.29.0
+
+* Tue Nov 19 2024 Remi Collet <remi@remirepo.net> - 4.29.0~RC3-1
+- update to 4.29.0RC3
+
+* Thu Oct 24 2024 Remi Collet <remi@remirepo.net> - 4.29.0~RC2-1
+- update to 4.29.0RC2 (no change)
+
* Tue Oct 1 2024 Remi Collet <remi@remirepo.net> - 4.29.0~RC1-1
- update to 4.29.0RC1