Mantis - Quercus
Viewing Issue Advanced Details
3971 minor always 03-28-10 13:42 10-07-10 10:41
klakegg  
domdorn  
normal  
resolved 4.0.11  
unable to reproduce  
none    
none  
0003971: Variable $_SESSION doesn't exists before session_start()
Unlike official PHP, the variable $_SESSION is not set before calling session_start().

This script gives "true" in PHP, "false" in Quercus.

<?php
echo isset($_SESSION) ? "true" : "false";
?>

Detected while testing packacking of phpMyAdmin on Glassfish 3.

Notes
(0004783)
domdorn   
10-07-10 10:41   
not reproducable under quercus 4.0.11 and
PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010 13:49:46)

script returns false in both environments.