[PHP] Re: Bug in array_key_exist?

2008-08-26 Thread Korgan
Error reporting is set on E_ALL notice: it change value if I add the item which isnt in array Lupus Michaelis wrote: Korgan a écrit : public function addXXX($id, $count) { $count = (int)$cout; Try to work with error_reporting set to E_ALL ;) session_start(); var_dump($_SES

[PHP] Re: Bug in array_key_exist?

2008-08-26 Thread Lupus Michaelis
Korgan a écrit : public function addXXX($id, $count) { $count = (int)$cout; Try to work with error_reporting set to E_ALL ;) session_start(); var_dump($_SESSION['XX']); /** A **/ If XX is a right value for a variable name, they are no problem. -- Mickaël Wolff aka Lupus