|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-09-25 15:41 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
Description: ------------ Hi, this code says more than 1000 words ;) Reproduce code: --------------- <?php session_start(); if(!isset($_SESSION['xml'])) { $xml = simplexml_load_string('<?xml version="1.0" encoding="UTF-8"?> <blah></blah>'); $_SESSION['xml'] = $xml; echo "Session variable set... Please hit F5"; } else { $wtf = $_SESSION['xml']; if($wtf) echo 'lol'; // This triggers the error } ?> Actual result: -------------- Warning: session_start() [function.session-start]: Node no longer exists in /var/www/phperr.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/phperr.php:2) in /var/www/phperr.php on line 2 Warning: main() [function.main]: Node no longer exists in /var/www/phperr.php on line 14 Warning: Unknown: Node no longer exists in Unknown on line 0