[php-maint] Bug#714600: php5-intl: IntlDateFormatter::format fails after upgrade

Giacomo Mirabassi giacomo at mirabassi.it
Mon Jul 1 08:55:51 UTC 2013


Package: php5-intl
Version: 5.5.0+dfsg-4
Severity: normal

Dear Maintainer,

After moving php to the current version I get a "Call to a member
function format() on a non-object " where the "non-object" is a
IntlDateFormatter.

The problem can be confirmed by a simple test:

 $formatter = new \IntlDateFormatter();
 if($formatter === null) { echo 'beep' }

output: 'beep'



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-intl depends on:
ii  dpkg                                   1.16.10
ii  libapache2-mod-php5 [phpapi-20121212]  5.5.0+dfsg-4
ii  libc6                                  2.17-5
ii  libgcc1                                1:4.8.1-4
ii  libicu48                               4.8.1.1-12
ii  php5-cli [phpapi-20121212]             5.5.0+dfsg-4
ii  php5-common                            5.5.0+dfsg-4
ii  ucf                                    3.0027

php5-intl recommends no packages.

php5-intl suggests no packages.

-- no debconf information



More information about the pkg-php-maint mailing list