Branch Coverage

lib/PHP/Decode/Parser.pm
Criterion Covered Total %
branch 886 1818 48.7


line true false branch
51 0 795 unless my $strmap = $args{'strmap'}
54 725 70 unless exists $self->{'max_strlen'}
58 725 70 unless exists $self->{'filename'}
60 725 70 unless exists $strmap->{'__LINE__'}
61 725 70 unless exists $strmap->{'#null'}
70 0 70 if exists $self->{'log'}
71 0 70 if exists $self->{'debug'}
96 0 0 if $s eq ""
102 0 0 if (/\G([$pat]+)/cgs) { }
0 0 elsif (/\G([^$pat]+)/cgs) { }
103 0 0 exists $ctrlmap{$_} ? :
116 0 0 unless (defined $s)
128 0 0 if ($self->{'max_strlen'} > 0 and !$maxlen || $maxlen > $self->{'max_strlen'})
131 0 0 if ($maxlen and length $s > $maxlen)
143 121 1909 if (exists $self->{'strmap'}{'rev'}{$v}) { }
153 0 1909 if $self->{'log'}
164 21 89 if (exists $self->{'strmap'}{'rev'}{$v}) { }
173 0 89 if $self->{'log'}
183 182 686 if (exists $self->{'strmap'}{'num'}{$v}) { }
192 0 686 if $self->{'log'}
204 0 344 if $self->{'log'}
211 0 274 if $self->{'log'}
223 0 309 if $self->{'log'}
233 0 781 if $self->{'log'}
243 0 538 if $self->{'log'}
253 0 1983 if $self->{'log'}
263 0 2877 if $self->{'log'}
273 0 853 if $self->{'log'}
283 0 55 if $self->{'log'}
293 0 52 if $self->{'log'}
303 0 41 if $self->{'log'}
313 0 8 if $self->{'log'}
323 0 69 if $self->{'log'}
333 0 1 if $self->{'log'}
343 0 34 if $self->{'log'}
353 0 12 if $self->{'log'}
370 0 2 if ($filename eq '__FILE__') { }
376 0 0 if $self->{'log'}
383 0 71 unless ($s =~ /^#\w+\d+$/)
387 0 71 if ($s =~ /^#null$/) { }
0 71 elsif ($s =~ /^#num\d+$/) { }
0 71 elsif ($s =~ /^#const\d+$/) { }
0 71 elsif ($s =~ /^#str\d+$/) { }
0 71 elsif ($s =~ /^#arr\d+$/) { }
0 71 elsif ($s =~ /^#fun\d+$/) { }
69 2 elsif ($s =~ /^#call\d+$/) { }
2 0 elsif ($s =~ /^#elem\d+$/) { }
0 0 elsif ($s =~ /^#expr\d+$/) { }
0 0 elsif ($s =~ /^#pfx\d+$/) { }
0 0 elsif ($s =~ /^#obj\d+$/) { }
0 0 elsif ($s =~ /^#scope\d+$/) { }
0 0 elsif ($s =~ /^#ns\d+$/) { }
0 0 elsif ($s =~ /^#inst\d+$/) { }
0 0 elsif ($s =~ /^#ref\d+$/) { }
0 0 elsif ($s =~ /^#class\d+$/) { }
0 0 elsif ($s =~ /^#trait\d+$/) { }
0 0 elsif ($s =~ /^#fh\d+$/) { }
0 0 elsif ($s =~ /^#blk\d+$/) { }
0 0 elsif ($s =~ /^#stmt\d+$/) { }
406 0 0 defined $f ? :
414 2 0 defined $i ? :
420 0 0 defined $v1 ? :
0 0 defined $v2 ? :
432 0 0 defined $n ? :
443 0 0 defined $c ? :
0 0 exists $p->{'parent'} ? :
448 0 0 defined $t ? :
461 0 0 if ($cmd eq 'echo') { }
0 0 elsif ($cmd eq 'print') { }
0 0 elsif ($cmd eq 'namespace') { }
0 0 elsif ($cmd =~ /^(include|include_once|require|require_once)$/) { }
0 0 elsif ($cmd eq 'use') { }
0 0 elsif ($cmd eq 'global') { }
0 0 elsif ($cmd eq 'static') { }
0 0 elsif ($cmd eq 'const') { }
0 0 elsif ($cmd eq 'unset') { }
0 0 elsif ($cmd eq 'return') { }
0 0 elsif ($cmd eq 'goto') { }
0 0 elsif ($cmd eq 'label') { }
0 0 elsif ($cmd eq 'throw') { }
0 0 elsif ($cmd eq 'if') { }
0 0 elsif ($cmd eq 'while') { }
0 0 elsif ($cmd eq 'do') { }
0 0 elsif ($cmd eq 'for') { }
0 0 elsif ($cmd eq 'foreach') { }
0 0 elsif ($cmd eq 'switch') { }
0 0 elsif ($cmd eq 'case') { }
0 0 elsif ($cmd eq 'try') { }
469 0 0 defined $block ? :
502 0 0 defined $else ? :
514 0 0 defined $key ? :
517 0 0 defined $_->[0] ? :
520 0 0 defined $expr ? :
523 0 0 defined $finally ? :
541 1202 21 if ($s =~ /^(\#(str|num|const)\d+|\#null)$/)
550 64 135 if ($s =~ /^(\#(str|num|const)\d+|\#null)$/)
559 0 0 if ($s =~ /^(\#num\d+|\#null)$/)
568 57 1022 if ($s =~ /^(\#null)$/)
577 259 7302 if ($s =~ /^(\#const\d++)$/)
586 135 55 if ($s =~ /^(\#num\d+)$/)
595 5832 10392 if ($s =~ /^(\#(str|num|const)\d+|\#null)$/)
604 968 1510 if ($s =~ /^#arr\d+$/)
613 4254 8546 if ($s =~ /^#blk\d+$/)
632 3 1 if (length $hex <= 10)
633 0 3 if ($hex =~ /^0X(.*)$/) { }
640 0 1 unless (defined $high)
651 0 1 if ($PHP::Decode::Parser::Config{'ivsize'} == 4) { }
678 6 2257 if (defined $tab->{'strmap'} and $sym eq ')' and $pos > 2 and $tab->{'tok'}[$pos - 1] =~ /^#num\d+$/ and $tab->{'tok'}[$pos - 2] eq '(' and $tab->{'tok'}[$pos - 3] =~ /^chr$/i) { }
685 6 0 if ($val != 0) { }
702 6 3487 if ($sym eq "\n")
704 0 6 if $tab->{'debug'}
716 4 2183 if ($sym eq '__LINE__') { }
736 1041 0 if (defined $tab->{'strmap'}) { }
742 11 984 if ($pos > 1 and $tab->{'tok'}[$pos - 1] eq "." and $tab->{'tok'}[$pos - 2] =~ /^#str\d+$/)
768 538 0 if (defined $tab->{'strmap'}) { }
772 4 534 if ($sym =~ /^0[xX][0-9a-fA-F]+$/) { }
0 534 elsif ($sym =~ /^0[0-7]+$/) { }
6 528 elsif ($sym =~ /^[0-9]*\.[0-9]*/) { }
802 1 7 if (scalar @{$tab->{'tok'};} > 0 and $tab->{'tok'}[-1] ne ";")
942 7443 14033 if ($s =~ /^\$(GLOBALS\$|#inst\d+\$|[\w\x80-\xff]+\$)?(\$|[^\$]*)$/)
951 4442 5897 if ($s =~ /^\$(GLOBALS\$|#inst\d+\$|[\w\x80-\xff]+\$)?[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*$/)
960 1814 272 if ($s =~ /^[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*$/)
969 17 0 if ($s =~ /^#const\d+$/)
970 12 5 if (exists $magic_constants{$self->{'strmap'}{$s}})
982 84 64 if (is_block($s))
984 79 5 if (scalar @$a == 0)
996 694 3099 if (is_block($s)) { }
1002 2996 103 if ($s ne "#null")
1014 238 7 if (is_block($s))
1016 147 91 if (scalar @$a == 1)
1081 3 11 if ($var =~ /^#ns\d+$/) { }
8 3 elsif (is_strval($var)) { }
1084 2 1 unless (defined $n)
1088 3 0 if (defined $e)
1106 79 11 if (is_strval($var))
1123 124 480 if ($base =~ /^\$GLOBALS$/)
1125 123 1 if (defined $idxval)
1144 37 17 if (defined $i)
1148 8 29 if (defined $g)
1172 1026 1 if (exists $self->{'strmap'}{'__LINEMAP__'}{$var})
1174 0 1026 if ($self->{'strmap'}{'__LINE__'} < $val)
1175 0 0 if $self->{'log'}
1221 0 0 if ($word =~ /^#/) { }
1238 0 244 if (scalar @$tok == 0)
1241 25 219 if ($tok->[0] eq $close)
1246 0 219 if (not defined $val or $val eq $close)
1249 1 218 if ($val eq ",")
1253 218 0 if (scalar @$tok > 0)
1254 103 115 if ($tok->[0] eq $close) { }
82 33 elsif ($tok->[0] eq ',') { }
33 0 elsif ($tok->[0] eq '=>') { }
1265 2 31 if ($key =~ /^#expr\d+$/) { }
1 30 elsif (is_null($key)) { }
1267 2 0 if ($op eq "-" and not defined $v1)
1269 2 0 if (defined $str and is_int_index($str))
1277 0 33 if (not defined $val or $val eq $close)
1282 33 0 if (scalar @$tok > 0) { }
1283 17 16 if ($tok->[0] eq $close) { }
16 0 elsif ($tok->[0] eq ',') { }
1304 3389 10012 if (scalar @$tok > 0 and $tok->[0] =~ /^([\;\:\,\)\]\}]|else|endif|endwhile|endfor|endforeach|as|=>|catch|finally)$/i) { }
16 9996 elsif (scalar @$tok > 0 and $tok->[0] =~ /^null$/i) { }
184 9812 elsif (scalar @$tok > 1 and $tok->[0] eq '{') { }
60 9752 elsif (scalar @$tok > 1 and $tok->[0] eq '(') { }
12 9740 elsif (scalar @$tok > 1 and $tok->[0] eq '[') { }
8 9732 elsif (scalar @$tok > 1 and $tok->[0] eq '&') { }
6083 3649 elsif (scalar @$tok == 1 || scalar @$tok > 1 && $tok->[1] =~ /^([\;\,\)\]\}]|as|=>)$/ || scalar @$tok > 2 && $tok->[1] eq ':' && $tok->[2] ne ':' and not exists $php_keywords{$tok->[0]}) { }
0 3649 elsif (scalar @$tok > 1 and $tok->[0] eq '<' and $tok->[1] eq '?') { }
0 3649 elsif (scalar @$tok > 5 and $tok->[0] eq '<' and $tok->[1] eq 'script' and $tok->[2] eq 'type' and $tok->[3] eq '=' and $tok->[5] eq '>') { }
0 3649 elsif (scalar @$tok > 1 and $tok->[0] eq '?' and $tok->[1] eq '>') { }
147 3502 elsif (scalar @$tok > 1 and lc $tok->[0] eq 'echo') { }
0 3502 elsif (scalar @$tok > 1 and lc $tok->[0] eq 'print') { }
10 3492 elsif (scalar @$tok > 1 and lc $tok->[0] eq 'namespace') { }
0 3492 elsif (scalar @$tok > 1 and lc $tok->[0] eq 'use') { }
0 3492 elsif (scalar @$tok > 1 and $tok->[0] =~ /^(include|include_once|require|require_once)$/i) { }
6 3486 elsif (scalar @$tok > 1 and lc $tok->[0] eq 'global') { }
118 3368 elsif (scalar @$tok > 1 and lc $tok->[0] eq 'return') { }
1 3367 elsif (scalar @$tok > 1 and lc $tok->[0] eq 'goto') { }
0 3367 elsif (scalar @$tok > 1 and lc $tok->[0] eq 'throw') { }
2 3365 elsif (scalar @$tok > 0 and lc $tok->[0] eq 'break') { }
0 3365 elsif (scalar @$tok > 0 and lc $tok->[0] eq 'continue') { }
55 3310 elsif (scalar @$tok > 0 and lc($tok->[0]) =~ /^(var|static|public|protected|private|final|const)$/) { }
0 3310 elsif (scalar @$tok > 0 and lc $tok->[0] eq '__halt_compiler') { }
124 3186 elsif (scalar @$tok > 3 and lc $tok->[0] eq 'if' and $tok->[1] eq '(') { }
9 3177 elsif (scalar @$tok > 3 and lc $tok->[0] eq 'switch' and $tok->[1] eq '(') { }
15 3162 elsif (scalar @$tok > 2 and lc $tok->[0] eq 'case') { }
0 3162 elsif (scalar @$tok > 1 and lc $tok->[0] eq 'default') { }
1 3161 elsif (scalar @$tok > 3 and lc $tok->[0] eq 'try' and $tok->[1] eq '{') { }
20 3141 elsif (scalar @$tok > 3 and lc $tok->[0] eq 'for' and $tok->[1] eq '(') { }
10 3131 elsif (scalar @$tok > 3 and lc $tok->[0] eq 'while' and $tok->[1] eq '(') { }
7 3124 elsif (scalar @$tok > 3 and lc $tok->[0] eq 'do' and $tok->[1] eq '{') { }
18 3106 elsif (scalar @$tok > 3 and lc $tok->[0] eq 'foreach' and $tok->[1] eq '(') { }
133 2973 elsif (scalar @$tok > 2 and $tok->[0] =~ /^array$/i and $tok->[1] eq '(') { }
228 2745 elsif (scalar @$tok > 4 and lc $tok->[0] eq 'function' || $tok->[0] =~ /^#pfx\d+$/ && lc $tok->[1] eq 'function') { }
56 2689 elsif (scalar @$tok > 3 and lc $tok->[0] eq 'class' || $tok->[0] =~ /^#pfx\d+$/ && lc $tok->[1] eq 'class') { }
1 2688 elsif (scalar @$tok > 3 and lc $tok->[0] eq 'trait') { }
36 2652 elsif (scalar @$tok > 1 and $tok->[0] =~ /^#pfx\d+$/) { }
721 1931 elsif (scalar @$tok > 2 and not $tok->[0] =~ /^([\~\!\+\-\\]|new)$/i and $tok->[1] eq '(') { }
0 1931 elsif (scalar @$tok > 1 and $tok->[0] eq '$' and is_symbol($tok->[1])) { }
6 1925 elsif (scalar @$tok > 1 and $tok->[0] eq '$' and $tok->[1] =~ /^\$/) { }
78 1847 elsif (scalar @$tok > 3 and $tok->[0] eq '$' and $tok->[1] eq '{') { }
420 1427 elsif (scalar @$tok > 3 and is_strict_variable($tok->[0]) || $tok->[0] =~ /^#/ and $tok->[1] eq '[' || $tok->[1] eq '{') { }
12 1415 elsif (scalar @$tok > 2 and $tok->[0] =~ /^(\+|\-)$/ and $tok->[1] eq $tok->[0]) { }
0 1415 elsif (scalar @$tok > 3 and $tok->[0] eq '.' and $tok->[1] eq '.' and $tok->[2] eq '.') { }
7 1408 elsif (scalar @$tok > 1 and $tok->[0] =~ /^\\$/) { }
66 1342 elsif (scalar @$tok > 1 and $tok->[0] =~ /^([\~\!\+\-]|new|exception)$/i) { }
1329 13 elsif (scalar @$tok > 2 and $tok->[1] =~ m[^([\.\+\-\*/\^\&\|\%<>\?\:]|=|\!|==|\!=|<>|<=|>=|<<|>>|===|\!==|<=>|\?\:|\?\?|\&\&|\|\||\+\+|\-\-|and|or|xor|instanceof|\->|::|\\)$]i) { }
1329 60 0 if (scalar @$arglist > 0)
1330 60 0 if (scalar @$arglist == 1)
1334 2 58 if (is_strval($ref) and $str =~ /^(int|bool|float|string|array|object|unset)$/)
1341 1 1 if ($str eq 'int') { }
0 1 elsif ($str eq 'integer') { }
1 0 elsif ($str eq 'string') { }
0 0 elsif ($str eq 'binary') { }
0 0 elsif ($str eq 'float') { }
0 0 elsif ($str eq 'double') { }
0 0 elsif ($str eq 'real') { }
0 0 elsif ($str eq 'bool') { }
0 0 elsif ($str eq 'boolean') { }
0 0 elsif ($str eq 'array') { }
0 0 elsif ($str eq 'object') { }
0 0 elsif ($str eq 'unset') { }
1373 6 2 if (is_strval($ref) or $ref =~ /^#expr\d+$/ or $ref =~ /^#call\d+$/ or $ref =~ /^#inst\d+$/)
1426 5733 350 if (is_strict_variable($var) or $var =~ /^#/) { }
0 350 elsif ($var =~ /^__FILE__$/) { }
0 350 elsif ($var =~ /^__LINE__$/) { }
3 347 elsif ($var =~ /^false$/i) { }
3 344 elsif ($var =~ /^true$/i) { }
344 0 elsif (is_symbol($var)) { }
1427 1027 4706 if ($var =~ /^#str/)
1434 0 0 if $self->{'log'}
1438 0 0 if $self->{'log'}
1449 2 0 if (scalar @$tok > 1 and $tok->[0] eq ":" and $tok->[1] ne ":" and not defined $last_op)
1457 0 0 if (scalar @$tok > 2 and $tok->[2] eq 'php') { }
1480 0 0 if (scalar @$tok > 3 and $tok->[0] eq "<" and $tok->[1] eq "/" and $tok->[2] eq "script" and $tok->[3] eq ">")
1493 0 0 if $self->{'log'}
1506 64 92 unless (is_strval($arg))
1509 156 0 if ($arg ne ",")
1512 147 9 unless (scalar @$tok > 0 and $tok->[0] eq ",")
1536 9 1 if ($tok->[0] ne "{")
1539 9 0 if (defined $str) { }
1546 2 8 if (scalar @$tok > 0 and $tok->[0] eq "{")
1560 0 0 unless (scalar @$tok > 0 and $tok->[0] eq ",")
1577 6 0 unless (scalar @$tok > 0 and $tok->[0] eq ",")
1588 99 19 if (scalar @$tok > 0 and $tok->[0] eq ";")
1597 1 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1608 0 2 if (scalar @$tok > 0 and $tok->[0] eq ";")
1615 0 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1623 7 48 if (scalar @$tok > 0 and lc($tok->[0]) =~ /^(var|static|public|protected|private|final|const)$/)
1641 1 123 if (scalar @$tok > 0 and $tok->[0] eq ':') { }
1650 16 107 unless (is_block($then))
1651 0 16 if (scalar @$tok > 0 and $tok->[0] eq ";")
1658 17 107 if (scalar @$tok > 0 and lc $tok->[0] eq 'else') { }
6 169 elsif (scalar @$tok > 0 and lc $tok->[0] eq 'elseif') { }
1660 0 17 if (scalar @$tok > 0 and $tok->[0] eq ':') { }
1669 1 16 unless (is_block($else))
1670 1 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1680 6 0 unless (is_block($else))
1684 0 124 if (scalar @$expr > 1)
1695 0 9 if (scalar @$tok > 0 and $tok->[0] eq ':') { }
9 0 elsif (scalar @$tok > 0 and $tok->[0] eq '{') { }
1707 0 9 if (scalar @$expr > 1)
1715 15 14 if ($e =~ /^#stmt\d+$/ and lc $self->{'strmap'}{$e}[0] eq 'case') { }
1721 0 14 unless (defined $inst)
1734 14 1 if (scalar @$tok > 0 and $tok->[0] eq ":" or $tok->[0] eq ";")
1737 1 14 if ($expr =~ /^#stmt\d+$/ and lc $self->{'strmap'}{$expr}[0] eq "label")
1745 0 0 if (scalar @$tok > 0 and $tok->[0] eq ":" or $tok->[0] eq ";")
1757 0 1 unless (is_block($try))
1758 0 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1771 0 1 unless (is_block($block))
1772 0 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1780 1 0 if (scalar @$tok > 0 and lc $tok->[0] eq "finally")
1784 0 1 unless (is_block($finally))
1785 0 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1804 0 20 if (scalar @$tok > 0 and $tok->[0] eq ':') { }
1813 0 20 unless (is_block($block))
1814 0 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1830 0 10 if (scalar @$tok > 0 and $tok->[0] eq ':') { }
1839 1 9 unless (is_block($block))
1840 1 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1847 0 10 if (scalar @$expr > 1)
1859 0 7 unless (is_block($block))
1860 0 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1866 7 0 if (scalar @$tok > 3 and lc $tok->[0] eq 'while' and $tok->[1] eq '(') { }
1871 0 7 if (scalar @$expr > 1)
1889 6 12 if (scalar @$expr == 3 and lc $expr->[1] eq 'as') { }
12 0 elsif (scalar @$expr == 5 and lc $expr->[1] eq 'as' and $expr->[3] eq '=>') { }
1900 0 18 if (scalar @$tok > 0 and $tok->[0] eq ':') { }
1909 1 17 unless (is_block($block))
1910 1 0 if (scalar @$tok > 0 and $tok->[0] eq ";")
1933 19 209 if ($pfx =~ /^#pfx\d+$/)
1941 212 16 if ($tok->[0] ne "(")
1944 211 1 if (is_strval($cmd))
1949 228 0 if (scalar @$tok > 0 and $tok->[0] eq '(') { }
1956 228 0 if (scalar @$tok > 0 and $tok->[0] eq '{') { }
1968 16 212 unless (defined $cmd)
1979 0 56 if ($pfx =~ /^#pfx\d+$/)
1987 0 56 if ($tok->[0] eq "extends")
1992 56 0 if (scalar @$tok > 0 and $tok->[0] eq "{")
2005 1 0 if (scalar @$tok > 0 and $tok->[0] eq "{")
2017 36 0 if (exists $self->{'strmap'}{$sym})
2019 11 25 if (exists $pfx->{'static'})
2025 11 0 unless (scalar @$tok > 0 and $tok->[0] eq ",")
2032 9 16 if (exists $pfx->{'const'})
2038 9 0 unless (scalar @$tok > 0 and $tok->[0] eq ",")
2054 78 643 unless (is_symbol($sym))
2057 1 720 if (defined $last_op and $last_op eq "\$")
2061 23 697 if (defined $last_op and $last_op eq "::")
2065 26 671 if (defined $last_op and $last_op eq "->")
2069 2 669 if (defined $last_op and $last_op eq "\\")
2073 16 653 if (is_strict_variable($sym))
2078 0 669 if (is_strval($cmd) and not is_null($cmd))
2081 0 669 if ($cmd =~ /^\@(.*)$/)
2090 5 664 if ($cmd eq 'unset') { }
2 662 elsif ($cmd eq 'list') { }
2143 78 0 if (scalar @$arglist == 1) { }
2145 21 57 if (is_strval($res))
2147 16 5 if (is_symbol($str))
2180 4 416 if (defined $last_op and $last_op eq "::")
2184 0 416 if (defined $last_op and $last_op eq "->")
2191 414 2 if ($bracket eq '[') { }
2196 0 416 if (scalar @$arglist > 1)
2201 320 96 if (scalar @$arglist == 1 and is_strval($arglist->[0])) { }
0 112 elsif (scalar @$arglist == 1 and is_symbol($arglist->[0])) { }
2276 7 59 if ($op eq '+' or $op eq '-') { }
39 20 elsif (lc $op eq 'new') { }
2283 7 32 if ($val =~ /^#(str|const)/)
2302 16 1313 if ($tok->[1] =~ /^[<>\&\|\*\?]$/ and $tok->[2] eq $tok->[1])
2316 29 1300 if ($tok->[2] eq "=" and $tok->[1] =~ m[^([\.\+\-\*/\^\&\|\%]|<<|>>|\*\*|\?\?)$])
2332 45 1255 if ($tok->[1] eq "=" and $tok->[2] eq ">")
2342 35 1220 if ($tok->[1] =~ /^(\+|\-)$/ and $tok->[2] eq $tok->[1] and is_strict_variable($tok->[0]) || $tok->[0] =~ /^#(scope|inst)\d+$/) { }
5 1215 elsif (scalar @$tok > 3 and $tok->[1] =~ /^[=\!]$/ and $tok->[2] eq '=' and $tok->[3] eq '=') { }
3 1212 elsif (scalar @$tok > 3 and $tok->[1] eq '<' and $tok->[2] eq '=' and $tok->[3] eq '>') { }
20 1192 elsif ($tok->[1] =~ /^[=\!<>]$/ and $tok->[2] eq '=') { }
0 1192 elsif ($tok->[1] eq '<' and $tok->[2] eq '>') { }
0 1192 elsif ($tok->[1] =~ /^[=\!]$/ and $tok->[2] eq '==') { }
52 1140 elsif ($tok->[1] eq '-' and $tok->[2] eq '>') { }
41 1099 elsif ($tok->[1] eq ':' and $tok->[2] eq ':') { }
3 2176 elsif ($tok->[1] eq '?' and $tok->[2] eq ':') { }
2431 103 1152 if ($op eq '->' or $op eq '::' or $op eq '\\') { }
2436 175 1080 if (defined $last_op)
2437 0 175 unless (exists $op_prio{$op})
2440 0 175 unless (exists $op_prio{$last_op})
2443 0 175 if $self->{'debug'}
2444 66 109 if ($op_prio{$op} >= $op_prio{$last_op})
2449 62 4 if ($op ne $last_op or not exists $op_right{$op})
2450 58 4 unless ($op eq "=" and exists $op_unary{$last_op} || !exists $op_right{$last_op})
2451 0 58 if $self->{'log'}
2459 15 1182 if ($op eq '?') { }
52 1130 elsif ($op eq '->') { }
41 1089 elsif ($op eq '::') { }
5 1084 elsif ($op eq '\\') { }
35 1049 elsif ($op eq '++' or $op eq '--') { }
2463 15 0 if (scalar @$tok > 0 and $tok->[0] eq ':') { }
2476 2 50 if (is_block($op2))
2480 2 0 if (scalar @$a == 1)
2491 1 40 unless (is_symbol($sym))
2516 0 29 if ($op eq "." and is_strval($op1) and scalar @$tok > 2 and is_strval($tok->[0]) and $tok->[1] eq ".")
2538 13 0 if (scalar @$tok > 0)
2543 0 13 if $self->{'log'}
2555 12681 720 if (exists $self->{'strmap'}{'_LEVEL'}) { }
2564 5084 8317 scalar @$tok > 10 ? :
2566 2186 11215 $level <= 1 ? :
2567 0 0 scalar @$tok > 10 ? :
0 13401 if $self->{'log'}
2577 0 3544 if ($stmt =~ /^[\)\]\}]$/)
2587 0 416 if $self->{'debug'}
2594 0 816 if $self->{'debug'}
2596 416 400 if ($stmt eq $close) { }
0 400 elsif (defined $separator and $stmt eq $separator) { }
2615 0 1261 if $self->{'debug'}
2620 0 2526 if $self->{'debug'}
2622 1261 1265 if ($stmt eq $close) { }
147 1118 elsif (defined $separator and $stmt eq $separator) { }
2627 0 147 if (defined $last and $last eq $separator)
2644 0 1269 if $self->{'debug'}
2649 0 3558 if $self->{'debug'}
2651 476 3082 if ($stmt eq $close) { }
1056 2026 elsif (defined $separator and $stmt eq $separator) { }
2678 331 454 if (scalar @$stmts == 1)
2691 286 2830 if (defined $k)
2696 0 2830 if (not defined $s) { }
22 2808 elsif ($s =~ /^#null$/) { }
164 2644 elsif ($s =~ /^#num\d+$/) { }
0 2644 elsif ($s =~ /^#const\d+$/) { }
484 2160 elsif ($s =~ /^#str\d+$/) { }
133 2027 elsif ($s =~ /^#arr\d+$/) { }
14 2013 elsif ($s =~ /^#fun\d+$/) { }
87 1926 elsif ($s =~ /^#call\d+$/) { }
50 1876 elsif ($s =~ /^#elem\d+$/) { }
282 1594 elsif ($s =~ /^#expr\d+$/) { }
0 1594 elsif ($s =~ /^#pfx\d+$/) { }
12 1582 elsif ($s =~ /^#obj\d+$/) { }
0 1582 elsif ($s =~ /^#scope\d+$/) { }
0 1582 elsif ($s =~ /^#ns\d+$/) { }
0 1582 elsif ($s =~ /^#inst\d+$/) { }
0 1582 elsif ($s =~ /^#ref\d+$/) { }
0 1582 elsif ($s =~ /^#class\d+$/) { }
0 1582 elsif ($s =~ /^#trait\d+$/) { }
0 1582 elsif ($s =~ /^#fh\d+$/) { }
602 980 elsif ($s =~ /^#blk\d+$/) { }
529 451 elsif ($s =~ /^#stmt\d+$/) { }
352 99 elsif (is_variable($s)) { }
2716 236 0 if (is_int_index($k) || is_strval($k) and !defined($val) || defined $val && is_strval($val)) { }
2722 0 0 unless (is_int_index($k))
2726 0 0 if (defined $val) { }
2732 0 0 if ($k ne $k2 or $val ne $newmap{$k2})
2737 0 133 if ($changed)
2753 0 87 if ($f =~ /^#fun\d+$/) { }
2762 0 65 if ($v ne $k)
2766 0 87 if ($name ne $f or $arg_changed)
2774 50 0 if (defined $i)
2777 0 50 if ($v ne $vv or defined $i and $i ne $ii)
2787 276 6 if (defined $v1)
2790 282 0 if (defined $v2)
2793 10 272 if (defined $v1 and $v1 ne $vv1 or defined $v2 and $v2 ne $vv2)
2803 12 0 unless ($o =~ /^#call\d+$/)
2807 12 0 unless (exists $self->{'strmap'}{$m} and is_symbol($self->{'strmap'}{$m}))
2811 0 12 if ($o ne $oo or $m ne $mm)
2819 0 0 unless (exists $self->{'strmap'}{$c} and is_symbol($self->{'strmap'}{$c}))
2823 0 0 unless (exists $self->{'strmap'}{$e} and is_symbol($self->{'strmap'}{$e}))
2827 0 0 if ($c ne $cc or $e ne $ee)
2835 0 0 if (defined $n)
2837 0 0 unless (exists $self->{'strmap'}{$n} and is_symbol($self->{'strmap'}{$n}))
2841 0 0 if (defined $n and $n ne $nn or $e ne $ee)
2865 93 605 if ($v ne $k) { }
2866 18 75 unless ($self->is_empty_block($v))
2874 85 517 if ($arg_changed)
2879 108 421 if ($cmd eq 'echo') { }
0 421 elsif ($cmd eq 'print') { }
0 421 elsif ($cmd eq 'namespace') { }
0 421 elsif ($cmd =~ /^(include|include_once|require|require_once)$/) { }
0 421 elsif ($cmd eq 'use') { }
8 413 elsif ($cmd eq 'global') { }
8 405 elsif ($cmd eq 'static') { }
0 405 elsif ($cmd eq 'const') { }
0 405 elsif ($cmd eq 'unset') { }
386 19 elsif ($cmd eq 'return') { }
0 19 elsif ($cmd eq 'goto') { }
0 19 elsif ($cmd eq 'label') { }
0 19 elsif ($cmd eq 'throw') { }
15 4 elsif ($cmd eq 'if') { }
0 4 elsif ($cmd eq 'while') { }
0 4 elsif ($cmd eq 'do') { }
0 4 elsif ($cmd eq 'for') { }
4 0 elsif ($cmd eq 'foreach') { }
0 0 elsif ($cmd eq 'switch') { }
0 0 elsif ($cmd eq 'case') { }
0 0 elsif ($cmd eq 'try') { }
2887 0 108 if ($v ne $k)
2891 0 108 if ($arg_changed)
2898 0 0 if ($v ne $arg)
2906 0 0 if (defined $block)
2909 0 0 if ($v ne $arg or $block1 ne $block)
2916 0 0 if ($v ne $arg)
2927 0 0 if ($v ne $k)
2931 0 0 if ($arg_changed)
2942 0 8 if ($v ne $k)
2946 0 8 if ($arg_changed)
2957 0 8 if ($v ne $k)
2961 0 8 if ($arg_changed)
2972 0 0 if ($v ne $k)
2976 0 0 if ($arg_changed)
2987 0 0 if ($v ne $k)
2991 0 0 if ($arg_changed)
2998 386 0 if (defined $v)
3001 0 386 if (defined $v and $v ne $arg)
3008 0 0 if ($v ne $arg)
3015 0 0 if ($v ne $arg)
3022 0 0 if ($v ne $arg)
3031 0 15 if (defined $else)
3034 2 13 if ($cond ne $cond1 or $then ne $then1 or defined $else and $else ne $else1)
3035 2 0 if ($self->is_empty_block($then1) and !defined($else) || $self->is_empty_block($else1)) { }
3046 0 0 if ($cond ne $cond1 or $block ne $block1)
3054 0 0 if ($cond ne $cond1 or $block ne $block1)
3064 0 0 if ($pre ne $pre1 or $cond ne $cond1 or $post ne $post1 or $block ne $block1)
3072 4 0 if (defined $key)
3078 1 3 if ($expr ne $expr1 or defined $key and $key ne $key1 or $value ne $value1 or $block ne $block1)
3092 0 0 if (defined $c)
3097 0 0 if (defined $c1 and $c ne $c1 or $b ne $b1)
3102 0 0 if ($expr ne $expr1 or $changed)
3109 0 0 unless (defined $expr)
3112 0 0 if (defined $expr and $expr ne $expr1)
3129 0 0 if (defined $e1 and $e ne $e1 or $b ne $b1)
3134 0 0 if (defined $finally)
3137 0 0 if ($try ne $try1 or $changed or defined $finally and $finally ne $finally1)
3144 98 2732 if ($s ne $s0)
3145 0 98 if $self->{'debug'}
3163 0 1173 if (exists $fmt->{'escape_ctrl'}) { }
3177 0 8423 if (not defined $s) { }
30 8393 elsif ($s =~ /^#null$/) { }
570 7823 elsif ($s =~ /^#num\d+$/) { }
23 7800 elsif ($s =~ /^#const\d+$/) { }
1172 6628 elsif ($s =~ /^#str\d+$/) { }
186 6442 elsif ($s =~ /^#arr\d+$/) { }
239 6203 elsif ($s =~ /^#fun\d+$/) { }
370 5833 elsif ($s =~ /^#call\d+$/) { }
275 5558 elsif ($s =~ /^#elem\d+$/) { }
1323 4235 elsif ($s =~ /^#expr\d+$/) { }
16 4219 elsif ($s =~ /^#pfx\d+$/) { }
34 4185 elsif ($s =~ /^#obj\d+$/) { }
4 4181 elsif ($s =~ /^#scope\d+$/) { }
0 4181 elsif ($s =~ /^#ns\d+$/) { }
21 4160 elsif ($s =~ /^#inst\d+$/) { }
8 4152 elsif ($s =~ /^#ref\d+$/) { }
56 4096 elsif ($s =~ /^#class\d+$/) { }
1 4095 elsif ($s =~ /^#trait\d+$/) { }
0 4095 elsif ($s =~ /^#fh\d+$/) { }
1099 2996 elsif ($s =~ /^#blk\d+$/) { }
537 2459 elsif ($s =~ /^#stmt\d+$/) { }
1827 632 elsif (is_variable($s)) { }
3183 570 0 if (exists $self->{'strmap'}{$s})
3184 570 0 unless (exists $fmt->{'unified'})
3190 23 0 if (exists $self->{'strmap'}{$s})
3191 23 0 unless (exists $fmt->{'unified'})
3197 1172 0 if (exists $self->{'strmap'}{$s})
3198 1172 0 unless (exists $fmt->{'unified'})
3200 0 1172 if (exists $fmt->{'mask_eval'})
3204 0 1172 if (exists $fmt->{'max_strlen'} and length $s > $fmt->{'max_strlen'})
3221 278 0 if (defined $val)
3226 162 24 if (scalar @$keys > 0)
3237 213 26 if (defined $f)
3246 100 139 if (scalar @$a > 0)
3263 4 366 if ($f =~ /^#fun\d+$/) { }
3276 169 201 if (scalar @$a > 0)
3285 254 21 if (defined $i)
3294 1272 51 if (defined $v1)
3295 30 1242 if ($v1 =~ /^#expr\d+$/) { }
6 1236 elsif ($op eq '=' and $v1 =~ /^#arr\d+$/) { }
3298 6 24 if ($op ne "=" and $op ne $vop)
3301 0 0 if (exists $op_unary{$vop} and $vop ne "new" and is_variable($vv2) || $vv2 =~ /^#elem\d+$/ || $vv2 =~ /^#call\d+$/)
3304 6 24 if ($add_brace)
3308 6 24 if ($add_brace)
3322 12 1 if (defined $val)
3323 0 12 unless ($numerical)
3331 6 0 if (scalar @$keys > 0)
3340 1288 35 if (defined $v2)
3341 24 1264 if ($op eq "\$")
3344 96 1192 if ($v2 =~ /^#expr\d+$/) { }
3347 8 80 if ($op ne "?" and $op ne "=" and $op ne $vop)
3350 8 13 if (exists $op_unary{$vop} and is_variable($vv2) || $vv2 =~ /^#elem\d+$/ || $vv2 =~ /^#call\d+$/)
3353 7 89 if ($add_brace)
3357 7 89 if ($add_brace)
3363 24 1264 if ($op eq "\$")
3375 0 34 if ($o =~ /^#call\d+$/) { }
3383 0 34 if (exists $self->{'strmap'}{$m} and is_strval($m)) { }
3385 0 0 if (is_symbol($sym)) { }
3400 0 4 if (exists $self->{'strmap'}{$c} and is_symbol($self->{'strmap'}{$c})) { }
3406 0 4 if (exists $self->{'strmap'}{$e} and is_symbol($self->{'strmap'}{$e})) { }
3414 0 0 if (defined $n)
3415 0 0 if (exists $self->{'strmap'}{$n} and is_symbol($self->{'strmap'}{$n})) { }
3442 0 56 if (exists $p->{'parent'})
3465 93 1006 if ($type eq 'expr') { }
500 506 elsif ($type eq 'flat') { }
8 498 elsif ($type eq 'case') { }
1 497 elsif ($type eq 'brace') { }
3470 82 11 if (scalar @$a > 0)
3476 0 1295 if ($k =~ /^#pfx\d+$/)
3479 1040 255 if ($out->[-1] ne "}" and $out->[-1] ne ":")
3483 433 67 if (scalar @$a > 0 and $out->[-1] eq ";")
3484 0 433 if $fmt->{'avoid_semicolon'}
3491 8 0 if (scalar @$a > 0)
3495 1 0 if (scalar @$a == 1) { }
3501 0 0 if ($out->[-1] ne ")")
3505 0 0 if (scalar @$a > 0 and $out->[-1] eq ";")
3514 16 649 if ($k =~ /^#pfx\d+$/)
3517 533 116 if ($out->[-1] ne "}" and $out->[-1] ne ":")
3521 382 115 if (scalar @$a > 0 and $out->[-1] eq ";")
3522 0 382 if $fmt->{'avoid_semicolon'}
3528 183 354 if ($cmd eq 'echo') { }
0 354 elsif ($cmd eq 'print') { }
10 344 elsif ($cmd eq 'namespace') { }
0 344 elsif ($cmd =~ /^(include|include_once|require|require_once)$/) { }
0 344 elsif ($cmd eq 'use') { }
6 338 elsif ($cmd eq 'global') { }
11 327 elsif ($cmd eq 'static') { }
9 318 elsif ($cmd eq 'const') { }
5 313 elsif ($cmd eq 'unset') { }
116 197 elsif ($cmd eq 'return') { }
1 196 elsif ($cmd eq 'goto') { }
1 195 elsif ($cmd eq 'label') { }
0 195 elsif ($cmd eq 'throw') { }
103 92 elsif ($cmd eq 'if') { }
16 76 elsif ($cmd eq 'while') { }
8 68 elsif ($cmd eq 'do') { }
31 37 elsif ($cmd eq 'for') { }
29 8 elsif ($cmd eq 'foreach') { }
6 2 elsif ($cmd eq 'switch') { }
0 2 elsif ($cmd eq 'case') { }
1 1 elsif ($cmd eq 'try') { }
3535 183 0 if (scalar @$a > 0)
3546 9 1 if ($arg ne "")
3549 2 8 if (defined $block)
3563 0 0 if (scalar @$a > 0)
3573 6 0 if (scalar @$a > 0)
3586 11 0 if (scalar @$a > 0)
3599 9 0 if (scalar @$a > 0)
3610 5 0 if (scalar @$a > 0)
3638 14 89 if (defined $else)
3643 14 0 is_block($else) ? :
3644 5 9 if (@$stmts == 1 and $stmts->[0] =~ /#stmt\d+$/ and $self->{'strmap'}{$stmts->[0]}[0] eq 'if') { }
3686 19 10 if (defined $key)
3704 8 0 if (defined $c) { }
3718 0 0 if (not defined $expr) { }
3740 1 0 if (defined $finally)
3749 35 1792 if (defined $global) { }
3757 14 1778 if (defined $class) { }
4 1774 elsif ($s eq '$') { }
1 1773 elsif (not is_strict_variable($s)) { }
3780 12 620 if (defined $class) { }
3781 0 12 if ($class =~ /^(#inst\d+)$/) { }
3815 0 0 unless (defined $val)
3818 0 0 if ($val eq "}")
3823 0 0 if ($val =~ /^(case|default)$/) { }
0 0 elsif ($val =~ /^(function|class)$/) { }
3828 0 0 if (scalar @$in > 0 and $in->[0] =~ /^(case|default)$/)
3833 0 0 if ($val eq '{' and defined $lastval and $lastval eq '$') { }
0 0 elsif ($val eq '(') { }
0 0 elsif ($val eq '{') { }
0 0 elsif ($val eq ';') { }
0 0 elsif ($val eq ':') { }
3836 0 0 if (defined $lastval and $lastval eq 'for') { }
0 0 elsif (defined $lastval and $lastval eq 'switch') { }
3844 0 0 if ($isswitch) { }
3851 0 0 if (scalar @$in > 0 and not $in->[0] =~ /^(else|catch|finally|\))$/)
3857 0 0 unless ($isfor)
3862 0 0 if ($iscase)
3873 0 0 if (defined $val and $val eq "}")
3874 0 0 if ($varblk == 0)
3879 0 0 if (defined $val and $val eq ")")
3894 0 0 unless (defined $val)
3905 0 0 if (defined $lastval and $lastval ne "\n" and not $lastval =~ /^\t*$/)
3906 0 0 if (not $val =~ /^(\[|\]|\(|\)|\;|\,|\\n|->|::)$/) { }
0 0 elsif ($val eq '(' and exists $php_keywords{lc $lastval}) { }
0 0 elsif ($val eq '(' and not is_symbol($lastval) and not $lastval =~ /^(\[|\]|\(|\))$/) { }
3907 0 0 unless ($lastval =~ /^(\[|\(|\!|\~|->|::)$/)
3908 0 0 unless ($val eq '++' || $val eq '--' and is_strict_variable($lastval))
3913 0 0 unless ($lastval =~ /^(array|empty|isset|unset|list)$/)
3937 781 2 unless defined $fmt
3941 175 603 if (not $fmt->{'avoid_semicolon'} and scalar @out > 0 and $out[-1] ne "}" and $out[-1] ne ";")
3944 0 783 if (exists $fmt->{'indent'})
3960 681 4790 if ($s =~ /^#blk\d+$/) { }
12 4778 elsif ($s =~ /^#const\d+$/) { }
286 4492 elsif ($s =~ /^#arr\d+$/) { }
23 4469 elsif ($s =~ /^#fun\d+$/) { }
482 3987 elsif ($s =~ /^#expr\d+$/) { }
174 3813 elsif ($s =~ /^#elem\d+$/) { }
9 3804 elsif ($s =~ /^#obj\d+$/) { }
19 3785 elsif ($s =~ /^#inst\d+$/) { }
0 3785 elsif ($s =~ /^#scope\d+$/) { }
0 3785 elsif ($s =~ /^#ns\d+$/) { }
0 3785 elsif ($s =~ /^#ref\d+$/) { }
295 3490 elsif ($s =~ /^#call\d+$/) { }
0 3490 elsif ($s =~ /^#pfx\d+$/) { }
19 3471 elsif ($s =~ /^#class\d+$/) { }
0 3471 elsif ($s =~ /^#trait\d+$/) { }
0 3471 elsif ($s =~ /^#fh\d+$/) { }
582 2889 elsif ($s =~ /^#stmt\d+$/) { }
750 2139 elsif (is_variable($s)) { }
3981 21 436 unless (is_int_index($k))
3984 457 0 if (defined $val)
3989 264 22 if ($haskey) { }
3996 8 15 if (defined $f) { }
4003 450 32 if (defined $v1)
4004 51 399 if ($op eq '=' and $v1 =~ /^#elem\d+$/ and defined $v2) { }
14 385 elsif ($op eq '=' and defined $v2 and $v2 =~ /^#call\d+$/) { }
283 102 elsif ($op eq '=' and defined $v2) { }
30 72 elsif ($op eq '.') { }
14 58 elsif ($op eq '++' or $op eq '--') { }
4007 34 17 if (defined $i) { }
4015 0 14 if ($f eq 'range') { }
4029 348 102 if ($op eq '=') { }
14 88 elsif ($op eq '++') { }
0 88 elsif ($op eq '--') { }
4040 468 14 if (defined $v2)
4041 30 438 if ($op eq '.') { }
1 437 elsif ($op eq '++' or $op eq '--') { }
4048 0 468 if ($op eq '++') { }
1 467 elsif ($op eq '--') { }
4058 174 0 if (defined $v)
4060 54 120 if defined $hint and $hint & 65536
4061 157 17 if (defined $i) { }
4067 157 17 if (defined $i)
4073 22 135 if (defined $g)
4079 4 5 if (lc $o ne "\$this")
4082 9 0 if (defined $m)
4087 19 0 if (defined $c)
4092 0 0 if (defined $e)
4097 0 0 if (defined $e)
4102 0 0 if (defined $v)
4108 14 281 if (exists $info->{'state'} and $info->{'state'}) { }
4116 3 180 if ($f eq 'strlen') { }
2 178 elsif ($f eq 'base64_decode') { }
0 178 elsif ($f eq 'gzinflate') { }
4141 128 454 if ($cmd eq 'echo') { }
0 454 elsif ($cmd eq 'print') { }
0 454 elsif ($cmd eq 'namespace') { }
0 454 elsif ($cmd =~ /^(include|include_once|require|require_once)$/) { }
0 454 elsif ($cmd eq 'use') { }
9 445 elsif ($cmd eq 'global') { }
6 439 elsif ($cmd eq 'static') { }
0 439 elsif ($cmd eq 'const') { }
0 439 elsif ($cmd eq 'unset') { }
276 163 elsif ($cmd eq 'return') { }
0 163 elsif ($cmd eq 'goto') { }
0 163 elsif ($cmd eq 'label') { }
0 163 elsif ($cmd eq 'throw') { }
129 34 elsif ($cmd eq 'if') { }
6 28 elsif ($cmd eq 'while') { }
1 27 elsif ($cmd eq 'do') { }
8 19 elsif ($cmd eq 'for') { }
11 8 elsif ($cmd eq 'foreach') { }
7 1 elsif ($cmd eq 'switch') { }
0 1 elsif ($cmd eq 'case') { }
0 1 elsif ($cmd eq 'try') { }
1 0 elsif ($cmd eq 'break') { }
0 0 elsif ($cmd eq 'continue') { }
4153 0 0 if (defined $block)
4194 1 275 if exists $info->{'state'}
4216 15 114 if (defined $else)
4244 7 4 if (defined $key)
4259 9 0 if (defined $c)
4267 0 0 if (defined $expr)
4280 0 0 if (defined $finally)
4291 48 702 if (defined $global) { }
4294 469 233 if (defined $hint) { }
4296 132 337 unless $hint & 65536
4311 0 0 if (not defined $s) { }
0 0 elsif ($s =~ /^#null$/) { }
0 0 elsif ($s =~ /^#num\d+$/) { }
0 0 elsif ($s =~ /^#const\d+$/) { }
0 0 elsif ($s =~ /^#str\d+$/) { }
0 0 elsif ($s =~ /^#arr\d+$/) { }
0 0 elsif ($s =~ /^#fun\d+$/) { }
0 0 elsif ($s =~ /^#call\d+$/) { }
0 0 elsif ($s =~ /^#elem\d+$/) { }
0 0 elsif ($s =~ /^#expr\d+$/) { }
0 0 elsif ($s =~ /^#pfx\d+$/) { }
0 0 elsif ($s =~ /^#obj\d+$/) { }
0 0 elsif ($s =~ /^#scope\d+$/) { }
0 0 elsif ($s =~ /^#ns\d+$/) { }
0 0 elsif ($s =~ /^#inst\d+$/) { }
0 0 elsif ($s =~ /^#ref\d+$/) { }
0 0 elsif ($s =~ /^#class\d+$/) { }
0 0 elsif ($s =~ /^#trait\d+$/) { }
0 0 elsif ($s =~ /^#fh\d+$/) { }
0 0 elsif ($s =~ /^#blk\d+$/) { }
0 0 elsif ($s =~ /^#stmt\d+$/) { }
0 0 elsif (is_variable($s)) { }
4317 0 0 unless (exists $self->{'strmap'}{$s})
4324 0 0 unless (exists $self->{'strmap'}{$s})
4329 0 0 unless (is_symbol($s))
4335 0 0 unless (exists $self->{'strmap'}{$s})
4353 0 0 if (is_int_index($k)) { }
4356 0 0 unless $self->translate_stmt($out, $k, $info)
4359 0 0 if (defined $val) { }
4360 0 0 unless $self->translate_stmt($out, $val, $info)
4366 0 0 if (scalar @$keys > 0)
4374 0 0 if (defined $f)
4375 0 0 unless (is_symbol($f))
4384 0 0 if (scalar @$a > 0)
4388 0 0 unless $self->translate_stmt($out, $k, $info)
4399 0 0 if (keys %{$$info{"locals"};} > 0)
4403 0 0 unless $self->translate_stmt($out, $k, $info)
4414 0 0 unless $self->translate_stmt($out, $k, $info)
4423 0 0 unless (is_symbol($f))
4427 0 0 if ($f eq 'strlen' and scalar @$a == 1) { }
0 0 elsif ($f eq 'isset' and scalar @$a == 1) { }
0 0 elsif ($f eq 'range' and scalar @$a == 2) { }
0 0 elsif ($f eq 'base64_encode' and scalar @$a == 1) { }
0 0 elsif ($f eq 'base64_decode' and scalar @$a == 1) { }
0 0 elsif ($f eq 'gzinflate' and scalar @$a == 1) { }
0 0 elsif ($f =~ /^(chr|ord)$/ and scalar @$a == 1) { }
4433 0 0 unless $self->translate_stmt($out, $a->[0], $info)
4435 0 0 unless $self->translate_stmt($out, $a->[1], $info)
4442 0 0 unless $self->translate_stmt($out, $a->[0], $info)
4451 0 0 unless $self->translate_stmt($out, $a->[0], $info)
4459 0 0 unless $self->translate_stmt($out, $a->[0], $info)
4474 0 0 unless $self->translate_stmt($out, $k, $info)
4477 0 0 if (scalar @$a > 0)
4484 0 0 if (exists $info->{'vars'}{$v} and ($info->{'vars'}{$v} & 65535) == 16)
4487 0 0 unless $self->translate_stmt($out, $v, $info)
4489 0 0 if (defined $i) { }
4490 0 0 unless $self->translate_stmt($out, $i, $info)
4499 0 0 unless $self->translate_stmt($out, $v, $info)
4501 0 0 if (exists $info->{'vars'}{$v} and ($info->{'vars'}{$v} & 65535) == 32) { }
4503 0 0 if (defined $i)
4504 0 0 unless $self->translate_stmt($out, $i, $info)
4509 0 0 if (defined $i)
4510 0 0 unless $self->translate_stmt($out, $i, $info)
4517 0 0 if (defined $v1)
4518 0 0 if ($v1 =~ /^#expr\d+$/) { }
0 0 elsif ($v1 =~ /^#elem\d+$/ and defined $v2 and $op eq '=') { }
4520 0 0 if ($op ne "=" and $op ne $vop)
4523 0 0 unless $self->translate_stmt($out, $v1, $info)
4524 0 0 if ($op ne "=" and $op ne $vop)
4530 0 0 if (defined $i and is_strict_variable($v)) { }
4543 0 0 if (exists $info->{'vars'}{$v} and ($info->{'vars'}{$v} && 65535) == 32) { }
4551 0 0 unless $self->translate_stmt($out, $v, $info)
4554 0 0 unless $self->translate_stmt($out, $v2, $info)
4562 0 0 unless $self->translate_stmt($out, $v, $info)
4579 0 0 unless $self->translate_stmt($out, $v1, $info)
4582 0 0 unless $self->translate_stmt($out, $v1, $info)
4585 0 0 if ($op eq '==') { }
0 0 elsif ($op eq '!=') { }
4592 0 0 if (defined $v2)
4593 0 0 if ($op eq "\$")
4596 0 0 if ($v2 =~ /^#expr\d+$/) { }
4598 0 0 if ($op ne "?" and $op ne "=" and $op ne $vop)
4601 0 0 unless $self->translate_stmt($out, $v2, $info)
4602 0 0 if ($op ne "?" and $op ne "=" and $op ne $vop)
4606 0 0 unless $self->translate_stmt($out, $v2, $info)
4608 0 0 if ($op eq "\$")
4613 0 0 unless (exists $self->{'strmap'}{$s})
4618 0 0 if (exists $pfx->{'global'})
4647 0 0 unless $self->translate_stmt($out, $v, $info)
4668 0 0 if ($type eq 'expr') { }
0 0 elsif ($type eq 'flat') { }
0 0 elsif ($type eq 'case') { }
0 0 elsif ($type eq 'brace') { }
4670 0 0 unless $self->translate_stmt($out, $k, $info)
4673 0 0 if (scalar @$a > 0)
4678 0 0 unless $self->translate_stmt($out, $k, $info)
4679 0 0 if ($k =~ /^#pfx\d+$/)
4682 0 0 if ($out->[-1] ne "}")
4686 0 0 if (scalar @$a > 0 and $out->[-1] eq ";")
4691 0 0 unless $self->translate_stmt($out, $k, $info)
4694 0 0 if (scalar @$a > 0)
4698 0 0 if (scalar @$a == 1) { }
4699 0 0 unless $self->translate_stmt($out, $a->[0], $info)
4703 0 0 unless $self->translate_stmt($out, $k, $info)
4704 0 0 if ($out->[-1] ne ")")
4708 0 0 if (scalar @$a > 0 and $out->[-1] eq ";")
4716 0 0 unless $self->translate_stmt($out, $k, $info)
4717 0 0 if ($k =~ /^#pfx\d+$/)
4720 0 0 if ($out->[-1] ne "}")
4724 0 0 if (scalar @$a > 0 and $out->[-1] eq ";")
4731 0 0 if ($cmd eq 'echo') { }
0 0 elsif ($cmd eq 'print') { }
0 0 elsif ($cmd eq 'namespace') { }
0 0 elsif ($cmd =~ /^(include|include_once|require|require_once)$/) { }
0 0 elsif ($cmd eq 'use') { }
0 0 elsif ($cmd eq 'global') { }
0 0 elsif ($cmd eq 'static') { }
0 0 elsif ($cmd eq 'const') { }
0 0 elsif ($cmd eq 'unset') { }
0 0 elsif ($cmd eq 'return') { }
0 0 elsif ($cmd eq 'goto') { }
0 0 elsif ($cmd eq 'label') { }
0 0 elsif ($cmd eq 'if') { }
0 0 elsif ($cmd eq 'while') { }
0 0 elsif ($cmd eq 'do') { }
0 0 elsif ($cmd eq 'for') { }
0 0 elsif ($cmd eq 'foreach') { }
0 0 elsif ($cmd eq 'switch') { }
0 0 elsif ($cmd eq 'break') { }
0 0 elsif ($cmd eq 'continue') { }
4735 0 0 unless $self->translate_stmt($out, $k, $info)
4738 0 0 if (scalar @$a > 0)
4744 0 0 unless $self->translate_stmt($out, $arg, $info)
4752 0 0 unless $self->translate_stmt($out, $arg, $info)
4776 0 0 unless $self->translate_stmt($out, $a, $info)
4790 0 0 unless $self->translate_stmt($out, $cond, $info)
4792 0 0 unless $self->translate_stmt($out, $then, $info)
4793 0 0 if (defined $else)
4795 0 0 unless $self->translate_stmt($out, $else, $info)
4802 0 0 unless $self->translate_stmt($out, $cond, $info)
4804 0 0 unless $self->translate_stmt($out, $block, $info)
4809 0 0 unless $self->translate_stmt($out, $block, $info)
4812 0 0 unless $self->translate_stmt($out, $cond, $info)
4820 0 0 unless $self->translate_stmt($out, $pre, $info)
4822 0 0 unless $self->translate_stmt($out, $cond, $info)
4824 0 0 unless $self->translate_stmt($out, $post, $info)
4826 0 0 unless $self->translate_stmt($out, $block, $info)
4830 0 0 if (defined $key) { }
4836 0 0 unless $self->translate_stmt($out, $key, $info)
4847 0 0 unless $self->translate_stmt($out, $expr, $info)
4853 0 0 unless $self->translate_stmt($out, $value, $info)
4855 0 0 unless $self->translate_stmt($out, $expr, $info)
4858 0 0 unless $self->translate_stmt($out, $key, $info)
4865 0 0 unless $self->translate_stmt($out, $k, $info)
4875 0 0 unless $self->translate_stmt($out, $value, $info)
4877 0 0 unless $self->translate_stmt($out, $expr, $info)
4880 0 0 unless $self->translate_stmt($out, $block, $info)
4888 0 0 if (not defined $c) { }
4889 0 0 if ($first)
4895 0 0 if ($first) { }
4902 0 0 unless $self->translate_stmt($out, $expr, $info)
4905 0 0 unless $self->translate_stmt($out, $c, $info)
4910 0 0 unless $self->translate_stmt($out, $b, $info)
4923 0 0 if (defined $global)
4927 0 0 unless (is_symbol($s))
4943 0 0 unless ($s =~ /^#fun\d+$/)
4955 0 0 if (scalar @$a > 0) { }
4960 0 0 unless exists $info->{'args'}{$v}
4963 0 0 unless exists $info->{'vars'}{$v}
4968 0 0 if (keys %{$$info{"args"};})
4969 0 0 $info->{'vars'}{$_} ne '1' ? :
0 0 if $self->{'log'}
4971 0 0 if (keys %{$$info{"locals"};})
4972 0 0 $info->{'vars'}{$_} ne '1' ? :
0 0 if $self->{'log'}
4974 0 0 if (keys %{$$info{"globals"};})
4975 0 0 if $self->{'log'}
4977 0 0 if (keys %{$$info{"calls"};})
4978 0 0 if $self->{'log'}
4980 0 0 if (keys %{$$info{'returns'};}) { }
4981 0 0 if $self->{'log'}
4987 0 0 unless ($self->translate_stmt(\@out, $f, $info))
4991 0 0 if ($format)