DDC-404: Doctrine\Common\Util\Debug::export() should deal with Proxy classes and PHP internal classes (read as DateTime) #502

Closed
opened 2026-01-22 12:40:37 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Mar 10, 2010).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user @guilhermeblanco:

Title explains everything.
Here is a converted JSON of an Entity:

{
    "*_CLASS_*":"FMM\\Entity\\POIRating",
    "id":8,
    "score":"1",
    "created":{"*_CLASS_*":"DateTime"},
    "updated":{"*_CLASS_*":"DateTime"},
    "PointOfInterest":{
        "*_CLASS_*":"FMM\\Entity\\Proxy\\FMMEntityPointOfInterestProxy",
        "_entityPersister":null,
        "_identifier":null,
        "*_isInitialized_*":true,
        "name":"Bar do Ze",
        "description":"Eh nois aqui",
        "address":"Rua do Ze, 10",
        "slug":"bar-do-ze",
        "created":{"*_CLASS_*":"DateTime"},
        "updated":{"*_CLASS_*":"DateTime"},
        "CustomValues":[],
....
Originally created by @doctrinebot on GitHub (Mar 10, 2010). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user @guilhermeblanco: Title explains everything. Here is a converted JSON of an Entity: ``` { "*_CLASS_*":"FMM\\Entity\\POIRating", "id":8, "score":"1", "created":{"*_CLASS_*":"DateTime"}, "updated":{"*_CLASS_*":"DateTime"}, "PointOfInterest":{ "*_CLASS_*":"FMM\\Entity\\Proxy\\FMMEntityPointOfInterestProxy", "_entityPersister":null, "_identifier":null, "*_isInitialized_*":true, "name":"Bar do Ze", "description":"Eh nois aqui", "address":"Rua do Ze, 10", "slug":"bar-do-ze", "created":{"*_CLASS_*":"DateTime"}, "updated":{"*_CLASS_*":"DateTime"}, "CustomValues":[], .... ```
admin added the Improvement label 2026-01-22 12:40:37 +01:00
admin closed this issue 2026-01-22 12:40:39 +01:00
Author
Owner

@doctrinebot commented on GitHub (Mar 20, 2010):

Comment created by @guilhermeblanco:

In r7439 this issue was fixed.

@doctrinebot commented on GitHub (Mar 20, 2010): Comment created by @guilhermeblanco: In r7439 this issue was fixed.
Author
Owner

@doctrinebot commented on GitHub (Mar 20, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Mar 20, 2010): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#502