Hi list,

I saw this interesting bug: https://bugs.php.net/bug.php?id=68063

Basically, if `session_id('')` is run before `session_start()`, weird
things happen.

The bug reporter proposes 2 ways to fix this:

- `session_start()` should silently fix the situation
- or `session_start()` should noisely fail

Both solutions look fine to me, but I'm not sure what PHP should do. Should
it be resilient and silently fix the situation?

Regards,

*Florian Margaine*

Reply via email to