php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57007 PHP File Compiled Incorrectly
Submitted: 2006-05-09 12:35 UTC Modified: 2009-02-16 20:27 UTC
From: shawn at digitalpoint dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 4.3.11 OS: Mac OS X Server 10.3.8
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: shawn at digitalpoint dot com
New email:
PHP Version: OS:

 

 [2006-05-09 12:35 UTC] shawn at digitalpoint dot com
Description:
------------
It's only happened once, but it's a little scary considering 
it caused a fatal error for the page (without a chance of 
recovering on it's own).

When a script was run, it threw an error about a call to an 
undefined function "impkode" on a certain line.  I checked 
the file, and there was no imkode() function, but there was 
an implode() function.

The PHP file itself was not edited and the file system shows 
it not being edited in over 6 months.

The only thing I did to fix it was the "Clear opcode Cache" 
function in apc.php

Might not be a bad idea to do a sanity check on the 
compilation (even as an optional parameter).  Like maybe 
compile PHP files twice to make sure they the same both 
times or something.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-13 09:39 UTC] gopalv82 at yahoo dot com
Is this on a PPC64 or a 32 bit ppc ?
 [2006-05-15 01:08 UTC] shawn at digitalpoint dot com
64 bit PPC (Xserve, dual 2.3Ghz G5 processor), but running Mac 
OS X Server 10.3 (10.4 is the OS version that supports 64-bit 
apps).
 [2006-05-15 16:57 UTC] gopalv82 at yahoo dot com
Could you run the following test case on your machine and tell me ?

http://t3.dotgnu.info/code/apc_align_test.c
 [2006-07-27 11:25 UTC] gopalv82 at yahoo dot com
Please retest the same scenario on the current CVS HEAD and confirm whether the bug is recurring.
 [2009-02-16 20:27 UTC] shire@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 06:01:29 2024 UTC