001+ Fatal error: Uncaught Error: Call to undefined function session_id() in %s/output_add_rewrite_var_basic4.php:8
002+ Stack trace:
003+ #0 {main}
004+ thrown in %s/output_add_rewrite_var_basic4.php on line 8
001- Without session
002- <a href="?%3CNAME%3E=%3CVALUE%3E"> </a>
003- <a href="./foo.php?%3CNAME%3E=%3CVALUE%3E"> </a>
004- <a href="//php.net/foo.php"> </a>
005- <a href="http://php.net/foo.php"> </a>
006- <a href="bad://php.net/foo.php"> </a>
007- <a href="//www.php.net/foo.php"> </a>
008-
009- <form method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </form>
010- <form action="./foo.php" method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </a>
011- <form action="//php.net/bar.php" method="get"> </a>
012- <form action="http://php.net/bar.php" method="get"> </a>
013- <form action="bad://php.net/bar.php" method="get"> </a>
014- <form action="//www.php.net/bar.php" method="get"> </a>
015-
016- Test use_trans_sid=0
017- <a href="?%3CNAME%3E=%3CVALUE%3E"> </a>
018- <a href="./foo.php?%3CNAME%3E=%3CVALUE%3E"> </a>
019- <a href="//php.net/foo.php"> </a>
020- <a href="http://php.net/foo.php"> </a>
021- <a href="bad://php.net/foo.php"> </a>
022- <a href="//www.php.net/foo.php"> </a>
023-
024- <form method="get"> </form>
025- <form action="./foo.php" method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </a>
026- <form action="//php.net/bar.php" method="get"> </a>
027- <form action="http://php.net/bar.php" method="get"> </a>
028- <form action="bad://php.net/bar.php" method="get"> </a>
029- <form action="//www.php.net/bar.php" method="get"> </a>
030-
031- Test use_trans_sid=1
032- <a href="?%3CNAME%3E=%3CVALUE%3E"> </a>
033- <a href="./foo.php?%3CNAME%3E=%3CVALUE%3E"> </a>
034- <a href="//php.net/foo.php"> </a>
035- <a href="http://php.net/foo.php"> </a>
036- <a href="bad://php.net/foo.php"> </a>
037- <a href="//www.php.net/foo.php"> </a>
038-
039- <form method="get"> </form>
040- <form action="./foo.php" method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </a>
041- <form action="//php.net/bar.php" method="get"> </a>
042- <form action="http://php.net/bar.php" method="get"> </a>
043- <form action="bad://php.net/bar.php" method="get"> </a>
044- <form action="//www.php.net/bar.php" method="get"> </a>