PHP 4.0 Bug #8694 Updated: Date function core dumps with escaped chars

From: Date: Sun, 14 Jan 2001 05:40:16 +0000
Subject: PHP 4.0 Bug #8694 Updated: Date function core dumps with escaped chars
Groups: php.dev 
Request: Send a blank email to php-dev+get-44038@lists.php.net to get a copy of this message
ID: 8694 Updated by: david Reported By: dirk@rackspace.com Old-Status: Analyzed Status: Closed Bug Type: Date/time related Assigned To: Comments: Fixed in CVS. Note also that "\t" produces a tab character. You probably want to use '\t' with single quotes instead. Or even better, date("m d")." of the week ".date("M F Y"); Previous Comments: --------------------------------------------------------------------------- [2001-01-13 23:54:02] rasmus@php.net Unable to reproduce in current CVS - perhaps fixed. Try a snapshot from snaps.php.net please. --------------------------------------------------------------------------- [2001-01-13 22:41:07] dirk@rackspace.com <? $stamp=time(); print(date("m d of the week M F Y")); ?> put the above code snippet in a file called test.php - run the php cgi from the command line php -q test.php And it will core remove the of the week and it works fine This used to work before 4.0.4 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8694

« previous php.dev (#44038) next »