[PR #405] [CLOSED] Add possibility to cache annotations wih APC #8142

Closed
opened 2026-01-22 15:58:36 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/405
Author: @zim32
Created: 7/21/2012
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • f6d5ff9 Fix for apc bug, when apc is lossing array cursor after apc_fetch. Now it is possible to cache annotation info

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php (+3 -2)

📄 Description

APC has a bug - after apc_fetch is made, arrays loose their cursors. That is why is_numeric(key(...)) is not working


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/405 **Author:** [@zim32](https://github.com/zim32) **Created:** 7/21/2012 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`f6d5ff9`](https://github.com/doctrine/orm/commit/f6d5ff901b06ba7f6a54ffd9a165c764357a77c2) Fix for apc bug, when apc is lossing array cursor after apc_fetch. Now it is possible to cache annotation info ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php` (+3 -2) </details> ### 📄 Description APC has a bug - after apc_fetch is made, arrays loose their cursors. That is why is_numeric(key(...)) is not working --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:58:36 +01:00
admin closed this issue 2026-01-22 15:58:37 +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#8142