exit.test 718 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Exit
  2. -----
  3. <?php
  4. exit;
  5. exit();
  6. exit('Die!');
  7. die;
  8. die();
  9. die('Exit!');
  10. -----
  11. array(
  12. 0: Stmt_Expression(
  13. expr: Expr_Exit(
  14. expr: null
  15. )
  16. )
  17. 1: Stmt_Expression(
  18. expr: Expr_Exit(
  19. expr: null
  20. )
  21. )
  22. 2: Stmt_Expression(
  23. expr: Expr_Exit(
  24. expr: Scalar_String(
  25. value: Die!
  26. )
  27. )
  28. )
  29. 3: Stmt_Expression(
  30. expr: Expr_Exit(
  31. expr: null
  32. )
  33. )
  34. 4: Stmt_Expression(
  35. expr: Expr_Exit(
  36. expr: null
  37. )
  38. )
  39. 5: Stmt_Expression(
  40. expr: Expr_Exit(
  41. expr: Scalar_String(
  42. value: Exit!
  43. )
  44. )
  45. )
  46. )