Closed (fixed)
Project:
Drupal core
Version:
6.16
Component:
forms system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2010 at 14:48 UTC
Updated:
13 Apr 2010 at 17:00 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedsubscribing.
Comment #2
rfaysubscribe.
Comment #3
effulgentsia commentedIt's solved in D7 (no more #post at all, $form_state['input'] instead). I don't know enough about how PHP manages array vs. array reference internals: it seems logical to think an array reference uses less memory, but PHP memory management is not always logical. I doubt it makes sense to change it for D6 though, as the change would not be entirely backwards compatible functionally. Marking "fixed" as a support request. Feel free to re-open as a "bug", especially if there's a real use-case of running out of memory that would be solved.
Comment #4
heine commentedPHP features copy on write (at least PHP 5; I erased all knowledge of PHP 4). The post array in the form points to the same data unless you modify it.