|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-25 15:57 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 13 08:00:02 2025 UTC |
Description: ------------ This function in ext/standard/array.c is supposed to zero out the contents of array_globals, but will actually only zero out a single pointer's worth of data. static void php_array_init_globals(zend_array_globals *array_globals) { memset(array_globals, 0, sizeof(array_globals)); } That should be sizeof(*array_globals).