PHP 4.0 Bug #8694: Date function core dumps with escaped chars
| From: | dirk at rackspace dot com | Date: | Sun, 14 Jan 2001 03:41:08 +0000 |
| Subject: | PHP 4.0 Bug #8694: Date function core dumps with escaped chars | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44030@lists.php.net to get a copy of this message | ||
From: dirk@rackspace.com
Operating system: Red Hat 6.2
PHP version: 4.0.4pl1
PHP Bug Type: Date/time related
Bug description: Date function core dumps with escaped chars
<?
$stamp=time();
print(date("m d \o\f \t\h\e \w\e\e\k 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 \o\f \t\h\e \w\e\e\k and it works fine
This used to work before 4.0.4
--
Edit Bug report at: http://bugs.php.net/?id=8694&edit=1