php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58007 Undefined package constants
Submitted: 2008-01-13 10:41 UTC Modified: 2015-02-26 07:37 UTC
From: pecl+apd at pewasoft dot com Assigned:
Status: Suspended Package: apd (PECL)
PHP Version: Irrelevant OS: RHEL 4.3, WinXP SP2
Private report: No CVE-ID: None
 [2008-01-13 10:41 UTC] pecl+apd at pewasoft dot com
Description:
------------
The documented APD constants are not defined anymore.

Reproduce code:
---------------
<?php
if (extension_loaded('APD')) {
   echo(FUNCTION_TRACE  );
   echo(ARGS_TRACE      );
   echo(ASSIGNMENT_TRACE);
   echo(STATEMENT_TRACE );
   echo(MEMORY_TRACE    );
   echo(TIMING_TRACE    );
   echo(SUMMARY_TRACE   );
   echo(ERROR_TRACE     );
   echo(PROF_TRACE      );
   echo(APD_VERSION     );
}
?>


Expected result:
----------------
1
2
4
8
16
32
64
128
256
1.0.2-dev


Actual result:
--------------
Notice: Use of undefined constant FUNCTION_TRACE - assumed 'FUNCTION_TRACE' in ../phpLib.php on line 12
FUNCTION_TRACE
Notice: Use of undefined constant ARGS_TRACE - assumed 'ARGS_TRACE' in in ../phpLib.php on line 13
ARGS_TRACE
...
...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-26 07:37 UTC] krakjoe@php.net
-Status: Open +Status: Suspended
 [2015-02-26 07:37 UTC] krakjoe@php.net
APD hasn't had a release in 10 years, this means it's source code is way out of sync with modern PHP.

I'm going to mark this bug as suspended, the report can still be found if a maintainer for APD comes forward.

Sorry about the wait.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 01 18:01:29 2024 UTC