Skip to content

Instantly share code, notes, and snippets.

@hamishcampbell
Created March 16, 2011 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamishcampbell/873351 to your computer and use it in GitHub Desktop.
Save hamishcampbell/873351 to your computer and use it in GitHub Desktop.
ParserRegexp state before Apache (windows) crash
object(ParserRegexp)[30]
public 'parser' =>
object(SSTemplateParser)[29]
protected 'includeDebuggingComments' => boolean false
protected 'match_Template_typestack' =>
array
0 => string 'Template' (length=8)
protected 'match_Word_typestack' =>
array
0 => string 'Word' (length=4)
protected 'match_Number_typestack' =>
array
0 => string 'Number' (length=6)
protected 'match_Value_typestack' =>
array
0 => string 'Value' (length=5)
protected 'match_CallArguments_typestack' =>
array
0 => string 'CallArguments' (length=13)
protected 'match_Call_typestack' =>
array
0 => string 'Call' (length=4)
protected 'match_LookupStep_typestack' =>
array
0 => string 'LookupStep' (length=10)
protected 'match_LastLookupStep_typestack' =>
array
0 => string 'LastLookupStep' (length=14)
protected 'match_Lookup_typestack' =>
array
0 => string 'Lookup' (length=6)
protected 'match_SimpleInjection_typestack' =>
array
0 => string 'SimpleInjection' (length=15)
protected 'match_BracketInjection_typestack' =>
array
0 => string 'BracketInjection' (length=16)
protected 'match_Injection_typestack' =>
array
0 => string 'Injection' (length=9)
protected 'match_DollarMarkedLookup_typestack' =>
array
0 => string 'DollarMarkedLookup' (length=18)
protected 'match_QuotedString_typestack' =>
array
0 => string 'QuotedString' (length=12)
protected 'match_FreeString_typestack' =>
array
0 => string 'FreeString' (length=10)
protected 'match_Argument_typestack' =>
array
0 => string 'Argument' (length=8)
protected 'match_ComparisonOperator_typestack' =>
array
0 => string 'ComparisonOperator' (length=18)
protected 'match_Comparison_typestack' =>
array
0 => string 'Comparison' (length=10)
protected 'match_PresenceCheck_typestack' =>
array
0 => string 'PresenceCheck' (length=13)
protected 'match_IfArgumentPortion_typestack' =>
array
0 => string 'IfArgumentPortion' (length=17)
protected 'match_BooleanOperator_typestack' =>
array
0 => string 'BooleanOperator' (length=15)
protected 'match_IfArgument_typestack' =>
array
0 => string 'IfArgument' (length=10)
protected 'match_IfPart_typestack' =>
array
0 => string 'IfPart' (length=6)
protected 'match_ElseIfPart_typestack' =>
array
0 => string 'ElseIfPart' (length=10)
protected 'match_ElsePart_typestack' =>
array
0 => string 'ElsePart' (length=8)
protected 'match_If_typestack' =>
array
0 => string 'If' (length=2)
protected 'match_Require_typestack' =>
array
0 => string 'Require' (length=7)
protected 'match_CacheBlockArgument_typestack' =>
array
0 => string 'CacheBlockArgument' (length=18)
protected 'match_CacheBlockArguments_typestack' =>
array
0 => string 'CacheBlockArguments' (length=19)
protected 'match_CacheBlockTemplate_typestack' =>
array
0 => string 'CacheBlockTemplate' (length=18)
1 => string 'Template' (length=8)
protected 'match_UncachedBlock_typestack' =>
array
0 => string 'UncachedBlock' (length=13)
protected 'match_CacheRestrictedTemplate_typestack' =>
array
0 => string 'CacheRestrictedTemplate' (length=23)
1 => string 'Template' (length=8)
protected 'match_CacheBlock_typestack' =>
array
0 => string 'CacheBlock' (length=10)
protected 'match_OldTPart_typestack' =>
array
0 => string 'OldTPart' (length=8)
protected 'match_OldTTag_typestack' =>
array
0 => string 'OldTTag' (length=7)
protected 'match_OldSprintfTag_typestack' =>
array
0 => string 'OldSprintfTag' (length=13)
protected 'match_OldI18NTag_typestack' =>
array
0 => string 'OldI18NTag' (length=10)
protected 'match_BlockArguments_typestack' =>
array
0 => string 'BlockArguments' (length=14)
protected 'match_NotBlockTag_typestack' =>
array
0 => string 'NotBlockTag' (length=11)
protected 'match_ClosedBlock_typestack' =>
array
0 => string 'ClosedBlock' (length=11)
protected 'match_OpenBlock_typestack' =>
array
0 => string 'OpenBlock' (length=9)
protected 'match_MismatchedEndBlock_typestack' =>
array
0 => string 'MismatchedEndBlock' (length=18)
protected 'match_MalformedOpenTag_typestack' =>
array
0 => string 'MalformedOpenTag' (length=16)
protected 'match_MalformedCloseTag_typestack' =>
array
0 => string 'MalformedCloseTag' (length=17)
protected 'match_MalformedBlock_typestack' =>
array
0 => string 'MalformedBlock' (length=14)
protected 'match_Comment_typestack' =>
array
0 => string 'Comment' (length=7)
protected 'match_TopTemplate_typestack' =>
array
0 => string 'TopTemplate' (length=11)
1 => string 'Template' (length=8)
protected 'match_Text_typestack' =>
array
0 => string 'Text' (length=4)
public 'string' => string '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<% base_tag %>
<title>$Title &raquo; $SiteConfig.Title</title>
$MetaTags(false)
<link rel="shortcut icon" href="/favicon.ico" />
<% require themedCSS(layout) %>
<% require themedCSS(typography) %>
<% require themedCSS(form) %>
<!--[if IE 6]>
<style type="text/css">
@import url(themes/blackcandy/cs'... (length=1161)
public 'pos' => int 423
public 'depth' => int 0
public 'regexps' =>
array
'/
(
(\\.) | # Any escaped character
([^<${]) | # Any character that isn't <, $ or {
(<[^%]) | # < if not followed by %
($[^A-Za-z_]) | # $ if not followed by A-Z, a-z or _
({[^$]) | # { if not followed by $
({$[^A-Za-z_]) # {$ if not followed A-Z, a-z or _
)+
/' =>
&object(ParserRegexp)[30]
'/ [A-Za-z_] [A-Za-z0-9_]* /' =>
object(ParserRegexp)[31]
...
'/['"]/' =>
object(ParserRegexp)[32]
...
'/[^,)%!=|&]+/' =>
object(ParserRegexp)[33]
...
public 'rx' => string '/
(
(\\.) | # Any escaped character
([^<${]) | # Any character that isn't <, $ or {
(<[^%]) | # < if not followed by %
($[^A-Za-z_]) | # $ if not followed by A-Z, a-z or _
({[^$]) | # { if not followed by $
({$[^A-Za-z_]) # {$ if not followed A-Z, a-z or _
)+
/Sx' (length=343)
public 'matches' =>
array
0 =>
array
0 => string '
' (length=5)
1 => int 389
1 =>
array
0 => string ' ' (length=1)
1 => int 393
2 =>
array
0 => string '' (length=0)
1 => int -1
3 =>
array
0 => string ' ' (length=1)
1 => int 393
public 'match_pos' => int 389
public 'check_pos' => int 389
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment