<?# - File
error.php
//session_start();
session_register('');// comment this line and you'll
see no error description
error_reporting(0);// comment this line to
see the error description, if line above is commented
echo"
... Part of the output of this page . . . rest is given by foreach()";
$e='data|a:3:{i:0;s:4:"This";i:1;s:3:"and";i:2;s:4:"That";}';// ...
what's this?
$d=session_decode("$e");// we pass to this function the value of "$e"
foreach($data as $key => $value) {echo $key.' - '.$value.'<br>';}
// $d argument must be VALID [$d=""
→error] → ↓
// ... if session_start() or session_register("") are not active, then session_decode() won't also be active and so INVALID
?>