File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / bug39438.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:47:52 2012 UTC (13 years, 1 month ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, v5_3_10, HEAD
php

    1: --TEST--
    2: Bug #39438 (Fatal error: Out of memory)
    3: --INI--
    4: memory_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();
   37: while($i<1200) {	
   38: 	$test[]=$test2;
   39: 	$i++;
   40: }
   41: $out=serialize($test);
   42: echo "ok\n";
   43: ?>
   44: --EXPECT--
   45: ok

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>