Subject: pkg/36332: Problem with "count_days_in_month" function in PHP4-module (fastcgi)
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 05/14/2007 21:05:01
>Number:         36332
>Category:       pkg
>Synopsis:       Problem with "count_days_in_month" function in PHP4-module (fastcgi)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 14 21:05:00 +0000 2007
>Originator:     Zbigniew Baniewski
>Release:        2.0 (env) + 2.0.2 kernel
NetBSD debian. 2.0.2 NetBSD 2.0.2 (MYKERNEL) #0: Mon May 14 00:39:23 CEST 2007  root@debian.:/usr/src/sys/arch/i386/compile/MYKERNEL i386

The function "cal_days_in_month" in PHP4 (fastcgi) module from 2007Q1 is broken. When the line containing the function has been executed, the PHP script immediately ceases any further output. Perhaps the other calendar related function are broken too?
Try something like:

echo "Hey!";
$days_in_month = cal_days_in_month(0, 3, 2007);
echo "Hallo again!"
?>'ll see just "Hey!" - and not the second greeting.