| line |
true |
false |
branch |
|
28
|
1 |
5 |
if (is_block($s)) |
|
32
|
1 |
0 |
unless defined $val |
|
36
|
4 |
1 |
if (is_strval($s)) |
|
39
|
0 |
1 |
if (is_null($s)) |
|
48
|
1 |
2 |
if ($ctx->{'infunction'}) |
|
49
|
1 |
0 |
unless ($ctx->{'incall'}) |
|
64
|
0 |
0 |
if ($len1 == 0) |
|
67
|
0 |
0 |
if ($len2 == 0) |
|
83
|
0 |
0 |
if ($ar1[$i - 1] ne $ar2[$j - 1]) |
|
108
|
1 |
0 |
unless defined $init_value |
|
109
|
1 |
0 |
unless defined $polynomial |
|
111
|
1 |
0 |
unless (defined $crc32a_table) |
|
117
|
1024 |
1024 |
if ($x & 2147483648) { } |
|
148
|
3 |
0 |
unless defined $init_value |
|
150
|
3 |
0 |
unless defined $polynomial |
|
152
|
1 |
2 |
unless (defined $crc32b_table) |
|
157
|
1024 |
1024 |
if ($x & 1) { } |
|
190
|
0 |
0 |
if ($+ eq 'v') { } |
|
|
0 |
0 |
elsif (length $+ == 1) { } |
|
230
|
1 |
4 |
unless (defined $str) |
|
235
|
0 |
5 |
if $ctx->{'log'} |
|
249
|
0 |
1 |
if ($1 ne "") |
|
256
|
1 |
3 |
if ($str eq '' and scalar @out > 0) { } |
|
277
|
1 |
12 |
if ($str eq '#null') { } |
|
282
|
0 |
13 |
unless (defined $pattern and defined $res) |
|
287
|
8 |
5 |
if ($mode eq "preg") |
|
294
|
0 |
8 |
if ($delim eq '[') { } |
|
|
0 |
8 |
elsif ($delim eq '(') { } |
|
|
1 |
7 |
elsif ($delim eq '{') { } |
|
|
0 |
7 |
elsif ($delim eq '<') { } |
|
308
|
8 |
0 |
if ($pattern =~ /^\Q$delim\E([^$delim2]*)\Q$delim2\E(\w*)$/) |
|
311
|
1 |
7 |
if $modifier =~ /i/ |
|
312
|
0 |
8 |
if $modifier =~ /m/ |
|
313
|
0 |
8 |
if $modifier =~ /s/ |
|
314
|
0 |
8 |
if $modifier =~ /x/ |
|
321
|
0 |
13 |
if ($limit == 0) { } |
|
323
|
0 |
0 |
if ($mode eq 'preg') { } |
|
330
|
0 |
13 |
unless (defined $replacement) |
|
337
|
8 |
5 |
if ($mode eq "preg") |
|
347
|
4 |
9 |
if (defined $modifier and $modifier =~ /e/) { } |
|
352
|
0 |
4 |
if ($@) |
|
356
|
4 |
0 |
if (scalar @- > 0) |
|
361
|
0 |
9 |
if ($limit != -1) { } |
|
363
|
0 |
0 |
if ($mode eq 'preg') { } |
|
368
|
0 |
0 |
if ($@) |
|
372
|
0 |
0 |
if (scalar @- == 0) |
|
379
|
4 |
5 |
if ($mode eq 'preg') { } |
|
386
|
0 |
9 |
if ($@) |
|
390
|
9 |
0 |
if (scalar @- > 0) |
|
397
|
0 |
13 |
if $ctx->{'log'} |
|
405
|
1 |
12 |
if (is_array($pattern)) { } |
|
|
12 |
0 |
elsif (is_strval($pattern)) { } |
|
413
|
1 |
0 |
if (is_array($replacement)) |
|
419
|
1 |
0 |
if (is_array($replacement)) |
|
425
|
0 |
1 |
if ($limit != -1) |
|
1552
|
634 |
21803 |
if (exists $php_funcs{$e}{$cmd}) |
|
1565
|
0 |
321 |
if ($cmd =~ /^(eval|include|include_once|require|require_once)$/) |
|
1569
|
95 |
226 |
if (defined $f) |
|
1570
|
5 |
90 |
if (exists $f->{'callable'}) |
|
1583
|
0 |
3 |
if ($cmd =~ /^(include|include_once|require|require_once)$/) |
|
1587
|
3 |
0 |
if (defined $f) |
|
1588
|
3 |
0 |
if (exists $f->{'ret'}) |
|
1589
|
1 |
2 |
unless ($f->{'ret'} & 272) |
|
1592
|
0 |
2 |
if ($f->{'ret'} & 512) |
|
1605
|
22 |
0 |
if (scalar @$args >= 1) |
|
1609
|
0 |
22 |
if (scalar @$args > 1) |
|
1612
|
18 |
4 |
if (defined $s) |
|
1619
|
0 |
18 |
if ($php50_compat) |
|
1622
|
0 |
18 |
if ($strict and not $s =~ m[^[A-Za-z0-9/+]*=*$]) |
|
1631
|
18 |
0 |
if (defined $decoded) |
|
1645
|
3 |
0 |
if (scalar @$args == 1) |
|
1647
|
3 |
0 |
if (defined $s) |
|
1654
|
3 |
0 |
if (defined $encoded) |
|
1655
|
0 |
3 |
if $ctx->{'log'} |
|
1667
|
22 |
0 |
unless ($ctx->{'infunction'} and not $ctx->{'incall'}) |
|
1668
|
21 |
1 |
if (is_variable($var)) { } |
|
|
1 |
0 |
elsif ($var =~ /^(\#elem\d+)$/) { } |
|
1674
|
1 |
0 |
if ($has_index) |
|
1676
|
1 |
0 |
if (defined $basestr and is_array($basestr) and defined $idxstr) |
|
1677
|
0 |
1 |
if is_null($idxstr) |
|
1692
|
8 |
0 |
if (is_variable($var)) { } |
|
|
0 |
0 |
elsif ($var =~ /^(\#elem\d+)$/) { } |
|
1698
|
0 |
0 |
unless ($had_assigns) |
|
1721
|
0 |
481 |
if $ctx->{'log'} |
|
1725
|
27 |
226 |
if (defined $f and exists $f->{'cmd'}) |
|
1730
|
0 |
454 |
if ($cmd eq 'unescape') { } |
|
|
0 |
454 |
elsif ($cmd eq 'str_rot13') { } |
|
|
1 |
453 |
elsif ($cmd eq 'strrev') { } |
|
|
3 |
450 |
elsif ($cmd eq 'strtoupper') { } |
|
|
0 |
450 |
elsif ($cmd eq 'strtolower') { } |
|
|
0 |
450 |
elsif ($cmd eq 'ucfirst') { } |
|
|
0 |
450 |
elsif ($cmd eq 'lcfirst') { } |
|
|
0 |
450 |
elsif ($cmd eq 'dirname') { } |
|
|
0 |
450 |
elsif ($cmd eq 'basename') { } |
|
|
15 |
435 |
elsif ($cmd eq 'strlen') { } |
|
|
8 |
427 |
elsif ($cmd eq 'chr') { } |
|
|
13 |
414 |
elsif ($cmd eq 'ord') { } |
|
|
2 |
412 |
elsif ($cmd eq 'hexdec') { } |
|
|
0 |
412 |
elsif ($cmd eq 'octdec') { } |
|
|
0 |
412 |
elsif ($cmd eq 'bindec') { } |
|
|
0 |
412 |
elsif ($cmd eq 'dechex') { } |
|
|
0 |
412 |
elsif ($cmd eq 'octhex') { } |
|
|
0 |
412 |
elsif ($cmd eq 'binhex') { } |
|
|
3 |
409 |
elsif ($cmd eq 'bin2hex') { } |
|
|
1 |
408 |
elsif ($cmd eq 'hex2bin') { } |
|
|
0 |
408 |
elsif ($cmd eq 'floor') { } |
|
|
0 |
408 |
elsif ($cmd eq 'ceil') { } |
|
|
3 |
405 |
elsif ($cmd eq 'intval') { } |
|
|
1 |
404 |
elsif ($cmd eq 'strval') { } |
|
|
0 |
404 |
elsif ($cmd eq 'boolval') { } |
|
|
0 |
404 |
elsif ($cmd eq 'floatval') { } |
|
|
0 |
404 |
elsif ($cmd eq 'pow') { } |
|
|
1 |
403 |
elsif ($cmd eq 'gzinflate') { } |
|
|
1 |
402 |
elsif ($cmd eq 'gzdecode') { } |
|
|
1 |
401 |
elsif ($cmd eq 'gzuncompress') { } |
|
|
1 |
400 |
elsif ($cmd eq 'crc32') { } |
|
|
6 |
394 |
elsif ($cmd eq 'hash') { } |
|
|
0 |
394 |
elsif ($cmd eq 'rawurldecode') { } |
|
|
1 |
393 |
elsif ($cmd eq 'rawurlencode') { } |
|
|
0 |
393 |
elsif ($cmd eq 'urldecode') { } |
|
|
1 |
392 |
elsif ($cmd eq 'urlencode') { } |
|
|
0 |
392 |
elsif ($cmd eq 'trim') { } |
|
|
0 |
392 |
elsif ($cmd eq 'ltrim') { } |
|
|
0 |
392 |
elsif ($cmd eq 'rtrim' or $cmd eq 'chop') { } |
|
|
0 |
392 |
elsif ($cmd eq 'stripslashes') { } |
|
|
0 |
392 |
elsif ($cmd eq 'stripcslashes') { } |
|
|
2 |
390 |
elsif ($cmd eq 'strpos') { } |
|
|
2 |
388 |
elsif ($cmd eq 'substr') { } |
|
|
1 |
387 |
elsif ($cmd eq 'substr_count') { } |
|
|
0 |
387 |
elsif ($cmd eq 'strstr') { } |
|
|
3 |
384 |
elsif ($cmd eq 'strtr') { } |
|
|
1 |
383 |
elsif ($cmd eq 'strcmp') { } |
|
|
0 |
383 |
elsif ($cmd eq 'strncmp') { } |
|
|
0 |
383 |
elsif ($cmd eq 'strcasecmp') { } |
|
|
1 |
382 |
elsif ($cmd eq 'strncasecmp') { } |
|
|
1 |
381 |
elsif ($cmd eq 'str_repeat') { } |
|
|
4 |
377 |
elsif ($cmd eq 'str_replace') { } |
|
|
0 |
377 |
elsif ($cmd eq 'ereg_replace') { } |
|
|
7 |
370 |
elsif ($cmd eq 'preg_replace') { } |
|
|
0 |
370 |
elsif ($cmd eq 'preg_quote') { } |
|
|
1 |
369 |
elsif ($cmd eq 'md5') { } |
|
|
1 |
368 |
elsif ($cmd eq 'sha1') { } |
|
|
0 |
368 |
elsif ($cmd eq 'levenshtein') { } |
|
|
0 |
368 |
elsif ($cmd eq 'str_split') { } |
|
|
1 |
367 |
elsif ($cmd eq 'preg_split') { } |
|
|
0 |
367 |
elsif ($cmd eq 'explode') { } |
|
|
4 |
363 |
elsif ($cmd eq 'implode' or $cmd eq 'join') { } |
|
|
5 |
358 |
elsif ($cmd eq 'range') { } |
|
|
2 |
356 |
elsif ($cmd eq 'count' or $cmd eq 'sizeof') { } |
|
|
0 |
356 |
elsif ($cmd eq 'htmlspecialchars' or $cmd eq 'htmlentities') { } |
|
|
0 |
356 |
elsif ($cmd eq 'htmlspecialchars_decode' or $cmd eq 'html_entity_decode') { } |
|
|
2 |
354 |
elsif ($cmd eq 'pack') { } |
|
|
1 |
353 |
elsif ($cmd eq 'unpack') { } |
|
|
1 |
352 |
elsif ($cmd eq 'sprintf') { } |
|
|
2 |
350 |
elsif ($cmd eq 'array_push') { } |
|
|
2 |
348 |
elsif ($cmd eq 'array_pop') { } |
|
|
2 |
346 |
elsif ($cmd eq 'array_unshift') { } |
|
|
2 |
344 |
elsif ($cmd eq 'array_shift') { } |
|
|
5 |
339 |
elsif ($cmd eq 'each') { } |
|
|
1 |
338 |
elsif ($cmd eq 'reset') { } |
|
|
4 |
334 |
elsif ($cmd eq 'next') { } |
|
|
1 |
333 |
elsif ($cmd eq 'prev') { } |
|
|
1 |
332 |
elsif ($cmd eq 'end') { } |
|
|
1 |
331 |
elsif ($cmd eq 'current' or $cmd eq 'pos') { } |
|
|
0 |
331 |
elsif ($cmd eq 'key') { } |
|
|
2 |
329 |
elsif ($cmd eq 'array_map') { } |
|
|
2 |
327 |
elsif ($cmd eq 'array_walk') { } |
|
|
2 |
325 |
elsif ($cmd eq 'array_rand') { } |
|
|
1 |
324 |
elsif ($cmd eq 'round') { } |
|
|
0 |
324 |
elsif ($cmd eq 'rand' or $cmd eq 'mt_rand') { } |
|
|
15 |
309 |
elsif ($cmd eq 'empty') { } |
|
|
3 |
306 |
elsif ($cmd eq 'is_array') { } |
|
|
15 |
291 |
elsif ($cmd eq 'is_null') { } |
|
|
1 |
290 |
elsif ($cmd eq 'is_null_weak') { } |
|
|
11 |
279 |
elsif ($cmd eq 'isset') { } |
|
|
3 |
276 |
elsif ($cmd eq 'define') { } |
|
|
10 |
266 |
elsif ($cmd eq 'function_exists') { } |
|
|
12 |
254 |
elsif ($cmd eq 'create_function') { } |
|
|
3 |
251 |
elsif ($cmd eq 'call_user_func') { } |
|
|
1 |
250 |
elsif ($cmd eq 'call_user_func_array') { } |
|
|
0 |
250 |
elsif ($cmd eq 'file') { } |
|
|
1 |
249 |
elsif ($cmd eq 'file_get_contents') { } |
|
|
0 |
249 |
elsif ($cmd eq 'reset') { } |
|
|
3 |
246 |
elsif ($cmd eq 'fopen') { } |
|
|
2 |
244 |
elsif ($cmd eq 'fclose') { } |
|
|
0 |
244 |
elsif ($cmd eq 'fread') { } |
|
|
0 |
244 |
elsif ($cmd eq 'fgets') { } |
|
1731
|
0 |
0 |
if (scalar @$args == 1) |
|
1733
|
0 |
0 |
if (defined $s) |
|
1739
|
0 |
0 |
if (scalar @$args == 1) |
|
1741
|
0 |
0 |
if (defined $s) |
|
1747
|
1 |
0 |
if (scalar @$args == 1) |
|
1749
|
1 |
0 |
if (defined $s) |
|
1754
|
3 |
0 |
if (scalar @$args == 1) |
|
1756
|
2 |
1 |
if (defined $s) |
|
1761
|
0 |
0 |
if (scalar @$args == 1) |
|
1763
|
0 |
0 |
if (defined $s) |
|
1768
|
0 |
0 |
if (scalar @$args == 1) |
|
1770
|
0 |
0 |
if (defined $s) |
|
1775
|
0 |
0 |
if (scalar @$args == 1) |
|
1777
|
0 |
0 |
if (defined $s) |
|
1782
|
0 |
0 |
if (scalar @$args == 1) |
|
1784
|
0 |
0 |
if (defined $s) |
|
1789
|
0 |
0 |
if (scalar @$args == 1) |
|
1791
|
0 |
0 |
if (defined $s) |
|
1796
|
15 |
0 |
if (scalar @$args == 1) |
|
1798
|
0 |
15 |
if (is_array($val)) { } |
|
|
1 |
14 |
elsif (is_null($val)) { } |
|
|
8 |
6 |
elsif (is_strval($val)) { } |
|
1807
|
8 |
0 |
if (defined $s) |
|
1814
|
8 |
0 |
if (scalar @$args == 1) |
|
1816
|
7 |
1 |
if (defined $s) |
|
1821
|
13 |
0 |
if (scalar @$args == 1) |
|
1823
|
11 |
2 |
if (defined $s) |
|
1829
|
2 |
0 |
if (scalar @$args == 1) |
|
1831
|
2 |
0 |
if (defined $s) |
|
1837
|
0 |
0 |
if (scalar @$args == 1) |
|
1839
|
0 |
0 |
if (defined $s) |
|
1845
|
0 |
0 |
if (scalar @$args == 1) |
|
1847
|
0 |
0 |
if (defined $s) |
|
1853
|
0 |
0 |
if (scalar @$args == 1) |
|
1855
|
0 |
0 |
if (defined $s) |
|
1860
|
0 |
0 |
if (scalar @$args == 1) |
|
1862
|
0 |
0 |
if (defined $s) |
|
1867
|
0 |
0 |
if (scalar @$args == 1) |
|
1869
|
0 |
0 |
if (defined $s) |
|
1874
|
3 |
0 |
if (scalar @$args == 1) |
|
1876
|
3 |
0 |
if (defined $s) |
|
1881
|
1 |
0 |
if (scalar @$args == 1) |
|
1883
|
1 |
0 |
if (defined $s) |
|
1888
|
0 |
0 |
if (scalar @$args == 1) |
|
1890
|
0 |
0 |
if (defined $s) |
|
1891
|
0 |
0 |
if $s eq "" |
|
1897
|
0 |
0 |
if (scalar @$args == 1) |
|
1899
|
0 |
0 |
if (defined $s) |
|
1900
|
0 |
0 |
if $s eq "" |
|
1906
|
3 |
0 |
if (scalar @$args == 1) |
|
1908
|
3 |
0 |
if (defined $s) |
|
1909
|
0 |
3 |
if $s eq "" |
|
1915
|
1 |
0 |
if (scalar @$args == 1) |
|
1917
|
1 |
0 |
if (defined $s) |
|
1922
|
0 |
0 |
if (scalar @$args == 1) |
|
1924
|
0 |
0 |
if (defined $s) |
|
1925
|
0 |
0 |
if $s eq "" |
|
1926
|
0 |
0 |
if ($s eq '0') { } |
|
1935
|
0 |
0 |
if (scalar @$args == 1) |
|
1937
|
0 |
0 |
if (defined $s) |
|
1938
|
0 |
0 |
if $s eq "" |
|
1944
|
0 |
0 |
if (scalar @$args == 2) |
|
1947
|
0 |
0 |
if (defined $s and defined $e) |
|
1948
|
0 |
0 |
if $s eq "" |
|
1949
|
0 |
0 |
if $e eq "" |
|
1955
|
1 |
0 |
if (scalar @$args >= 1) |
|
1958
|
0 |
1 |
if (scalar @$args > 1) |
|
1960
|
0 |
0 |
if $maxlen eq "" |
|
1962
|
1 |
0 |
if (defined $s and (defined $maxlen and $maxlen eq 0)) |
|
1965
|
1 |
0 |
if (defined $output) |
|
1971
|
1 |
0 |
if (scalar @$args >= 1) |
|
1974
|
0 |
1 |
if (scalar @$args > 1) |
|
1976
|
0 |
0 |
if $maxlen eq "" |
|
1978
|
1 |
0 |
if (defined $s and (defined $maxlen and $maxlen eq 0)) |
|
1981
|
1 |
0 |
if (substr($s, 0, 3) eq "\37\213\b") |
|
1984
|
0 |
1 |
if ($flag > 0) |
|
1985
|
0 |
0 |
if ($flag & 4) |
|
1989
|
0 |
0 |
if ($flag & 8) |
|
1992
|
0 |
0 |
if ($flag & 16) |
|
1995
|
0 |
0 |
if ($flag & 2) |
|
2003
|
1 |
0 |
if (defined $output) |
|
2010
|
1 |
0 |
if (scalar @$args == 1) |
|
2012
|
1 |
0 |
if (defined $s) |
|
2017
|
1 |
0 |
if (scalar @$args == 1) |
|
2019
|
1 |
0 |
if (defined $s) |
|
2025
|
6 |
0 |
if (scalar @$args >= 2) |
|
2029
|
2 |
4 |
if (scalar @$args > 2) |
|
2032
|
6 |
0 |
if (defined $a and defined $s and defined $raw) |
|
2034
|
1 |
5 |
if ($a eq 'crc32') { } |
|
|
2 |
3 |
elsif ($a eq 'crc32b') { } |
|
|
1 |
2 |
elsif ($a eq 'sha1') { } |
|
|
2 |
0 |
elsif ($a eq 'md5') { } |
|
2043
|
6 |
0 |
if (defined $output) |
|
2044
|
4 |
2 |
if ($raw eq '0') { } |
|
2054
|
0 |
0 |
if (scalar @$args == 1) |
|
2056
|
0 |
0 |
if (defined $s) |
|
2062
|
1 |
0 |
if (scalar @$args == 1) |
|
2064
|
1 |
0 |
if (defined $s) |
|
2071
|
0 |
0 |
if (scalar @$args == 1) |
|
2073
|
0 |
0 |
if (defined $s) |
|
2079
|
1 |
0 |
if (scalar @$args == 1) |
|
2081
|
1 |
0 |
if (defined $s) |
|
2089
|
0 |
0 |
if (scalar @$args == 1) |
|
2091
|
0 |
0 |
if (defined $s) |
|
2097
|
0 |
0 |
if (scalar @$args == 1) |
|
2099
|
0 |
0 |
if (defined $s) |
|
2105
|
0 |
0 |
if (scalar @$args == 1) |
|
2107
|
0 |
0 |
if (defined $s) |
|
2113
|
0 |
0 |
if (scalar @$args == 1) |
|
2115
|
0 |
0 |
if (defined $s) |
|
2121
|
0 |
0 |
if (scalar @$args == 1) |
|
2123
|
0 |
0 |
if (defined $s) |
|
2128
|
2 |
0 |
if (scalar @$args >= 2) |
|
2132
|
1 |
1 |
if (scalar @$args == 3) |
|
2134
|
0 |
1 |
if $off eq "" |
|
2136
|
2 |
0 |
if (defined $s and defined $p) |
|
2142
|
2 |
0 |
if (scalar @$args >= 2) |
|
2145
|
2 |
0 |
if (defined $s and defined $off) |
|
2146
|
0 |
2 |
if $off eq "" |
|
2147
|
1 |
1 |
if (scalar @$args == 3) { } |
|
2149
|
1 |
0 |
if (defined $len) |
|
2150
|
0 |
1 |
if $len eq "" |
|
2159
|
1 |
0 |
if (scalar @$args >= 2) |
|
2162
|
1 |
0 |
if (defined $s) |
|
2164
|
1 |
0 |
if (scalar @$args > 2) |
|
2166
|
0 |
1 |
if (scalar @$args > 3) { } |
|
2178
|
0 |
0 |
if (scalar @$args >= 2) |
|
2181
|
0 |
0 |
if (defined $s and defined $p) |
|
2183
|
0 |
0 |
if (defined $off) |
|
2185
|
0 |
0 |
if (scalar @$args > 2) |
|
2188
|
0 |
0 |
if ($before) { } |
|
2203
|
3 |
0 |
if (scalar @$args == 3) |
|
2209
|
3 |
0 |
if (defined $str and defined $from and defined $to) |
|
2213
|
1 |
2 |
if (length $from > length $to) { } |
|
|
1 |
1 |
elsif (length $to > length $from) { } |
|
2221
|
3 |
0 |
unless ($@) |
|
2222
|
0 |
3 |
if $ctx->{'log'} |
|
2231
|
1 |
0 |
if (scalar @$args == 2) |
|
2234
|
1 |
0 |
if (defined $s and defined $d) |
|
2243
|
0 |
0 |
if (scalar @$args == 3) |
|
2247
|
0 |
0 |
if (defined $s and defined $d and defined $len) |
|
2248
|
0 |
0 |
if $len eq "" |
|
2257
|
0 |
0 |
if (scalar @$args == 2) |
|
2260
|
0 |
0 |
if (defined $s and defined $d) |
|
2269
|
1 |
0 |
if (scalar @$args == 3) |
|
2273
|
1 |
0 |
if (defined $s and defined $d and defined $len) |
|
2274
|
0 |
1 |
if $len eq "" |
|
2282
|
1 |
0 |
if (scalar @$args == 2) |
|
2286
|
1 |
0 |
if (defined $s and defined $m) |
|
2287
|
0 |
1 |
if $m eq "" |
|
2288
|
0 |
1 |
if ($m > $ctx->{'max_repeat'}) { } |
|
2296
|
4 |
0 |
if (scalar @$args >= 3) |
|
2301
|
0 |
4 |
if (scalar @$args == 4) |
|
2303
|
0 |
0 |
if $limit eq "" |
|
2305
|
4 |
0 |
if (defined $pattern and defined $replacement and defined $subject) |
|
2306
|
1 |
3 |
if (is_array($subject)) { } |
|
|
3 |
0 |
elsif (is_strval($subject)) { } |
|
|
0 |
0 |
elsif ($subject eq '#null') { } |
|
2315
|
0 |
2 |
if ($limit != -1) |
|
2330
|
0 |
0 |
if (scalar @$args == 3) |
|
2337
|
0 |
0 |
if (defined $pattern and defined $replacement and defined $str) |
|
2340
|
0 |
0 |
if $ctx->{'log'} |
|
2344
|
7 |
0 |
if (scalar @$args >= 3) |
|
2349
|
0 |
7 |
if (scalar @$args == 4) |
|
2351
|
0 |
0 |
if $limit eq "" |
|
2356
|
7 |
0 |
if (defined $pattern and defined $replacement and defined $subject) |
|
2357
|
1 |
6 |
if (is_array($subject)) { } |
|
|
6 |
0 |
elsif (is_strval($subject)) { } |
|
|
0 |
0 |
elsif ($subject eq '#null') { } |
|
2366
|
0 |
2 |
if ($limit != -1) |
|
2381
|
0 |
0 |
if (scalar @$args == 1) |
|
2383
|
0 |
0 |
if (defined $s) |
|
2390
|
1 |
0 |
if (scalar @$args == 1) |
|
2392
|
1 |
0 |
if (defined $s) |
|
2397
|
1 |
0 |
if (scalar @$args == 1) |
|
2399
|
1 |
0 |
if (defined $s) |
|
2404
|
0 |
0 |
if (scalar @$args == 2) |
|
2407
|
0 |
0 |
if (defined $s1 and defined $s2) |
|
2412
|
0 |
0 |
if (scalar @$args >= 1) |
|
2415
|
0 |
0 |
if (scalar @$args == 2) |
|
2418
|
0 |
0 |
if (defined $s1 and defined $s2) |
|
2424
|
0 |
0 |
if $ctx->{'log'} |
|
2432
|
1 |
0 |
if (scalar @$args >= 2) |
|
2437
|
0 |
1 |
if (scalar @$args > 2) |
|
2439
|
0 |
0 |
if $limit eq "" |
|
2441
|
0 |
1 |
if (scalar @$args > 3) |
|
2444
|
1 |
0 |
if (defined $s1 and defined $s2 and $flags == 0) |
|
2450
|
0 |
3 |
if $ctx->{'log'} |
|
2458
|
0 |
0 |
if (scalar @$args >= 2) |
|
2462
|
0 |
0 |
if (scalar @$args == 3) |
|
2465
|
0 |
0 |
if (defined $s1 and defined $s2) |
|
2470
|
0 |
0 |
if $ctx->{'log'} |
|
2481
|
4 |
0 |
if (scalar @$args >= 1) |
|
2485
|
4 |
0 |
if (scalar @$args == 2) |
|
2486
|
1 |
3 |
if (is_array($args->[0])) { } |
|
2495
|
4 |
0 |
if (defined $glue and defined $basestr) |
|
2496
|
2 |
2 |
if (is_array($basestr)) |
|
2504
|
4 |
0 |
if (is_strval($val)) { } |
|
2508
|
0 |
0 |
if (is_strval($v)) { } |
|
2517
|
2 |
0 |
unless $failed |
|
2524
|
5 |
0 |
if (scalar @$args >= 2) |
|
2528
|
0 |
5 |
if (scalar @$args == 3) |
|
2530
|
0 |
0 |
if $step eq "" |
|
2532
|
5 |
0 |
if (defined $s1 and defined $s2) |
|
2540
|
4 |
1 |
if ($s1 =~ /^[a-zA-Z0-9]*$/ and $s2 =~ /^[a-zA-Z0-9]*$/) { } |
|
2547
|
0 |
8 |
if $ctx->{'log'} |
|
2558
|
2 |
0 |
if (scalar @$args == 1) |
|
2560
|
2 |
0 |
if (defined $basestr) |
|
2561
|
1 |
1 |
if (is_array($basestr)) |
|
2570
|
0 |
0 |
if (scalar @$args >= 1) |
|
2572
|
0 |
0 |
if (defined $s) |
|
2579
|
0 |
0 |
if (scalar @$args == 1) |
|
2581
|
0 |
0 |
if (defined $s) |
|
2586
|
2 |
0 |
if (scalar @$args >= 1) |
|
2591
|
2 |
0 |
if (defined $s) |
|
2594
|
0 |
4 |
unless defined $p |
|
2597
|
2 |
0 |
if ($i == scalar @$args) |
|
2599
|
0 |
2 |
if ($@) |
|
2606
|
1 |
0 |
if (scalar @$args == 2) |
|
2610
|
1 |
0 |
if (defined $s and defined $d) |
|
2613
|
0 |
1 |
if ($@) |
|
2620
|
0 |
2 |
if $ctx->{'log'} |
|
2628
|
1 |
0 |
if (scalar @$args >= 1) |
|
2633
|
1 |
0 |
if (defined $s) |
|
2636
|
0 |
2 |
unless defined $p |
|
2639
|
1 |
0 |
if ($i == scalar @$args) |
|
2641
|
0 |
1 |
if ($@) |
|
2650
|
2 |
0 |
if (scalar @$args >= 1) |
|
2654
|
2 |
0 |
if ($is_valid) |
|
2655
|
2 |
0 |
if (not defined $val or is_null($val) or is_array($val)) |
|
2657
|
1 |
1 |
if (defined $val and is_array($val)) { } |
|
2677
|
2 |
0 |
if (scalar @$args == 1) |
|
2681
|
2 |
0 |
if ($is_valid) |
|
2682
|
2 |
0 |
if (not defined $val or is_array($val)) |
|
2683
|
2 |
0 |
if (defined $val and is_array($val)) { } |
|
2686
|
1 |
1 |
if (scalar @$keys == 0) { } |
|
2704
|
2 |
0 |
if (scalar @$args >= 1) |
|
2708
|
2 |
0 |
if ($is_valid) |
|
2709
|
2 |
0 |
if (not defined $val or is_null($val) or is_array($val)) |
|
2715
|
1 |
1 |
if (defined $val and is_array($val)) |
|
2721
|
1 |
0 |
if (is_int_index($k)) { } |
|
2739
|
2 |
0 |
if (scalar @$args == 1) |
|
2743
|
2 |
0 |
if ($is_valid) |
|
2744
|
2 |
0 |
if (not defined $val or is_array($val)) { } |
|
2745
|
2 |
0 |
if (defined $val and is_array($val)) { } |
|
2748
|
1 |
1 |
if (scalar @$keys == 0) { } |
|
2757
|
1 |
0 |
if (is_int_index($k)) { } |
|
2776
|
5 |
0 |
if (scalar @$args == 1) |
|
2780
|
5 |
0 |
if ($is_valid) |
|
2781
|
5 |
0 |
if (defined $val and is_array($val)) { } |
|
2785
|
1 |
4 |
if ($pos >= scalar @$keys) { } |
|
2792
|
4 |
0 |
if (is_int_index($k)) |
|
2809
|
1 |
0 |
if (scalar @$args == 1) |
|
2813
|
1 |
0 |
if ($is_valid) |
|
2814
|
1 |
0 |
if (defined $val and is_array($val)) { } |
|
2818
|
0 |
1 |
if (scalar @$keys == 0) { } |
|
2835
|
4 |
0 |
if (scalar @$args == 1) |
|
2839
|
4 |
0 |
if ($is_valid) |
|
2840
|
4 |
0 |
if (defined $val and is_array($val)) { } |
|
2844
|
1 |
3 |
if ($pos + 1 >= scalar @$keys) { } |
|
2862
|
1 |
0 |
if (scalar @$args == 1) |
|
2866
|
1 |
0 |
if ($is_valid) |
|
2867
|
1 |
0 |
if (defined $val and is_array($val)) { } |
|
2871
|
0 |
1 |
if ($pos == 0 or scalar @$keys == 0) { } |
|
2889
|
1 |
0 |
if (scalar @$args == 1) |
|
2893
|
1 |
0 |
if ($is_valid) |
|
2894
|
1 |
0 |
if (defined $val and is_array($val)) { } |
|
2897
|
0 |
1 |
if (scalar @$keys == 0) { } |
|
2916
|
1 |
0 |
if (scalar @$args == 1) |
|
2919
|
1 |
0 |
unless ($ctx->{'infunction'} and not $ctx->{'incall'}) |
|
2920
|
1 |
0 |
if (is_array($var)) { } |
|
2924
|
0 |
1 |
if ($pos >= scalar @$keys) { } |
|
2941
|
0 |
0 |
if (scalar @$args == 1) |
|
2944
|
0 |
0 |
unless ($ctx->{'infunction'} and not $ctx->{'incall'}) |
|
2945
|
0 |
0 |
if (is_array($var)) { } |
|
2949
|
0 |
0 |
if ($pos >= scalar @$keys) { } |
|
2954
|
0 |
0 |
if (is_int_index($k)) |
|
2968
|
2 |
0 |
if (scalar @$args == 2) |
|
2971
|
2 |
0 |
if (is_strval($name) || is_variable($name) and is_array($param)) |
|
2975
|
2 |
0 |
if (is_strval($name)) |
|
2978
|
2 |
0 |
if (defined $keys) |
|
2993
|
2 |
0 |
if (scalar @$args >= 2) |
|
2997
|
1 |
1 |
if (is_strval($name)) |
|
3000
|
0 |
2 |
if (scalar @$args > 2) |
|
3005
|
2 |
0 |
if ($is_valid) |
|
3006
|
2 |
0 |
if (defined $val and is_array($val)) |
|
3015
|
4 |
0 |
if (is_int_index($k)) |
|
3020
|
0 |
4 |
defined $arg ? : |
|
3034
|
2 |
0 |
if (scalar @$args >= 1) |
|
3037
|
1 |
1 |
if (scalar @$args == 2) |
|
3040
|
2 |
0 |
unless ($ctx->{'infunction'} and not $ctx->{'incall'}) |
|
3043
|
2 |
0 |
if (is_array($param)) |
|
3046
|
0 |
2 |
if (not defined $keys or $num > scalar @$keys) { } |
|
|
1 |
1 |
elsif ($num == 1) { } |
|
3052
|
0 |
1 |
if (is_int_index($k)) { } |
|
3066
|
2 |
0 |
if (is_int_index($k)) |
|
3077
|
1 |
0 |
if (scalar @$args >= 1) |
|
3080
|
1 |
0 |
if (scalar @$args == 2) |
|
3083
|
1 |
0 |
if (defined $s and defined $precision) |
|
3084
|
0 |
1 |
if ($precision == 0) { } |
|
3095
|
0 |
0 |
if (scalar @$args == 2) |
|
3099
|
0 |
0 |
if (defined $min and defined $max) |
|
3102
|
0 |
0 |
unless ($ctx->{'infunction'} and not $ctx->{'incall'}) |
|
3112
|
15 |
0 |
if (scalar @$args >= 1) |
|
3114
|
2 |
13 |
if (is_array($val)) { } |
|
|
3 |
10 |
elsif (is_null($val)) { } |
|
|
3 |
7 |
elsif (is_strval($val)) { } |
|
|
1 |
6 |
elsif (is_variable($val)) { } |
|
|
6 |
0 |
elsif ($val =~ /^(\#elem\d+)$/) { } |
|
3116
|
1 |
1 |
$arr->empty ? : |
|
3123
|
0 |
3 |
if (not defined $s) { } |
|
|
0 |
3 |
elsif ($s eq '0') { } |
|
|
1 |
2 |
elsif ($val =~ /^(\#str\d+)$/ and $s eq '') { } |
|
3136
|
0 |
1 |
if (not defined $v) { } |
|
|
1 |
0 |
elsif ($v eq '#unresolved') { } |
|
3137
|
0 |
0 |
unless (&parsing_func($ctx) or $ctx->{'tainted'}) |
|
3138
|
0 |
0 |
unless ($ctx->{'skipundef'}) |
|
3149
|
6 |
0 |
if (defined $basevar) |
|
3150
|
6 |
0 |
if ($has_index) { } |
|
3152
|
2 |
4 |
if (defined $basestr and is_array($basestr) and defined $idxstr) { } |
|
|
0 |
4 |
elsif (not defined $basestr and !$ctx->is_superglobal($basevar) || $basevar =~ /^\$GLOBALS$/) { } |
|
3153
|
0 |
2 |
if is_null($idxstr) |
|
3156
|
0 |
2 |
if (defined $arrval) { } |
|
|
1 |
1 |
elsif (not $ctx->is_superglobal($basevar)) { } |
|
3158
|
0 |
0 |
if (not defined $s) { } |
|
|
0 |
0 |
elsif ($s eq '0') { } |
|
|
0 |
0 |
elsif ($arrval =~ /^(\#str\d+)$/ and $s eq '') { } |
|
3172
|
0 |
0 |
unless ($ctx->{'tainted'}) |
|
3173
|
0 |
0 |
defined $i ? : |
|
3178
|
0 |
0 |
if (not defined $v) { } |
|
|
0 |
0 |
elsif ($v eq '#unresolved') { } |
|
3179
|
0 |
0 |
unless (&parsing_func($ctx) or $ctx->{'tainted'}) |
|
3180
|
0 |
0 |
unless ($ctx->{'skipundef'}) |
|
3195
|
3 |
0 |
if (scalar @$args == 1) |
|
3197
|
1 |
2 |
if (is_array($val)) { } |
|
|
1 |
1 |
elsif ($ctx->is_superglobal($val)) { } |
|
|
1 |
0 |
elsif (is_null($val)) { } |
|
|
0 |
0 |
elsif (is_strval($val)) { } |
|
3215
|
15 |
0 |
if (scalar @$args >= 1) |
|
3217
|
2 |
13 |
if (is_array($val)) { } |
|
|
3 |
10 |
elsif (is_null($val)) { } |
|
|
2 |
8 |
elsif (is_strval($val)) { } |
|
|
4 |
4 |
elsif (is_variable($val)) { } |
|
|
3 |
1 |
elsif ($val =~ /^(\#elem\d+)$/) { } |
|
3225
|
0 |
2 |
if (not defined $s) { } |
|
3233
|
2 |
2 |
if (not defined $v) { } |
|
|
2 |
0 |
elsif ($v eq '#unresolved') { } |
|
3234
|
2 |
0 |
unless (&parsing_func($ctx) or $ctx->{'tainted'}) |
|
3235
|
2 |
0 |
unless ($ctx->{'skipundef'}) |
|
3236
|
2 |
0 |
if ($ctx->is_superglobal($val)) { } |
|
3254
|
3 |
0 |
if (defined $basevar) |
|
3256
|
2 |
1 |
if (defined $basestr and is_array($basestr) and defined $idxstr) { } |
|
|
0 |
1 |
elsif (not defined $basestr and !$ctx->is_superglobal($basevar) || $basevar =~ /^\$GLOBALS$/) { } |
|
3257
|
0 |
2 |
if is_null($idxstr) |
|
3260
|
0 |
2 |
if (defined $arrval) { } |
|
|
1 |
1 |
elsif (not $ctx->is_superglobal($basevar)) { } |
|
3267
|
0 |
0 |
unless ($ctx->{'tainted'}) |
|
3268
|
0 |
0 |
defined $i ? : |
|
3277
|
1 |
0 |
if (scalar @$args >= 1) |
|
3279
|
0 |
1 |
if (is_array($val)) { } |
|
|
0 |
1 |
elsif (is_null($val)) { } |
|
|
0 |
1 |
elsif (is_strval($val)) { } |
|
|
1 |
0 |
elsif (is_variable($val)) { } |
|
|
0 |
0 |
elsif ($val =~ /^(\#elem\d+)$/) { } |
|
3287
|
0 |
0 |
if (not defined $s) { } |
|
|
0 |
0 |
elsif ($val =~ /^(\#num\d+)$/ and $s == 0) { } |
|
|
0 |
0 |
elsif ($s eq '0') { } |
|
|
0 |
0 |
elsif ($val =~ /^(\#str\d+)$/ and $s eq '') { } |
|
|
0 |
0 |
elsif ($val =~ /^(\#null)$/) { } |
|
3303
|
1 |
0 |
if (not defined $v) { } |
|
|
0 |
0 |
elsif ($v eq '#unresolved') { } |
|
3304
|
0 |
1 |
unless (&parsing_func($ctx) or $ctx->{'tainted'}) |
|
3305
|
0 |
0 |
unless ($ctx->{'skipundef'}) |
|
3306
|
0 |
0 |
if ($ctx->is_superglobal($val)) { } |
|
3324
|
0 |
0 |
if (defined $basevar) |
|
3326
|
0 |
0 |
if (defined $basestr and is_array($basestr) and defined $idxstr) { } |
|
|
0 |
0 |
elsif (not defined $basestr and !$ctx->is_superglobal($basevar) || $basevar =~ /^\$GLOBALS$/) { } |
|
3327
|
0 |
0 |
if is_null($idxstr) |
|
3330
|
0 |
0 |
if (defined $arrval) { } |
|
|
0 |
0 |
elsif (not $ctx->is_superglobal($basevar)) { } |
|
3332
|
0 |
0 |
if (not defined $s) { } |
|
|
0 |
0 |
elsif ($arrval =~ /^(\#num\d+)$/ and $s == 0) { } |
|
|
0 |
0 |
elsif ($arrval eq '0') { } |
|
|
0 |
0 |
elsif ($arrval =~ /^(\#str\d+)$/ and $s eq '') { } |
|
|
0 |
0 |
elsif ($arrval =~ /^(\#null)$/) { } |
|
3350
|
0 |
0 |
unless ($ctx->{'tainted'}) |
|
3351
|
0 |
0 |
defined $i ? : |
|
3359
|
6 |
5 |
if (defined $inv and is_strval($inv)) |
|
3360
|
4 |
2 |
if ($parser->{'strmap'}{$inv} eq '0') { } |
|
3368
|
3 |
0 |
if (scalar @$args == 2) |
|
3371
|
3 |
0 |
if (defined $key and defined $val) |
|
3372
|
3 |
0 |
if (defined $ctx->{'defines'}) |
|
3374
|
0 |
3 |
if $ctx->{'log'} |
|
3383
|
10 |
0 |
if (scalar @$args == 1) |
|
3385
|
10 |
0 |
if (defined $fn) |
|
3391
|
9 |
1 |
unless ($ctx->{'skipundef'}) |
|
3392
|
2 |
7 |
if ($ctx->getfun($fn)) |
|
3396
|
8 |
2 |
unless (defined $res) |
|
3397
|
2 |
6 |
if (get_php_func($lfn)) |
|
3401
|
6 |
4 |
unless (defined $res) |
|
3402
|
0 |
6 |
if ($ctx->{'tainted'}) { } |
|
3433
|
12 |
0 |
if (scalar @$args == 2) |
|
3436
|
9 |
3 |
if (defined $args and defined $code) |
|
3456
|
3 |
0 |
if (scalar @$args >= 1) |
|
3458
|
3 |
0 |
if (is_strval($name) or is_variable($name)) |
|
3459
|
3 |
0 |
if (is_strval($name)) |
|
3470
|
1 |
0 |
if (scalar @$args == 2) |
|
3473
|
1 |
0 |
if (is_strval($name) || is_variable($name) and is_array($param)) |
|
3476
|
1 |
0 |
if (is_strval($name)) |
|
3479
|
1 |
0 |
if (@$keys) |
|
3495
|
0 |
0 |
if (scalar @$args >= 1) |
|
3499
|
0 |
0 |
if (scalar @$args > 1) |
|
3502
|
0 |
0 |
if (defined $filename) |
|
3504
|
0 |
0 |
if (defined $fh) |
|
3510
|
0 |
0 |
if ($flags =~ /FILE_IGNORE_NEW_LINES/) { } |
|
3518
|
0 |
0 |
if $ctx->{'log'} |
|
3529
|
1 |
0 |
if (scalar @$args == 1) |
|
3532
|
1 |
0 |
if (defined $filename) |
|
3534
|
0 |
1 |
if (defined $fh) |
|
3545
|
0 |
0 |
if (scalar @$args == 1) |
|
3548
|
0 |
0 |
if (is_array($basestr)) |
|
3557
|
2 |
1 |
if (scalar @$args >= 2) |
|
3560
|
1 |
1 |
if (defined $filename and defined $mode) |
|
3566
|
2 |
0 |
if (scalar @$args == 1) |
|
3568
|
0 |
2 |
if ($fh =~ /^(\#fh\d+)$/) |
|
3574
|
0 |
0 |
if (scalar @$args == 2) |
|
3577
|
0 |
0 |
if ($fh =~ /^(\#fh\d+)$/ and defined $cnt) |
|
3580
|
0 |
0 |
if ($cnt > length($buf) - $pos) |
|
3589
|
0 |
0 |
if (scalar @$args >= 1) |
|
3592
|
0 |
0 |
if (scalar @$args == 2) |
|
3595
|
0 |
0 |
if ($fh =~ /^(\#fh\d+)$/) |
|
3602
|
0 |
0 |
if ($ch eq "\n") |
|
3606
|
0 |
0 |
if defined $cnt and length $res >= $cnt |
|
3615
|
119 |
282 |
if (defined $res) |
|
3617
|
79 |
40 |
if ($to_num) { } |