From 26c543a2eda041a0e4a5508e073dfac4494c2ff2 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 22 Apr 2009 02:56:46 +0000 Subject: Cleanups and minor fixes to PHP scanner (issue #36). --- test/scanners/php/pleac.expected.raydebug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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(.) stringoperator(;) comment(// ok) -predefined(echo) ident(getnum)operator(()integer(0xf)ident(f)operator(\)) operator(.) stringoperator(;) comment(// ..) +predefined(echo) ident(getnum)operator(()hex(0xff)operator(\)) operator(.) stringoperator(;) comment(// ..) predefined(echo) ident(getnum)operator(()integer(044)operator(\)) operator(.) stringoperator(;) comment(// ..) predefined(echo) ident(getnum)operator(()stringoperator(\)) operator(.) stringoperator(;) 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') -- cgit v1.2.1