php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24051 2 problems with MCVE extension, with fixes
Submitted: 2003-06-05 21:52 UTC Modified: 2003-06-06 01:17 UTC
From: noahg at wpbc dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4CVS-2003-06-05 (stable) OS: Linux
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: noahg at wpbc dot net
New email:
PHP Version: OS:

 

 [2003-06-05 21:52 UTC] noahg at wpbc dot net
The MCVE extension has two minor problems:

1. It will not compile as a shared library due to ext/mcve/mcve.c line 144:
ZEND_GET_MODULE(mcve)
should be:
ZEND_GET_MODULE(php_mcve)

2. The test is broken due to ext/mcve/tests/001.phpt line 4:
if (!extension_loaded("MCVE")) print "skip";
should be:
if (!extension_loaded("mcve")) print "skip";

I'm working on a very slow machine and cannot follow the patch instructions... I hope this is enough for someone to fix the problem / submit a patch. If this is the wrong place to submit this problem, let me know.

Thanks,
Noah Gintis.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-06 01:17 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 15:01:34 2025 UTC