php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51494 error_get_last shows error in apache ini
Submitted: 2010-04-07 13:24 UTC Modified: 2010-04-07 13:38 UTC
From: czarnowski at seitenreport dot info Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.3.2 OS: Ubuntu
Private report: No CVE-ID: None
 [2010-04-07 13:24 UTC] czarnowski at seitenreport dot info
Description:
------------
var_dump(error_get_last());

shows a deprecated from an apache ini file. Is this a bug or a feature ?

array(4) {
  ["type"]=>

  int(8192)
  ["message"]=>
  string(93) "Comments starting with '#' are deprecated in /etc/php5/apache2filter/conf.d/idn.ini on line 2"
  ["file"]=>
  string(7) "Unknown"
  ["line"]=>
  int(0)

Linux jan-desktop 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 

PHP Version 5.3.2-0.dotdeb.1

error_reporting	32767



Test script:
---------------
<?php
var_dump(error_get_last());
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-07 13:38 UTC] johannes@php.net
-Status: Open +Status: Bogus
 [2010-04-07 13:38 UTC] johannes@php.net
error_get_last() is supposed to give you the last error and that's what happens.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC