Date: 11/27/00
- Next message: Andi Gutmans: "Re: [PHP-DEV] Passing by reference"
- Previous message: php4 <email protected>: "RE: [PHP-DEV] New Site"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: maande10 <email protected>
Operating system: Win2000
PHP version: 4.0.3pl1
PHP Bug Type: Date/time related
Bug description: Date function crashes PHP with specific format strings
<?php
printf("%s<br>", date("l, F dS, Y: g:i A T"));
?>
That crashes PHP.
<?php
printf("%s<br>", date("l, F dS, Y g:i A T"));
?>
That doesn't crash PHP. Notice that there is no colon after the "Y" in this one.
PHP will also crash in this case:
<?php
printf("%s<br>", date("l, F dS, Y"));
printf("%s<br>", date("g:i A T"));
?>
I'm using the CGI executable version of PHP Win32 (downloaded as a binary from www.php.net) on
Apache version 1.3 Win32.
-- Edit Bug report at: http://bugs.php.net/?id=8000&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP-DEV] Passing by reference"
- Previous message: php4 <email protected>: "RE: [PHP-DEV] New Site"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

