php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51612 array_push($_SESSION) does not work
Submitted: 2010-04-20 10:10 UTC Modified: 2010-04-21 20:54 UTC
From: php dot workspace at gmail dot com Assigned:
Status: Not a bug Package: Arrays related
PHP Version: 5.3.2 OS: Windows
Private report: No CVE-ID: None
 [2010-04-20 10:10 UTC] php dot workspace at gmail dot com
Description:
------------
<?php
  error_reporting(-1);
  session_start();
  array_push($_SESSION, 'foo');
?>

Test script:
---------------
Notice: Unknown: Skipping numeric key 0 in Unknown on line 0

Expected result:
----------------
just push that "foo" into _SESSION


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-21 20:54 UTC] pajoye@php.net
-Status: Open +Status: Bogus
 [2010-04-21 20:54 UTC] pajoye@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC