-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.2.8
-
Component/s: None
-
None
Run:
<?php error_reporting(-1); $a = new MongoDB\BSON\UTCDateTime(); echo $a->milliseconds, "\n"; var_dump( $a ); echo $a->milliseconds, "\n"; ?>
This throws:
Notice: Undefined property: MongoDB\BSON\UTCDateTime::$milliseconds in /tmp/m1.php on line 4 Call Stack: 0.0001 263184 1. {main}() /tmp/m1.php:0 /tmp/m1.php:6: class MongoDB\BSON\UTCDateTime#1 (1) { public $milliseconds => string(13) "1490279668697" } 1490279668697
- is related to
-
PHPC-894 BSON get_properties handlers leak during gc_possible_root() checks
- Closed
-
PHPC-460 BSON classes should support PHP serialization and var_export()
- Closed
-
PHPC-470 Implement __debugInfo() handlers
- Closed
-
PHPC-779 Switch serialization from O type to C type
- Closed
- related to
-
PHPC-1092 Infinite loop iterating BSON object properties with foreach
- Closed
-
PHPC-1598 Objects with get_properties handlers should have get_gc delegate to zend_std_get_properties
- Closed
(1 related to)