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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bjoern at baer dot main dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

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