ErrorException[ Fatal Error ]: Out of memory (allocated 2359296) (tried to allocate 80693 bytes)

D:\wwwroot\zhb369\wwwroot\lib\inc\keke_tpl_class.php[ 48 ]

43 		$template = preg_replace ( "/([\n\r]+)\t+/s", "\\1", $template );
44 		$template = preg_replace ( "/(\\\$[a-zA-Z0-9_\[\]\'\"\$\x7f-\xff]+)\.([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)/s", "\\1['\\2']", $template );
45 		$template = preg_replace ( "/\{(\\\$[a-zA-Z0-9_\[\]\'\"\$\.\x7f-\xff]+)\}/s", "<?=\\1?>", $template );
46 		$template = preg_replace ( "/$var_regexp/es", "keke_tpl_class::addquote('<?=\\1?>')", $template );
47 		$template = preg_replace ( "/\<\?\=\<\?\=$var_regexp\?\>\?\>/es", "keke_tpl_class::addquote('<?php echo \\1;?>')", $template );
48 		$template = preg_replace ( "/\{elseif\s+(.+?)\}/ies", "keke_tpl_class::stripvtags('<?php } elseif(\\1) { ?>','')", $template );
49 		$template = preg_replace ( "/\{else\}/is", "<?php } else { ?>", $template );
50 		for($i = 0; $i < 6; $i ++) {
51 			$template = preg_replace ( "/\{loop\s+(\S+)\s+(\S+)\}(.+?)\{\/loop\}/ies", "keke_tpl_class::stripvtags('<?php if(is_array(\\1)) { foreach(\\1 as \\2) { ?>','\\3<?php } } ?>')", $template );
52 			$template = preg_replace ( "/\{loop\s+(\S+)\s+(\S+)\s+(\S+)\}(.+?)\{\/loop\}/ies", "keke_tpl_class::stripvtags('<?php if(is_array(\\1)) { foreach(\\1 as \\2 => \\3) { ?>','\\4<?php } } ?>')", $template );
53 			$template = preg_replace ( "/\{if\s+(.+?)\}(.+?)\{\/if\}/ies", "keke_tpl_class::stripvtags('<?php if(\\1) { ?>','\\2<?php } ?>')", $template );
  1. PHP internal call » keke_core_class::shutdown_handler ( )

Environment