[wp-trac] Re: [WordPress Trac] #3887: After upgrading to php-5.2.1 i get a random error in server-log mentioning formatting.php

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 29 23:54:45 GMT 2007


#3887: After upgrading to php-5.2.1 i get a random error in server-log mentioning
formatting.php
-------------------------------------+--------------------------------------
 Reporter:  overrider88              |        Owner:  anonymous
     Type:  defect                   |       Status:  closed   
 Priority:  low                      |    Milestone:  2.2      
Component:  General                  |      Version:  2.1.1    
 Severity:  normal                   |   Resolution:  fixed    
 Keywords:  formatting.php php5.2.1  |  
-------------------------------------+--------------------------------------
Changes (by abtime):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 This has been resolved as bogus, in my opinion.
 It turned out the php5-pcre port on FreeBSD had some library compatibility
 problems (whatsoever), which would turn up in rare circumstances when
 using pcre with utf-8 strings, escpecially with lookbehind or readahead
 assertions.
 My workaround was to use nl2br for that part in the pee-function that uses
 lookbehind for inserting <br />s. But after all, recompiling a newer fixed
 port version of php5-pcre made the problems go away.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3887#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list