• Leonard Hecker's avatar
    php: Fix formatting of Duration (#6155) · 43307d4d
    Leonard Hecker authored
    * php: Fixed php notices for unknown enum indices
    
    * php: Fixed formatting of Duration
    
    This fixes:
    * Missing nanoseconds. The nanoseconds where divided as a float and
      implicitly converted to a string before being passed to bcadd.
      This can result in a float formatted in scientific/exponential notation,
      which bcmath doesn't understand.
    * Durations are supposed to be formatted without trailing zeroes.
    43307d4d
Name
Last commit
Last update
..
Field Loading commit data...
Internal Loading commit data...
Any.php Loading commit data...
Api.php Loading commit data...
BoolValue.php Loading commit data...
BytesValue.php Loading commit data...
Descriptor.php Loading commit data...
DescriptorPool.php Loading commit data...
DoubleValue.php Loading commit data...
Duration.php Loading commit data...
Enum.php Loading commit data...
EnumDescriptor.php Loading commit data...
EnumValue.php Loading commit data...
EnumValueDescriptor.php Loading commit data...
Field.php Loading commit data...
FieldDescriptor.php Loading commit data...
FieldMask.php Loading commit data...
Field_Cardinality.php Loading commit data...
Field_Kind.php Loading commit data...
FloatValue.php Loading commit data...
GPBEmpty.php Loading commit data...
Int32Value.php Loading commit data...
Int64Value.php Loading commit data...
ListValue.php Loading commit data...
Method.php Loading commit data...
Mixin.php Loading commit data...
NullValue.php Loading commit data...
OneofDescriptor.php Loading commit data...
Option.php Loading commit data...
SourceContext.php Loading commit data...
StringValue.php Loading commit data...
Struct.php Loading commit data...
Syntax.php Loading commit data...
Timestamp.php Loading commit data...
Type.php Loading commit data...
UInt32Value.php Loading commit data...
UInt64Value.php Loading commit data...
Value.php Loading commit data...