php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15614 get_defined_constants() crashs
Submitted: 2002-02-19 03:24 UTC Modified: 2002-02-19 03:38 UTC
From: bjoern at baer dot main dot de Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.1.1 OS: Windows NT 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 - 3 = ?
Subscribe to this entry?

 
 [2002-02-19 03:24 UTC] bjoern at baer dot main dot de
PHP 4.1.1 crashs when print_r'ing get_defined_constants():

<?php
  define("DBHOST","localhost");

  $a = get_defined_constants();
?>

Same problem with:

<?php
  define("DBHOST","localhost");

  print_r(get_defined_constants());
?>

Dr. Watson gets up.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-19 03:38 UTC] mfischer@php.net
This bug has been fixed in CVS.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 26 20:01:25 2020 UTC