1--TEST-- 2Bug #39438 (Fatal error: Out of memory) 3--INI-- 4memory_limit=16M 5--FILE-- 6<?php 7$i=0; 8$test2=array( 9 'a1_teasermenu' => array( 10 'downloadcounter' => 2777, 11 'versions' => array( 12 '0.1.0' => array ( 13 'title' => 'A1 Teasermenu', 14 'description' => 'Displays a teaser for advanced subpages or a selection of advanced pages', 15 'state' => 'stable', 16 'reviewstate' => 0, 17 'category' => 'plugin', 18 'downloadcounter' => 2787, 19 'lastuploaddate' => 1088427240, 20 'dependencies' => array ( 21 'depends' => array( 22 'typo3' =>'', 23 'php' =>'', 24 'cms' => '' 25 ), 26 'conflicts' => array('' =>'') 27 ), 28 'authorname' => 'Mirko Balluff', 29 'authoremail' => 'balluff@amt1.de', 30 'ownerusername' => 'amt1', 31 't3xfilemd5' => '3a4ec198b6ea8d0bc2d69d9b7400398f', 32 ) 33 ) 34 ) 35); 36$test=array(); 37while($i<1200) { 38 $test[]=$test2; 39 $i++; 40} 41$out=serialize($test); 42echo "ok\n"; 43?> 44--EXPECT-- 45ok 46