includeAndEval.test 644 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Include and eval
  2. -----
  3. <?php
  4. include 'A.php';
  5. include_once 'A.php';
  6. require 'A.php';
  7. require_once 'A.php';
  8. eval('A');
  9. -----
  10. array(
  11. 0: Expr_Include(
  12. expr: Scalar_String(
  13. value: A.php
  14. )
  15. type: 1
  16. )
  17. 1: Expr_Include(
  18. expr: Scalar_String(
  19. value: A.php
  20. )
  21. type: 2
  22. )
  23. 2: Expr_Include(
  24. expr: Scalar_String(
  25. value: A.php
  26. )
  27. type: 3
  28. )
  29. 3: Expr_Include(
  30. expr: Scalar_String(
  31. value: A.php
  32. )
  33. type: 4
  34. )
  35. 4: Expr_Eval(
  36. expr: Scalar_String(
  37. value: A
  38. )
  39. )
  40. )