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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 03 05:01:29 2024 UTC