diff options
author | murphy <murphy@rubychan.de> | 2009-04-22 02:56:46 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-04-22 02:56:46 +0000 |
commit | 26c543a2eda041a0e4a5508e073dfac4494c2ff2 (patch) | |
tree | 49842503b09c91371033d66745bd48fd2dc0910a /test | |
parent | 5fc96a6af2837a1c03c0880ef88d8dcbe7c6029d (diff) | |
download | coderay-26c543a2eda041a0e4a5508e073dfac4494c2ff2.tar.gz |
Cleanups and minor fixes to PHP scanner (issue #36).
Diffstat (limited to 'test')
-rw-r--r-- | test/scanners/php/pleac.expected.raydebug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scanners/php/pleac.expected.raydebug b/test/scanners/php/pleac.expected.raydebug index c900ba0..3054902 100644 --- a/test/scanners/php/pleac.expected.raydebug +++ b/test/scanners/php/pleac.expected.raydebug @@ -505,7 +505,7 @@ operator({) operator(}) predefined(echo) ident(getnum)operator(()integer(123)operator(\)) operator(.) string<delimiter(")char(\\n)delimiter(")>operator(;) comment(// ok) -predefined(echo) ident(getnum)operator(()integer(0xf)ident(f)operator(\)) operator(.) string<delimiter(")char(\\n)delimiter(")>operator(;) comment(// ..) +predefined(echo) ident(getnum)operator(()hex(0xff)operator(\)) operator(.) string<delimiter(")char(\\n)delimiter(")>operator(;) comment(// ..) predefined(echo) ident(getnum)operator(()integer(044)operator(\)) operator(.) string<delimiter(")char(\\n)delimiter(")>operator(;) comment(// ..) predefined(echo) ident(getnum)operator(()string<delimiter(')content(x)delimiter(')>operator(\)) operator(.) string<delimiter(")char(\\n)delimiter(")>operator(;) comment(// fail) @@ -680,7 +680,7 @@ ident(mt_srand)operator(()local_variable($saved_random_value) operator(+) predef comment(// or) -ident(mt_srand)operator(()operator(()local_variable($saved_random_value) operator(+) predefined(hexdec)operator(()predefined(substr)operator(()predefined(md5)operator(()predefined(microtime)operator(()operator(\))operator(\))operator(,) operator(-)integer(8)operator(\))operator(\))operator(\)) operator(&) integer(0x7)ident(fffffff)operator(\))operator(;) +ident(mt_srand)operator(()operator(()local_variable($saved_random_value) operator(+) predefined(hexdec)operator(()predefined(substr)operator(()predefined(md5)operator(()predefined(microtime)operator(()operator(\))operator(\))operator(,) operator(-)integer(8)operator(\))operator(\))operator(\)) operator(&) hex(0x7fffffff)operator(\))operator(;) comment(// Use of 'mt_rand' together with an appropriate seeding approach should help better) comment(// approximate the generation of a 'truly random value') |