[PR #8670] Bug/#8667 segmentation fault when column is nullable #11118

Open
opened 2026-01-22 16:09:46 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/8670

State: closed
Merged: No


When property in Entity is defined as column with ManyToOne relation and have possibility to provide nullable values, during insertion to database original \PDO object returns PHP Core error Segmentation fault, because we trying to bind nullable parameter as integer. But this PullRequest is just proposition. Maybe someone have better idea how we can manage nullable relation and binding of parameters.

Tested with doctrine\orm 2.9.x and PHP 8.0.5

**Original Pull Request:** https://github.com/doctrine/orm/pull/8670 **State:** closed **Merged:** No --- When property in Entity is defined as column with ManyToOne relation and have possibility to provide nullable values, during insertion to database original `\PDO` object returns PHP Core error `Segmentation fault`, because we trying to bind nullable parameter as integer. But this PullRequest is just proposition. Maybe someone have better idea how we can manage nullable relation and binding of parameters. Tested with `doctrine\orm` 2.9.x and PHP 8.0.5
admin added the pull-request label 2026-01-22 16:09:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#11118