3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 8.4.1 - 8.4.5
Deprecated: ini_set(): Disabling session.use_only_cookies INI setting is deprecated in /in/U96sK on line 3 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /in/U96sK on line 4 Warning: session_start(): Session cache limiter cannot be sent after headers have already been sent (output started at /in/U96sK:3) in /in/U96sK on line 6 <p><a href="index.php">Click This Anchor Tag!</a></p> <p><a href="#place">Internal link</a></p> <p><a href="index.php#place">External link with anchor</a></p>
Output for 5.2.3 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.30, 7.0.0 - 7.0.31, 7.1.9 - 7.1.33, 7.2.6 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.32, 8.2.0 - 8.2.28, 8.3.0 - 8.3.19
<p><a href="index.php?PHPSESSID=sessionidhere">Click This Anchor Tag!</a></p> <p><a href="#place">Internal link</a></p> <p><a href="index.php?PHPSESSID=sessionidhere#place">External link with anchor</a></p>
Output for 7.1.0 - 7.1.8, 7.2.0 - 7.2.5
<p><a href="index.php?PHPSESSID=sessionidhere">Click This Anchor Tag!</a></p> <p><a href="#place/?PHPSESSID=sessionidhere">Internal link</a></p> <p><a href="index.php?PHPSESSID=sessionidhere#place">External link with anchor</a></p>
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.2
Warning: session_start(): Cannot send session cache limiter - headers already sent in /in/U96sK on line 6 <p><a href="index.php?PHPSESSID=sessionidhere">Click This Anchor Tag!</a></p> <p><a href="#place">Internal link</a></p> <p><a href="index.php?PHPSESSID=sessionidhere#place">External link with anchor</a></p>
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Warning: session_start(): Cannot send session cache limiter - headers already sent in /in/U96sK on line 6 <p><a href="index.php">Click This Anchor Tag!</a></p> <p><a href="#place">Internal link</a></p> <p><a href="index.php#place">External link with anchor</a></p>
Output for 4.3.0 - 4.3.1
Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cache limiter - headers already sent in /in/U96sK on line 6 <p><a href="index.php">Click This Anchor Tag!</a></p> <p><a href="#place">Internal link</a></p> <p><a href="index.php#place">External link with anchor</a></p>

preferences:
159.04 ms | 419 KiB | 5 Q