PHP Classes

class does not work in PHP 5.3.8

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  class does not work in PHP 5.3.8  >  (Un) Subscribe thread alerts  
Subject:class does not work in PHP 5.3.8
Summary:I updated my PHP from 5.2.17 to 5.3.8, and this class broke.
Messages:4
Author:Chris Fortune
Date:2011-11-12 07:23:49
Update:2011-11-16 03:20:55
 

  1. class does not work in PHP 5.3.8   Reply   Report abuse  
Picture of Chris Fortune Chris Fortune - 2011-11-12 07:23:49
In PHP 5.3.8, this class returns an empty result for the body.

  2. Re: class does not work in PHP 5.3.8   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-11-12 09:06:31 - In reply to message 1 from Chris Fortune
I have just tried it here and it works well.

Are you trying the example script? Couldn't that be because of the SkipBody parameter is passed to the Decode function?

  3. Re: class does not work in PHP 5.3.8   Reply   Report abuse  
Picture of Chris Fortune Chris Fortune - 2011-11-16 00:30:09 - In reply to message 2 from Manuel Lemos
Hi Manuel,

No, it's not a test, this is a working installation. The only difference was the php version. It definately works in PHP5.1.7, but breaks in PHP5.3.8. My OS is 32bit CentOS.

thanks,
CHris

  4. Re: class does not work in PHP 5.3.8   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-11-16 03:20:55 - In reply to message 3 from Chris Fortune
Did you try the test.php script that is inside the test directory to see if any tests are failed?

Maybe you stumbled into a bug that only affects specific types of messages. If so, can you upload a sample message that exhibits the problem and tell me what happens, so I can try to reproduce the problem?