1) Hmm, tricky. Cannot fix that one. But I mean, eval($a) is a nonsense line so it is fair to call it dubious.SammaySarkar wrote:But to me it seems eval() has complete disregard for any kind of quotes...Code: Select all
$a = 'string'; eval($a);
2) disregard of quotes? No, there are no quotes to regard in your code. $a is set to "string" (*without* the quotes), then "string" (*without* the quotes) is passed to eval.
XYplorer Beta Club