Lines Matching refs:tmp
13 $tmp = NULL;
16 if (NULL !== ($tmp = @mysqli_real_escape_string()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (NULL !== ($tmp = @mysqli_real_escape_string($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (NULL !== ($tmp =@mysqli_real_escape_string($link, "foo", "foo")))
25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 if ('\\\\' !== ($tmp = mysqli_real_escape_string($link, '\\')))
28 printf("[004] Expecting \\\\, got %s\n", $tmp);
30 if ('\"' !== ($tmp = mysqli_real_escape_string($link, '"')))
31 printf("[005] Expecting \", got %s\n", $tmp);
33 if ("\'" !== ($tmp = mysqli_real_escape_string($link, "'")))
34 printf("[006] Expecting ', got %s\n", $tmp);
36 if ("\\n" !== ($tmp = mysqli_real_escape_string($link, "\n")))
37 printf("[007] Expecting \\n, got %s\n", $tmp);
39 if ("\\r" !== ($tmp = mysqli_real_escape_string($link, "\r")))
40 printf("[008] Expecting \\r, got %s\n", $tmp);
42 if ("foo\\0bar" !== ($tmp = mysqli_real_escape_string($link, "foo" . chr(0) . "bar")))
43 printf("[009] Expecting %s, got %s\n", "foo\\0bar", $tmp);
47 if (NULL !== ($tmp = mysqli_real_escape_string($link, 'foo')))
48 printf("[010] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
51 if (NULL !== ($tmp = @mysqli_escape_string()))
52 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);