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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pecl+apd at pewasoft dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 02 20:03:34 2021 UTC